/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 | 1115 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1126 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1140 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1154 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1164 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1168 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1172 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1176 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); in IN_PROC_BROWSER_TEST_F() 1644 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_FORWARD)); in IN_PROC_BROWSER_TEST_F() 1654 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 | 131 ASSERT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F() 163 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F() 165 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F() 167 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F() 168 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F() 170 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F() 172 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F() 182 EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F() 184 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F() 185 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 | 97 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const { in IsCommandEnabled() function in BookmarkContextMenu
|
/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() 60 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT)); in IN_PROC_BROWSER_TEST_F() 66 ASSERT_FALSE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); in IN_PROC_BROWSER_TEST_F() 69 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT)); in IN_PROC_BROWSER_TEST_F() 76 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); in IN_PROC_BROWSER_TEST_F() 79 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_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 return chrome::IsCommandEnabled(browser_, command_id); in IsCommandIdEnabled()
|
/external/chromium_org/chrome/browser/ |
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/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 | 63 bool IsCommandEnabled(ui::MenuModel* model, int id) const { in IsCommandEnabled() function in BackgroundModeManagerTest 754 EXPECT_FALSE(IsCommandEnabled(context_menu, 0)); // P1 - CE in TEST_F() 755 EXPECT_TRUE(IsCommandEnabled(context_menu, 1)); // P1 - CEO in TEST_F() 756 EXPECT_TRUE(IsCommandEnabled(context_menu, 2)); // P1 - RE in TEST_F() 757 EXPECT_TRUE(IsCommandEnabled(context_menu, 3)); // P1 - REO in TEST_F() 758 EXPECT_TRUE(IsCommandEnabled(context_menu, 4)); // P1 in TEST_F() 759 EXPECT_FALSE(IsCommandEnabled(context_menu, 5)); // P2 - CE in TEST_F() 760 EXPECT_TRUE(IsCommandEnabled(context_menu, 6)); // P2 - RE in TEST_F() 761 EXPECT_TRUE(IsCommandEnabled(context_menu, 7)); // P2 - REO in TEST_F() 762 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/athena/screen/ |
D | screen_accelerator_handler.h | 24 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
|
D | screen_accelerator_handler.cc | 78 bool ScreenAcceleratorHandler::IsCommandEnabled(int command_id) const { in IsCommandEnabled() function in athena::ScreenAcceleratorHandler
|
/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/input/public/ |
D | accelerator_manager.h | 56 virtual bool IsCommandEnabled(int command_id) const = 0;
|
/external/chromium_org/chrome/browser/ui/views/passwords/ |
D | manage_passwords_view_test.cc | 52 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;
|
D | menu_delegate.cc | 63 bool MenuDelegate::IsCommandEnabled(int id) const { in IsCommandEnabled() function in views::MenuDelegate
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
D | browser_action_overflow_menu_controller.h | 55 virtual bool IsCommandEnabled(int id) const OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
D | wrench_menu_model.cc | 144 bool enabled = chrome::IsCommandEnabled(browser_, command_id); in IsCommandIdEnabled() 149 enabled &= chrome::IsCommandEnabled(browser_, IDC_ENCODING_MENU); in IsCommandIdEnabled() 434 return chrome::IsCommandEnabled(browser_, command_id); in IsCommandIdEnabled()
|