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

12

/external/chromium_org/chrome/browser/
H A Dcommand_updater_unittest.cc5 #include "chrome/browser/command_updater.h"
36 CommandUpdater command_updater(&delegate);
39 EXPECT_FALSE(command_updater.SupportsCommand(0));
40 EXPECT_FALSE(command_updater.IsCommandEnabled(0));
43 command_updater.ExecuteCommand(0);
46 command_updater.UpdateCommandEnabled(1, true);
47 EXPECT_TRUE(command_updater.SupportsCommand(1));
48 EXPECT_TRUE(command_updater.IsCommandEnabled(1));
49 command_updater.ExecuteCommand(1);
52 command_updater
[all...]
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dtranslate_icon_view.cc17 TranslateIconView::TranslateIconView(CommandUpdater* command_updater) argument
18 : BubbleIconView(command_updater, IDC_TRANSLATE_PAGE) {
H A Dstar_view.cc18 StarView::StarView(CommandUpdater* command_updater) argument
19 : BubbleIconView(command_updater, IDC_BOOKMARK_PAGE) {
H A Dstar_view.h15 explicit StarView(CommandUpdater* command_updater);
H A Dtranslate_icon_view.h16 explicit TranslateIconView(CommandUpdater* command_updater);
H A Dbubble_icon_view.cc7 #include "chrome/browser/command_updater.h"
11 BubbleIconView::BubbleIconView(CommandUpdater* command_updater, int command_id) argument
12 : command_updater_(command_updater),
H A Dbubble_icon_view.h21 explicit BubbleIconView(CommandUpdater* command_updater, int command_id);
H A Dlocation_bar_view.cc15 #include "chrome/browser/command_updater.h"
155 CommandUpdater* command_updater,
159 OmniboxEditController(command_updater),
254 this, profile(), command_updater(),
335 manage_passwords_icon_view_ = new ManagePasswordsIconView(command_updater());
338 translate_icon_view_ = new TranslateIconView(command_updater());
342 star_view_ = new StarView(command_updater());
1154 command_updater()->UpdateCommandEnabled(IDC_TRANSLATE_PAGE, enabled);
1505 command_updater()->ExecuteCommand(IDC_TOGGLE_SPEECH_INPUT);
153 LocationBarView(Browser* browser, Profile* profile, CommandUpdater* command_updater, Delegate* delegate, bool is_popup_mode) argument
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_edit_controller.cc8 #include "chrome/browser/command_updater.h"
22 OmniboxEditController::OmniboxEditController(CommandUpdater* command_updater) argument
23 : command_updater_(command_updater),
H A Domnibox_edit_controller.h72 explicit OmniboxEditController(CommandUpdater* command_updater);
78 CommandUpdater* command_updater() { return command_updater_; } function in class:OmniboxEditController
H A Domnibox_view.h44 CommandUpdater* command_updater() { return command_updater_; } function in class:OmniboxView
45 const CommandUpdater* command_updater() const { return command_updater_; } function in class:OmniboxView
267 CommandUpdater* command_updater);
H A Domnibox_view.cc224 CommandUpdater* command_updater)
226 command_updater_(command_updater) {
222 OmniboxView(Profile* profile, OmniboxEditController* controller, CommandUpdater* command_updater) argument
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
H A Dmic_search_decoration.h18 explicit MicSearchDecoration(CommandUpdater* command_updater);
H A Dstar_decoration.h18 explicit StarDecoration(CommandUpdater* command_updater);
H A Dtranslate_decoration.h20 explicit TranslateDecoration(CommandUpdater* command_updater);
H A Dmanage_passwords_decoration.h38 explicit ManagePasswordsDecoration(CommandUpdater* command_updater,
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_command_controller_unittest.cc10 #include "chrome/browser/command_updater.h"
147 browser()->command_controller()->command_updater(), testprofile);
157 browser()->command_controller()->command_updater(), testprofile);
188 const CommandUpdater* command_updater = command_controller.command_updater(); local
198 EXPECT_EQ(enabled, command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU));
202 EXPECT_EQ(enabled, command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU));
206 EXPECT_EQ(enabled, command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU));
224 const CommandUpdater* command_updater = command_controller.command_updater(); local
266 const CommandUpdater* command_updater = command_controller.command_updater(); local
290 const CommandUpdater* command_updater = command_controller.command_updater(); local
448 const CommandUpdater* command_updater = command_controller.command_updater(); local
458 const CommandUpdater* command_updater = command_controller.command_updater(); local
[all...]
H A Dbrowser_browsertest.cc18 #include "chrome/browser/command_updater.h"
1104 CommandUpdater* command_updater = local
1105 browser()->command_controller()->command_updater();
1113 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
1117 CommandUpdater* command_updater = local
1118 browser()->command_controller()->command_updater();
1124 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
1128 CommandUpdater* command_updater = local
1129 browser()->command_controller()->command_updater();
1138 EXPECT_TRUE(command_updater
1142 CommandUpdater* command_updater = local
1156 CommandUpdater* command_updater = local
1645 CommandUpdater* command_updater = local
1663 CommandUpdater* command_updater = local
1706 CommandUpdater* command_updater = local
1738 CommandUpdater* command_updater = local
1775 CommandUpdater* command_updater = local
1886 CommandUpdater* command_updater = local
[all...]
H A Dbrowser_command_controller.h12 #include "chrome/browser/command_updater.h"
35 CommandUpdater* command_updater() { return &command_updater_; } function in class:chrome::BrowserCommandController
69 static void UpdateOpenFileState(CommandUpdater* command_updater);
74 CommandUpdater* command_updater,
H A Dbrowser_command_controller.cc1029 CommandUpdater* command_updater,
1035 command_updater->UpdateCommandEnabled(
1038 command_updater->UpdateCommandEnabled(
1045 command_updater->UpdateCommandEnabled(
1055 command_updater->UpdateCommandEnabled(IDC_MANAGE_EXTENSIONS,
1058 command_updater->UpdateCommandEnabled(IDC_IMPORT_SETTINGS, !forced_incognito);
1059 command_updater->UpdateCommandEnabled(IDC_OPTIONS,
1061 command_updater->UpdateCommandEnabled(IDC_SHOW_SIGNIN, !forced_incognito);
1292 CommandUpdater* command_updater) {
1298 command_updater
1028 UpdateSharedCommandsForIncognitoAvailability( CommandUpdater* command_updater, Profile* profile) argument
1291 UpdateOpenFileState( CommandUpdater* command_updater) argument
[all...]
H A Dbrowser_commands.cc286 return browser->command_controller()->command_updater()->IsCommandEnabled(
291 return browser->command_controller()->command_updater()->SupportsCommand(
296 return browser->command_controller()->command_updater()->ExecuteCommand(
303 return browser->command_controller()->command_updater()->
308 browser->command_controller()->command_updater()->UpdateCommandEnabled(
315 browser->command_controller()->command_updater()->AddCommandObserver(
322 browser->command_controller()->command_updater()->RemoveCommandObserver(
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dtoolbar_view_browsertest.cc38 CommandUpdater* updater = browser->command_controller()->command_updater();
106 CommandUpdater* updater = browser()->command_controller()->command_updater();
H A Dreload_button.cc9 #include "chrome/browser/command_updater.h"
39 ReloadButton::ReloadButton(CommandUpdater* command_updater) argument
41 command_updater_(command_updater),
H A Dreload_button.h37 explicit ReloadButton(CommandUpdater* command_updater);
/external/chromium_org/chrome/browser/ui/passwords/
H A Dmanage_passwords_test.cc42 CommandUpdater* updater = browser()->command_controller()->command_updater();

Completed in 286 milliseconds

12