Searched refs:UpdateCommandEnabled (Results 1 – 11 of 11) sorted by relevance
/external/chromium/chrome/browser/ |
D | command_updater_unittest.cc | 45 command_updater.UpdateCommandEnabled(1, true); in TEST_F() 51 command_updater.UpdateCommandEnabled(2, false); in TEST_F() 67 command_updater.UpdateCommandEnabled(2, true); in TEST_F() 69 command_updater.UpdateCommandEnabled(2, false); in TEST_F() 74 command_updater.UpdateCommandEnabled(2, true); in TEST_F() 94 command_updater.UpdateCommandEnabled(1, true); in TEST_F() 95 command_updater.UpdateCommandEnabled(2, true); in TEST_F() 96 command_updater.UpdateCommandEnabled(3, true); in TEST_F() 102 command_updater.UpdateCommandEnabled(1, false); in TEST_F() 103 command_updater.UpdateCommandEnabled(2, false); in TEST_F() [all …]
|
D | command_updater.h | 76 void UpdateCommandEnabled(int id, bool state);
|
D | app_controller_mac.mm | 944 menuState_->UpdateCommandEnabled(IDC_NEW_TAB, true); 945 menuState_->UpdateCommandEnabled(IDC_NEW_WINDOW, true); 946 menuState_->UpdateCommandEnabled(IDC_NEW_INCOGNITO_WINDOW, true); 947 menuState_->UpdateCommandEnabled(IDC_OPEN_FILE, true); 948 menuState_->UpdateCommandEnabled(IDC_CLEAR_BROWSING_DATA, true); 949 menuState_->UpdateCommandEnabled(IDC_RESTORE_TAB, false); 950 menuState_->UpdateCommandEnabled(IDC_FOCUS_LOCATION, true); 951 menuState_->UpdateCommandEnabled(IDC_FOCUS_SEARCH, true); 952 menuState_->UpdateCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER, true); 953 menuState_->UpdateCommandEnabled(IDC_SHOW_HISTORY, true); [all …]
|
D | command_updater.cc | 51 void CommandUpdater::UpdateCommandEnabled(int id, bool enabled) { in UpdateCommandEnabled() function in CommandUpdater
|
D | browser_commands_unittest.cc | 94 browser()->command_updater()->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, true); in TEST_F()
|
/external/chromium/chrome/browser/ui/ |
D | browser.cc | 1158 command_updater_.UpdateCommandEnabled(IDC_OPEN_CURRENT_URL, show_main_ui); in UpdateCommandsForFullscreenMode() 1161 command_updater_.UpdateCommandEnabled(IDC_SHOW_AS_TAB, in UpdateCommandsForFullscreenMode() 1165 command_updater_.UpdateCommandEnabled(IDC_FOCUS_TOOLBAR, show_main_ui); in UpdateCommandsForFullscreenMode() 1166 command_updater_.UpdateCommandEnabled(IDC_FOCUS_LOCATION, show_main_ui); in UpdateCommandsForFullscreenMode() 1167 command_updater_.UpdateCommandEnabled(IDC_FOCUS_SEARCH, show_main_ui); in UpdateCommandsForFullscreenMode() 1168 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode() 1170 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode() 1172 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode() 1174 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode() 1176 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode() [all …]
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | command_observer_bridge_unittest.mm | 69 updater_->UpdateCommandEnabled(1, false); 73 updater_->UpdateCommandEnabled(2, false); 77 updater_->UpdateCommandEnabled(1, true); 83 updater_->UpdateCommandEnabled(3, false);
|
/external/chromium/chrome/browser/ui/cocoa/toolbar/ |
D | toolbar_controller_unittest.mm | 55 updater->UpdateCommandEnabled(IDC_BACK, false); 56 updater->UpdateCommandEnabled(IDC_FORWARD, false); 136 updater->UpdateCommandEnabled(IDC_BACK, true); 137 updater->UpdateCommandEnabled(IDC_FORWARD, true);
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
D | location_bar_view.cc | 275 command_updater_->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, star_enabled); in Update()
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | location_bar_view_mac.mm | 210 command_updater_->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, star_enabled);
|
/external/chromium/chrome/browser/ui/gtk/ |
D | location_bar_view_gtk.cc | 1144 command_updater_->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, star_enabled); in UpdateStarIcon()
|