/external/chromium_org/chrome/browser/ui/ |
H A D | browser_command_controller_browsertest.cc | 19 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 D | browser_command_controller_unittest.cc | 135 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 D | browser_browsertest.cc | 850 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 D | bookmark_context_menu_test.cc | 117 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 D | bookmark_context_menu.cc | 62 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const { function in class:BookmarkContextMenu 63 return controller_->IsCommandEnabled(command_id);
|
H A D | bookmark_context_menu.h | 49 virtual bool IsCommandEnabled(int command_id) const;
|
H A D | bookmark_context_menu_controller_views.h | 64 bool IsCommandEnabled(int id) const;
|
/external/chromium_org/chrome/browser/ui/webui/print_preview/ |
H A D | print_preview_ui_browsertest.cc | 44 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 D | bookmark_context_menu_test.cc | 120 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 D | bookmark_context_menu.h | 63 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
|
H A D | bookmark_context_menu.cc | 93 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const { function in class:BookmarkContextMenu
|
/external/chromium/chrome/browser/ |
H A D | command_updater_unittest.cc | 39 EXPECT_FALSE(command_updater.IsCommandEnabled(0)); 47 EXPECT_TRUE(command_updater.IsCommandEnabled(1)); 53 EXPECT_FALSE(command_updater.IsCommandEnabled(2));
|
H A D | command_updater.h | 43 bool IsCommandEnabled(int id) const;
|
H A D | command_updater.cc | 32 bool CommandUpdater::IsCommandEnabled(int id) const { function in class:CommandUpdater 44 if (IsCommandEnabled(id))
|
/external/chromium_org/chrome/browser/ |
H A D | command_updater_unittest.cc | 40 EXPECT_FALSE(command_updater.IsCommandEnabled(0)); 48 EXPECT_TRUE(command_updater.IsCommandEnabled(1)); 54 EXPECT_FALSE(command_updater.IsCommandEnabled(2));
|
H A D | command_updater.h | 35 bool IsCommandEnabled(int id) const;
|
H A D | command_updater.cc | 35 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 D | system_menu_model_delegate.cc | 32 return chrome::IsCommandEnabled(browser_, command_id);
|
H A D | immersive_mode_controller_ash_browsertest.cc | 100 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 D | wrench_menu.h | 38 virtual bool IsCommandEnabled(int id) const;
|
/external/chromium_org/chrome/browser/ui/gtk/ |
H A D | avatar_menu_button_gtk.cc | 65 DCHECK(chrome::IsCommandEnabled(browser_, IDC_SHOW_AVATAR_MENU));
|
/external/chromium_org/ui/views/controls/menu/ |
H A D | menu_model_adapter.h | 58 virtual bool IsCommandEnabled(int id) const OVERRIDE;
|
H A D | menu_delegate.cc | 56 bool MenuDelegate::IsCommandEnabled(int id) const { function in class:views::MenuDelegate
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
H A D | browser_action_overflow_menu_controller.h | 52 virtual bool IsCommandEnabled(int id) const OVERRIDE;
|
/external/chromium_org/ui/views/controls/combobox/ |
H A D | native_combobox_views.h | 64 virtual bool IsCommandEnabled(int id) const OVERRIDE;
|