Home
last modified time | relevance | path

Searched refs:UpdateCommandEnabled (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/
Dcommand_updater_unittest.cc45 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 …]
Dcommand_updater.h76 void UpdateCommandEnabled(int id, bool state);
Dapp_controller_mac.mm944 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 …]
Dcommand_updater.cc51 void CommandUpdater::UpdateCommandEnabled(int id, bool enabled) { in UpdateCommandEnabled() function in CommandUpdater
Dbrowser_commands_unittest.cc94 browser()->command_updater()->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, true); in TEST_F()
/external/chromium/chrome/browser/ui/
Dbrowser.cc1158 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/
Dcommand_observer_bridge_unittest.mm69 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/
Dtoolbar_controller_unittest.mm55 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/
Dlocation_bar_view.cc275 command_updater_->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, star_enabled); in Update()
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dlocation_bar_view_mac.mm210 command_updater_->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, star_enabled);
/external/chromium/chrome/browser/ui/gtk/
Dlocation_bar_view_gtk.cc1144 command_updater_->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, star_enabled); in UpdateStarIcon()