/external/chromium_org/chrome/browser/ui/ |
D | browser_command_controller_unittest.cc | 138 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPTIONS)); in TEST_F() 139 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_IMPORT_SETTINGS)); in TEST_F() 140 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_SHOW_SIGNIN)); in TEST_F() 148 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPTIONS)); in TEST_F() 149 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_IMPORT_SETTINGS)); in TEST_F() 150 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_SHOW_SIGNIN)); in TEST_F() 158 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_OPTIONS)); in TEST_F() 159 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_IMPORT_SETTINGS)); in TEST_F() 160 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_SHOW_SIGNIN)); in TEST_F() 165 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN)); in TEST_F() [all …]
|
D | browser_command_controller_browsertest.cc | 19 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND)); in IN_PROC_BROWSER_TEST_F() 27 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FIND)); in IN_PROC_BROWSER_TEST_F() 31 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND)); in IN_PROC_BROWSER_TEST_F() 35 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FIND)); in IN_PROC_BROWSER_TEST_F() 40 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND)); in IN_PROC_BROWSER_TEST_F()
|
D | browser_browsertest.cc | 1113 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1124 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1138 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1152 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1162 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1166 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1170 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1174 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1647 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_FORWARD)); in IN_PROC_BROWSER_TEST_F() 1657 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_FORWARD)); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_context_menu_unittest.cc | 130 ASSERT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F() 162 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F() 164 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F() 166 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F() 167 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F() 169 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F() 171 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F() 181 EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F() 183 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F() 184 EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F() [all …]
|
D | bookmark_context_menu.h | 63 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
|
D | bookmark_context_menu.cc | 93 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const { in IsCommandEnabled() function in BookmarkContextMenu
|
/external/chromium_org/chrome/browser/ |
D | browser_commands_unittest.cc | 248 if (chrome::IsCommandEnabled(browser(), IDC_ZOOM_PLUS)) in TEST_F() 253 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_PLUS)); in TEST_F() 254 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_NORMAL)); in TEST_F() 255 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_MINUS)); in TEST_F() 272 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_PLUS)); in TEST_F() 273 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_NORMAL)); in TEST_F() 274 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_MINUS)); in TEST_F() 289 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_PLUS)); in TEST_F() 290 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_NORMAL)); in TEST_F() 291 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ZOOM_MINUS)); in TEST_F() [all …]
|
D | command_updater_unittest.cc | 40 EXPECT_FALSE(command_updater.IsCommandEnabled(0)); in TEST() 48 EXPECT_TRUE(command_updater.IsCommandEnabled(1)); in TEST() 54 EXPECT_FALSE(command_updater.IsCommandEnabled(2)); in TEST()
|
D | command_updater.cc | 35 bool CommandUpdater::IsCommandEnabled(int id) const { in IsCommandEnabled() function in CommandUpdater 49 if (SupportsCommand(id) && IsCommandEnabled(id)) { in ExecuteCommandWithDisposition()
|
D | command_updater.h | 35 bool IsCommandEnabled(int id) const;
|
/external/chromium_org/chrome/browser/ui/webui/print_preview/ |
D | print_preview_ui_browsertest.cc | 57 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); in IN_PROC_BROWSER_TEST_F() 66 chrome::IsCommandEnabled(browser(), IDC_BASIC_PRINT)); in IN_PROC_BROWSER_TEST_F() 71 ASSERT_FALSE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); in IN_PROC_BROWSER_TEST_F() 74 chrome::IsCommandEnabled(browser(), IDC_BASIC_PRINT)); in IN_PROC_BROWSER_TEST_F() 81 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); in IN_PROC_BROWSER_TEST_F() 84 chrome::IsCommandEnabled(browser(), IDC_BASIC_PRINT)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | immersive_mode_controller_ash_unittest.cc | 202 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); in TEST_F() 203 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); in TEST_F() 204 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION)); in TEST_F() 208 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); in TEST_F() 209 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); in TEST_F() 210 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION)); in TEST_F()
|
D | system_menu_model_delegate.cc | 40 if (!chrome::IsCommandEnabled(browser_, command_id)) in IsCommandIdEnabled()
|
/external/chromium_org/chrome/browser/extensions/ |
D | chrome_ui_overrides_browsertest.cc | 21 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_BOOKMARK_PAGE)); in IN_PROC_BROWSER_TEST_F() 26 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_BOOKMARK_ALL_TABS)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/background/ |
D | background_mode_manager_unittest.cc | 179 bool IsCommandEnabled(ui::MenuModel* model, int id) const { in IsCommandEnabled() function in BackgroundModeManagerTest 787 EXPECT_FALSE(IsCommandEnabled(context_menu, 0)); // P1 - CE in TEST_F() 788 EXPECT_TRUE(IsCommandEnabled(context_menu, 1)); // P1 - CEO in TEST_F() 789 EXPECT_TRUE(IsCommandEnabled(context_menu, 2)); // P1 - RE in TEST_F() 790 EXPECT_TRUE(IsCommandEnabled(context_menu, 3)); // P1 - REO in TEST_F() 791 EXPECT_TRUE(IsCommandEnabled(context_menu, 4)); // P1 in TEST_F() 792 EXPECT_FALSE(IsCommandEnabled(context_menu, 5)); // P2 - CE in TEST_F() 793 EXPECT_TRUE(IsCommandEnabled(context_menu, 6)); // P2 - RE in TEST_F() 794 EXPECT_TRUE(IsCommandEnabled(context_menu, 7)); // P2 - REO in TEST_F() 795 EXPECT_TRUE(IsCommandEnabled(context_menu, 8)); // P2 in TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/ |
D | toolbar_controller_unittest.mm | 84 EXPECT_EQ(updater->IsCommandEnabled(IDC_BACK), 86 EXPECT_EQ(updater->IsCommandEnabled(IDC_FORWARD), 88 EXPECT_EQ(updater->IsCommandEnabled(IDC_RELOAD), 90 EXPECT_EQ(updater->IsCommandEnabled(IDC_HOME), 144 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_BACK)); 145 EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FORWARD));
|
/external/chromium_org/athena/input/ |
D | accelerator_manager_impl.cc | 203 bool IsCommandEnabled() const { in IsCommandEnabled() function in athena::AcceleratorManagerImpl::InternalData 204 return handler_->IsCommandEnabled(command_id_); in IsCommandEnabled() 304 return data.IsCommandEnabled() ? data.OnAcceleratorFired(accelerator) : false; in AcceleratorPressed()
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | command_observer_bridge_unittest.mm | 67 EXPECT_EQ(updater_->IsCommandEnabled(1), true); 68 EXPECT_EQ(updater_->IsCommandEnabled(2), true);
|
/external/chromium_org/athena/screen/ |
D | screen_accelerator_handler.h | 24 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
|
/external/chromium_org/athena/input/public/ |
D | accelerator_manager.h | 56 virtual bool IsCommandEnabled(int command_id) const = 0;
|
/external/chromium_org/chrome/browser/ui/passwords/ |
D | manage_passwords_test.cc | 43 EXPECT_TRUE(updater->IsCommandEnabled(IDC_MANAGE_PASSWORDS_FOR_PAGE)); in ExecuteManagePasswordsCommand()
|
/external/chromium_org/ui/views/controls/menu/ |
D | menu_model_adapter.h | 73 virtual bool IsCommandEnabled(int id) const OVERRIDE;
|
/external/chromium_org/athena/wm/ |
D | window_manager_impl.h | 78 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
|
/external/chromium_org/athena/home/ |
D | home_card_impl.h | 74 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
D | browser_action_overflow_menu_controller.h | 58 virtual bool IsCommandEnabled(int id) const OVERRIDE;
|