Searched refs:IsCommandEnabled (Results 1 - 25 of 70) sorted by relevance

123

/external/chromium_org/chrome/browser/ui/
H A Dbrowser_command_controller_browsertest.cc19 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND));
27 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FIND));
31 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND));
35 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FIND));
40 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND));
H A Dbrowser_command_controller_unittest.cc135 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN));
141 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN));
159 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU));
163 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU));
167 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU));
220 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL));
221 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_SHOW_AS_TAB));
222 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_TOOLBAR));
223 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION));
224 EXPECT_TRUE(chrome::IsCommandEnabled(browse
[all...]
H A Dbrowser_browsertest.cc850 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
861 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
875 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
889 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
899 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
903 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
907 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
911 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS));
1332 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_FORWARD));
1342 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_FORWAR
[all...]
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_context_menu_test.cc117 ASSERT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE));
140 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL));
142 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW));
144 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO));
145 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE));
147 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK));
149 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER));
159 EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL));
161 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW));
162 EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNIT
[all...]
H A Dbookmark_context_menu.cc62 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const { function in class:BookmarkContextMenu
63 return controller_->IsCommandEnabled(command_id);
H A Dbookmark_context_menu.h49 virtual bool IsCommandEnabled(int command_id) const;
H A Dbookmark_context_menu_controller_views.h64 bool IsCommandEnabled(int id) const;
/external/chromium_org/chrome/browser/ui/webui/print_preview/
H A Dprint_preview_ui_browsertest.cc44 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT));
47 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT));
53 ASSERT_FALSE(chrome::IsCommandEnabled(browser(), IDC_PRINT));
56 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT));
63 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT));
66 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT));
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_context_menu_test.cc120 ASSERT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE));
152 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL));
154 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW));
156 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO));
157 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE));
159 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK));
161 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER));
171 EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL));
173 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW));
174 EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNIT
[all...]
H A Dbookmark_context_menu.h63 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
H A Dbookmark_context_menu.cc93 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const { function in class:BookmarkContextMenu
/external/chromium/chrome/browser/
H A Dcommand_updater_unittest.cc39 EXPECT_FALSE(command_updater.IsCommandEnabled(0));
47 EXPECT_TRUE(command_updater.IsCommandEnabled(1));
53 EXPECT_FALSE(command_updater.IsCommandEnabled(2));
H A Dcommand_updater.h43 bool IsCommandEnabled(int id) const;
H A Dcommand_updater.cc32 bool CommandUpdater::IsCommandEnabled(int id) const { function in class:CommandUpdater
44 if (IsCommandEnabled(id))
/external/chromium_org/chrome/browser/
H A Dcommand_updater_unittest.cc40 EXPECT_FALSE(command_updater.IsCommandEnabled(0));
48 EXPECT_TRUE(command_updater.IsCommandEnabled(1));
54 EXPECT_FALSE(command_updater.IsCommandEnabled(2));
H A Dcommand_updater.h35 bool IsCommandEnabled(int id) const;
H A Dcommand_updater.cc35 bool CommandUpdater::IsCommandEnabled(int id) const { function in class:CommandUpdater
49 if (SupportsCommand(id) && IsCommandEnabled(id)) {
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dsystem_menu_model_delegate.cc32 return chrome::IsCommandEnabled(browser_, command_id);
H A Dimmersive_mode_controller_ash_browsertest.cc100 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL));
101 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT));
102 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN));
119 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL));
120 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT));
121 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN));
/external/chromium/chrome/browser/ui/views/
H A Dwrench_menu.h38 virtual bool IsCommandEnabled(int id) const;
/external/chromium_org/chrome/browser/ui/gtk/
H A Davatar_menu_button_gtk.cc65 DCHECK(chrome::IsCommandEnabled(browser_, IDC_SHOW_AVATAR_MENU));
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_model_adapter.h58 virtual bool IsCommandEnabled(int id) const OVERRIDE;
H A Dmenu_delegate.cc56 bool MenuDelegate::IsCommandEnabled(int id) const { function in class:views::MenuDelegate
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dbrowser_action_overflow_menu_controller.h52 virtual bool IsCommandEnabled(int id) const OVERRIDE;
/external/chromium_org/ui/views/controls/combobox/
H A Dnative_combobox_views.h64 virtual bool IsCommandEnabled(int id) const OVERRIDE;

Completed in 1315 milliseconds

123