/external/chromium/chrome/browser/ |
H A D | command_updater_unittest.cc | 5 #include "chrome/browser/command_updater.h" 35 CommandUpdater command_updater(&handler); 38 EXPECT_FALSE(command_updater.SupportsCommand(0)); 39 EXPECT_FALSE(command_updater.IsCommandEnabled(0)); 42 command_updater.ExecuteCommand(0); 45 command_updater.UpdateCommandEnabled(1, true); 46 EXPECT_TRUE(command_updater.SupportsCommand(1)); 47 EXPECT_TRUE(command_updater.IsCommandEnabled(1)); 48 command_updater.ExecuteCommand(1); 51 command_updater [all...] |
H A D | browser_browsertest.cc | 331 CommandUpdater* command_updater = browser()->command_updater(); local 338 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); 342 CommandUpdater* command_updater = browser()->command_updater(); local 348 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); 352 CommandUpdater* command_updater = browser()->command_updater(); local 359 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); 363 CommandUpdater* command_updater local 374 CommandUpdater* command_updater = browser()->command_updater(); local [all...] |
H A D | browser_commands_unittest.cc | 94 browser()->command_updater()->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, true);
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
H A D | star_decoration.h | 19 explicit StarDecoration(CommandUpdater* command_updater);
|
H A D | location_bar_view_mac.h | 50 CommandUpdater* command_updater,
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
H A D | star_view.cc | 9 #include "chrome/browser/command_updater.h" 18 StarView::StarView(CommandUpdater* command_updater) argument 19 : command_updater_(command_updater) {
|
H A D | star_view.h | 22 explicit StarView(CommandUpdater* command_updater);
|
H A D | location_bar_view.h | 111 CommandUpdater* command_updater,
|
H A D | location_bar_view.cc | 99 CommandUpdater* command_updater, 104 command_updater_(command_updater), 98 LocationBarView(Profile* profile, CommandUpdater* command_updater, ToolbarModel* model, Delegate* delegate, Mode mode) argument
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | browser_toolbar_gtk.cc | 93 browser_->command_updater()->AddCommandObserver(IDC_BACK, this); 94 browser_->command_updater()->AddCommandObserver(IDC_FORWARD, this); 95 browser_->command_updater()->AddCommandObserver(IDC_HOME, this); 96 browser_->command_updater()->AddCommandObserver(IDC_BOOKMARK_PAGE, this); 107 browser_->command_updater()->RemoveCommandObserver(IDC_BACK, this); 108 browser_->command_updater()->RemoveCommandObserver(IDC_FORWARD, this); 109 browser_->command_updater()->RemoveCommandObserver(IDC_HOME, this); 110 browser_->command_updater()->RemoveCommandObserver(IDC_BOOKMARK_PAGE, this);
|
H A D | global_menu_bar.cc | 155 browser_->command_updater()->IsCommandEnabled(it->first)); 170 browser_->command_updater()->AddCommandObserver(it->first, this); 184 browser_->command_updater()->RemoveCommandObserver(it->first, this);
|
/external/chromium/chrome/browser/download/ |
H A D | save_page_browsertest.cc | 146 ASSERT_TRUE(browser()->command_updater()->SupportsCommand(IDC_SAVE_PAGE)); 147 EXPECT_FALSE(browser()->command_updater()->IsCommandEnabled(IDC_SAVE_PAGE));
|
/external/chromium/chrome/browser/ui/toolbar/ |
H A D | wrench_menu_model.cc | 108 bool enabled = browser_->command_updater()->IsCommandEnabled(command_id); 113 enabled &= browser_->command_updater()->IsCommandEnabled(IDC_ENCODING_MENU); 324 return browser_->command_updater()->IsCommandEnabled(command_id);
|
/external/chromium/chrome/browser/autocomplete/ |
H A D | autocomplete_edit_view_mac.h | 33 CommandUpdater* command_updater,
|
H A D | autocomplete_edit_view_views.h | 47 CommandUpdater* command_updater,
|
H A D | autocomplete_edit_view_gtk.h | 74 CommandUpdater* command_updater, 159 CommandUpdater* command_updater,
|
H A D | autocomplete_edit_view_views.cc | 14 #include "chrome/browser/command_updater.h" 115 CommandUpdater* command_updater, 122 command_updater_(command_updater), 111 AutocompleteEditViewViews( AutocompleteEditController* controller, ToolbarModel* toolbar_model, Profile* profile, CommandUpdater* command_updater, bool popup_window_mode, const views::View* location_bar) argument
|
H A D | autocomplete_edit_view_gtk.cc | 20 #include "chrome/browser/command_updater.h" 157 CommandUpdater* command_updater, 177 command_updater_(command_updater), 884 CommandUpdater* command_updater, 892 command_updater, 903 command_updater, 153 AutocompleteEditViewGtk( AutocompleteEditController* controller, ToolbarModel* toolbar_model, Profile* profile, CommandUpdater* command_updater, bool popup_window_mode, views::View* location_bar) argument 880 Create( AutocompleteEditController* controller, ToolbarModel* toolbar_model, Profile* profile, CommandUpdater* command_updater, bool popup_window_mode, views::View* location_bar) argument
|
H A D | autocomplete_edit_view_win.h | 71 CommandUpdater* command_updater,
|
H A D | autocomplete_edit_view_win.cc | 28 #include "chrome/browser/command_updater.h" 407 CommandUpdater* command_updater, 416 command_updater_(command_updater), 400 AutocompleteEditViewWin( const gfx::Font& font, AutocompleteEditController* controller, ToolbarModel* toolbar_model, LocationBarView* parent_view, HWND hwnd, Profile* profile, CommandUpdater* command_updater, bool popup_window_mode, const views::View* location_bar) argument
|
/external/chromium/chrome/browser/ui/views/ |
H A D | toolbar_view.cc | 98 browser_->command_updater()->AddCommandObserver(IDC_BACK, this); 99 browser_->command_updater()->AddCommandObserver(IDC_FORWARD, this); 100 browser_->command_updater()->AddCommandObserver(IDC_HOME, this); 154 location_bar_ = new LocationBarView(profile, browser_->command_updater(),
|
/external/chromium/chrome/browser/automation/ |
H A D | testing_automation_provider.cc | 608 if (browser && browser->command_updater()->IsCommandEnabled(IDC_RELOAD)) { 760 if (browser->command_updater()->SupportsCommand(command) && 761 browser->command_updater()->IsCommandEnabled(command)) { 780 if (browser->command_updater()->SupportsCommand(command) && 781 browser->command_updater()->IsCommandEnabled(command)) { 1445 browser->command_updater()->IsCommandEnabled(message_num); 1494 if (!browser->command_updater()->IsCommandEnabled(IDC_SAVE_PAGE)) { 1947 if (browser && browser->command_updater()->IsCommandEnabled(IDC_BACK)) { 1965 if (browser && browser->command_updater()->IsCommandEnabled(IDC_FORWARD)) { 5428 if (browser->command_updater() [all...] |
H A D | automation_provider.cc | 614 browser->command_updater()->IsCommandEnabled(IDC_ENCODING_MENU)) {
|
/external/chromium/chrome/browser/ui/ |
H A D | browser.h | 20 #include "chrome/browser/command_updater.h" 204 CommandUpdater* command_updater() { return &command_updater_; } function in class:Browser
|
/external/chromium/chrome/browser/ssl/ |
H A D | ssl_browser_tests.cc | 420 EXPECT_FALSE(browser()->command_updater()->IsCommandEnabled(IDC_BACK));
|