/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 …]
|
D | browser_commands_unittest.cc | 94 browser()->command_updater()->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, true); in TEST_F()
|
/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) {
|
D | star_decoration.h | 19 explicit StarDecoration(CommandUpdater* command_updater);
|
D | location_bar_view_mac.mm | 16 #include "chrome/browser/command_updater.h" 71 CommandUpdater* command_updater, 76 command_updater, field)), 77 command_updater_(command_updater), 87 star_decoration_(new StarDecoration(command_updater)),
|
D | location_bar_view_mac.h | 50 CommandUpdater* 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()
|
D | star_view.h | 22 explicit StarView(CommandUpdater* command_updater);
|
D | location_bar_view.h | 111 CommandUpdater* command_updater,
|
D | location_bar_view.cc | 99 CommandUpdater* command_updater, in LocationBarView() argument 104 command_updater_(command_updater), in LocationBarView()
|
/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/chrome/browser/ui/cocoa/toolbar/ |
D | toolbar_controller_unittest.mm | 52 CommandUpdater* updater = browser->command_updater(); 60 commands:browser->command_updater() 91 CommandUpdater* updater = helper_.browser()->command_updater(); 133 CommandUpdater* updater = helper_.browser()->command_updater();
|
/external/chromium/chrome/browser/download/ |
D | save_page_browsertest.cc | 146 ASSERT_TRUE(browser()->command_updater()->SupportsCommand(IDC_SAVE_PAGE)); in IN_PROC_BROWSER_TEST_F() 147 EXPECT_FALSE(browser()->command_updater()->IsCommandEnabled(IDC_SAVE_PAGE)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/ui/toolbar/ |
D | wrench_menu_model.cc | 108 bool enabled = browser_->command_updater()->IsCommandEnabled(command_id); in IsCommandIdEnabled() 113 enabled &= browser_->command_updater()->IsCommandEnabled(IDC_ENCODING_MENU); in IsCommandIdEnabled() 324 return browser_->command_updater()->IsCommandEnabled(command_id); in IsCommandIdEnabled()
|
/external/chromium/chrome/browser/ui/views/ |
D | toolbar_view.cc | 98 browser_->command_updater()->AddCommandObserver(IDC_BACK, this); in ToolbarView() 99 browser_->command_updater()->AddCommandObserver(IDC_FORWARD, this); in ToolbarView() 100 browser_->command_updater()->AddCommandObserver(IDC_HOME, this); in ToolbarView() 154 location_bar_ = new LocationBarView(profile, browser_->command_updater(), in Init()
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_edit_view_gtk.h | 74 CommandUpdater* command_updater, 159 CommandUpdater* command_updater,
|
D | autocomplete_edit_view_mac.h | 33 CommandUpdater* command_updater,
|
D | autocomplete_edit_view_views.h | 47 CommandUpdater* command_updater,
|
D | autocomplete_edit_view_views.cc | 115 CommandUpdater* command_updater, in AutocompleteEditViewViews() argument 122 command_updater_(command_updater), in AutocompleteEditViewViews()
|
D | autocomplete_edit_view_gtk.cc | 157 CommandUpdater* command_updater, in AutocompleteEditViewGtk() argument 177 command_updater_(command_updater), in AutocompleteEditViewGtk() 884 CommandUpdater* command_updater, in Create() argument 892 command_updater, in Create() 903 command_updater, in Create()
|
D | autocomplete_edit_view_win.h | 71 CommandUpdater* command_updater,
|
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/ |
D | wrench_menu_controller_unittest.mm | 49 commands:browser->command_updater()
|
/external/chromium/chrome/browser/automation/ |
D | testing_automation_provider.cc | 608 if (browser && browser->command_updater()->IsCommandEnabled(IDC_RELOAD)) { in Reload() 760 if (browser->command_updater()->SupportsCommand(command) && in ExecuteBrowserCommandAsync() 761 browser->command_updater()->IsCommandEnabled(command)) { in ExecuteBrowserCommandAsync() 780 if (browser->command_updater()->SupportsCommand(command) && in ExecuteBrowserCommand() 781 browser->command_updater()->IsCommandEnabled(command)) { in ExecuteBrowserCommand() 1445 browser->command_updater()->IsCommandEnabled(message_num); in IsMenuCommandEnabled() 1494 if (!browser->command_updater()->IsCommandEnabled(IDC_SAVE_PAGE)) { in SavePage() 1947 if (browser && browser->command_updater()->IsCommandEnabled(IDC_BACK)) { in GoBackBlockUntilNavigationsComplete() 1965 if (browser && browser->command_updater()->IsCommandEnabled(IDC_FORWARD)) { in GoForwardBlockUntilNavigationsComplete() 5428 if (browser->command_updater()->IsCommandEnabled(IDC_ENCODING_MENU)) in GetPageCurrentEncoding()
|