Searched refs:command_updater (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium/chrome/browser/
H A Dcommand_updater_unittest.cc5 #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 Dbrowser_browsertest.cc331 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 Dbrowser_commands_unittest.cc94 browser()->command_updater()->UpdateCommandEnabled(IDC_BOOKMARK_PAGE, true);
/external/chromium/chrome/browser/ui/cocoa/location_bar/
H A Dstar_decoration.h19 explicit StarDecoration(CommandUpdater* command_updater);
H A Dlocation_bar_view_mac.h50 CommandUpdater* command_updater,
/external/chromium/chrome/browser/ui/views/location_bar/
H A Dstar_view.cc9 #include "chrome/browser/command_updater.h"
18 StarView::StarView(CommandUpdater* command_updater) argument
19 : command_updater_(command_updater) {
H A Dstar_view.h22 explicit StarView(CommandUpdater* command_updater);
H A Dlocation_bar_view.h111 CommandUpdater* command_updater,
H A Dlocation_bar_view.cc99 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 Dbrowser_toolbar_gtk.cc93 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 Dglobal_menu_bar.cc155 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 Dsave_page_browsertest.cc146 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 Dwrench_menu_model.cc108 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 Dautocomplete_edit_view_mac.h33 CommandUpdater* command_updater,
H A Dautocomplete_edit_view_views.h47 CommandUpdater* command_updater,
H A Dautocomplete_edit_view_gtk.h74 CommandUpdater* command_updater,
159 CommandUpdater* command_updater,
H A Dautocomplete_edit_view_views.cc14 #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 Dautocomplete_edit_view_gtk.cc20 #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 Dautocomplete_edit_view_win.h71 CommandUpdater* command_updater,
H A Dautocomplete_edit_view_win.cc28 #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 Dtoolbar_view.cc98 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 Dtesting_automation_provider.cc608 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 Dautomation_provider.cc614 browser->command_updater()->IsCommandEnabled(IDC_ENCODING_MENU)) {
/external/chromium/chrome/browser/ui/
H A Dbrowser.h20 #include "chrome/browser/command_updater.h"
204 CommandUpdater* command_updater() { return &command_updater_; } function in class:Browser
/external/chromium/chrome/browser/ssl/
H A Dssl_browser_tests.cc420 EXPECT_FALSE(browser()->command_updater()->IsCommandEnabled(IDC_BACK));

Completed in 852 milliseconds

12