/external/chromium/chrome/browser/ |
D | command_updater_unittest.cc | 35 CommandUpdater command_updater(&handler); in TEST_F() local 38 EXPECT_FALSE(command_updater.SupportsCommand(0)); in TEST_F() 39 EXPECT_FALSE(command_updater.IsCommandEnabled(0)); in TEST_F() 42 command_updater.ExecuteCommand(0); in TEST_F() 45 command_updater.UpdateCommandEnabled(1, true); in TEST_F() 46 EXPECT_TRUE(command_updater.SupportsCommand(1)); in TEST_F() 47 EXPECT_TRUE(command_updater.IsCommandEnabled(1)); in TEST_F() 48 command_updater.ExecuteCommand(1); in TEST_F() 51 command_updater.UpdateCommandEnabled(2, false); in TEST_F() 52 EXPECT_TRUE(command_updater.SupportsCommand(2)); in TEST_F() [all …]
|
D | browser_browsertest.cc | 331 CommandUpdater* command_updater = browser()->command_updater(); in IN_PROC_BROWSER_TEST_F() local 338 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 342 CommandUpdater* command_updater = browser()->command_updater(); in IN_PROC_BROWSER_TEST_F() local 348 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 352 CommandUpdater* command_updater = browser()->command_updater(); in IN_PROC_BROWSER_TEST_F() local 359 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 363 CommandUpdater* command_updater = browser()->command_updater(); in IN_PROC_BROWSER_TEST_F() local 370 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 374 CommandUpdater* command_updater = browser()->command_updater(); in IN_PROC_BROWSER_TEST_F() local 379 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ |
D | command_updater_unittest.cc | 36 CommandUpdater command_updater(&delegate); in TEST() local 39 EXPECT_FALSE(command_updater.SupportsCommand(0)); in TEST() 40 EXPECT_FALSE(command_updater.IsCommandEnabled(0)); in TEST() 43 command_updater.ExecuteCommand(0); in TEST() 46 command_updater.UpdateCommandEnabled(1, true); in TEST() 47 EXPECT_TRUE(command_updater.SupportsCommand(1)); in TEST() 48 EXPECT_TRUE(command_updater.IsCommandEnabled(1)); in TEST() 49 command_updater.ExecuteCommand(1); in TEST() 52 command_updater.UpdateCommandEnabled(2, false); in TEST() 53 EXPECT_TRUE(command_updater.SupportsCommand(2)); in TEST() [all …]
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_command_controller_unittest.cc | 158 const CommandUpdater* command_updater = command_controller.command_updater(); in TEST_F() local 162 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); in TEST_F() 166 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); in TEST_F() 170 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); in TEST_F() 191 const CommandUpdater* command_updater = command_controller.command_updater(); in TEST_F() local 195 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); in TEST_F() 229 const CommandUpdater* command_updater = command_controller.command_updater(); in TEST_F() local 230 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); in TEST_F() 262 const CommandUpdater* command_updater = command_controller.command_updater(); in TEST_F() local 266 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); in TEST_F() [all …]
|
D | browser_browsertest.cc | 1038 CommandUpdater* command_updater = in IN_PROC_BROWSER_TEST_F() local 1039 browser()->command_controller()->command_updater(); in IN_PROC_BROWSER_TEST_F() 1047 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1051 CommandUpdater* command_updater = in IN_PROC_BROWSER_TEST_F() local 1052 browser()->command_controller()->command_updater(); in IN_PROC_BROWSER_TEST_F() 1058 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1062 CommandUpdater* command_updater = in IN_PROC_BROWSER_TEST_F() local 1063 browser()->command_controller()->command_updater(); in IN_PROC_BROWSER_TEST_F() 1072 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1076 CommandUpdater* command_updater = in IN_PROC_BROWSER_TEST_F() local [all …]
|
D | browser_command_controller.h | 38 CommandUpdater* command_updater() { return &command_updater_; } in command_updater() function 71 static void UpdateOpenFileState(CommandUpdater* command_updater); 76 CommandUpdater* command_updater,
|
D | browser_command_controller.cc | 1028 CommandUpdater* command_updater, in UpdateSharedCommandsForIncognitoAvailability() argument 1032 command_updater->UpdateCommandEnabled( in UpdateSharedCommandsForIncognitoAvailability() 1035 command_updater->UpdateCommandEnabled( in UpdateSharedCommandsForIncognitoAvailability() 1043 command_updater->UpdateCommandEnabled( in UpdateSharedCommandsForIncognitoAvailability() 1049 command_updater->UpdateCommandEnabled(IDC_MANAGE_EXTENSIONS, in UpdateSharedCommandsForIncognitoAvailability() 1052 command_updater->UpdateCommandEnabled(IDC_IMPORT_SETTINGS, command_enabled); in UpdateSharedCommandsForIncognitoAvailability() 1053 command_updater->UpdateCommandEnabled(IDC_OPTIONS, command_enabled); in UpdateSharedCommandsForIncognitoAvailability() 1054 command_updater->UpdateCommandEnabled(IDC_SHOW_SIGNIN, command_enabled); in UpdateSharedCommandsForIncognitoAvailability() 1299 CommandUpdater* command_updater) { in UpdateOpenFileState() argument 1305 command_updater->UpdateCommandEnabled(IDC_OPEN_FILE, enabled); in UpdateOpenFileState()
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | mic_search_decoration.mm | 8 #include "chrome/browser/command_updater.h" 14 MicSearchDecoration::MicSearchDecoration(CommandUpdater* command_updater) 15 : command_updater_(command_updater) {
|
D | star_decoration.mm | 8 #include "chrome/browser/command_updater.h" 24 StarDecoration::StarDecoration(CommandUpdater* command_updater) 25 : command_updater_(command_updater) {
|
D | mic_search_decoration.h | 18 explicit MicSearchDecoration(CommandUpdater* command_updater);
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
D | omnibox_edit_controller.cc | 21 OmniboxEditController::OmniboxEditController(CommandUpdater* command_updater) in OmniboxEditController() argument 22 : command_updater_(command_updater), in OmniboxEditController()
|
D | omnibox_view.h | 59 CommandUpdater* command_updater() { return command_updater_; } in command_updater() function 60 const CommandUpdater* command_updater() const { return command_updater_; } in command_updater() function 259 CommandUpdater* command_updater);
|
D | omnibox_edit_controller.h | 57 explicit OmniboxEditController(CommandUpdater* command_updater); 60 CommandUpdater* command_updater() { return command_updater_; } in command_updater() function
|
D | omnibox_view.cc | 158 CommandUpdater* command_updater) in OmniboxView() argument 160 command_updater_(command_updater) { in OmniboxView()
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | translate_icon_view.cc | 17 TranslateIconView::TranslateIconView(CommandUpdater* command_updater) in TranslateIconView() argument 18 : BubbleIconView(command_updater, IDC_TRANSLATE_PAGE) { in TranslateIconView()
|
D | star_view.cc | 18 StarView::StarView(CommandUpdater* command_updater) in StarView() argument 19 : BubbleIconView(command_updater, IDC_BOOKMARK_PAGE_FROM_STAR) { in StarView()
|
D | bubble_icon_view.cc | 12 BubbleIconView::BubbleIconView(CommandUpdater* command_updater, int command_id) in BubbleIconView() argument 13 : command_updater_(command_updater), in BubbleIconView()
|
D | translate_icon_view.h | 16 explicit TranslateIconView(CommandUpdater* command_updater);
|
D | star_view.h | 15 explicit StarView(CommandUpdater* command_updater);
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | star_decoration.mm | 9 #include "chrome/browser/command_updater.h" 24 StarDecoration::StarDecoration(CommandUpdater* command_updater) 25 : command_updater_(command_updater) {
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
D | star_view.cc | 18 StarView::StarView(CommandUpdater* command_updater) in StarView() argument 19 : command_updater_(command_updater) { in StarView()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | browser_toolbar_gtk.cc | 93 browser_->command_updater()->AddCommandObserver(IDC_BACK, this); in BrowserToolbarGtk() 94 browser_->command_updater()->AddCommandObserver(IDC_FORWARD, this); in BrowserToolbarGtk() 95 browser_->command_updater()->AddCommandObserver(IDC_HOME, this); in BrowserToolbarGtk() 96 browser_->command_updater()->AddCommandObserver(IDC_BOOKMARK_PAGE, this); in BrowserToolbarGtk() 107 browser_->command_updater()->RemoveCommandObserver(IDC_BACK, this); in ~BrowserToolbarGtk() 108 browser_->command_updater()->RemoveCommandObserver(IDC_FORWARD, this); in ~BrowserToolbarGtk() 109 browser_->command_updater()->RemoveCommandObserver(IDC_HOME, this); in ~BrowserToolbarGtk() 110 browser_->command_updater()->RemoveCommandObserver(IDC_BOOKMARK_PAGE, this); in ~BrowserToolbarGtk()
|
D | global_menu_bar.cc | 155 browser_->command_updater()->IsCommandEnabled(it->first)); in GlobalMenuBar() 170 browser_->command_updater()->AddCommandObserver(it->first, this); in GlobalMenuBar() 184 browser_->command_updater()->RemoveCommandObserver(it->first, this); in ~GlobalMenuBar()
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | toolbar_view_browsertest.cc | 38 CommandUpdater* updater = browser->command_controller()->command_updater(); in RunToolbarCycleFocusTest() 106 CommandUpdater* updater = browser()->command_controller()->command_updater(); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/ |
D | toolbar_controller_unittest.mm | 10 #include "chrome/browser/command_updater.h" 59 browser()->command_controller()->command_updater(); 67 initWithCommands:browser()->command_controller()->command_updater() 102 CommandUpdater* updater = browser()->command_controller()->command_updater(); 148 CommandUpdater* updater = browser()->command_controller()->command_updater();
|