/external/chromium_org/chrome/browser/ui/ |
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));
|
browser_command_controller_unittest.cc | 136 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN)); 142 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN)); 162 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); 166 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); 170 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); 195 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); 230 EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); 266 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); 273 EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); 324 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)) [all...] |
browser_browsertest.cc | [all...] |
/external/chromium/chrome/browser/ui/views/bookmarks/ |
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_INCOGNITO)) [all...] |
bookmark_context_menu_controller_views.h | 64 bool IsCommandEnabled(int id) const;
|
bookmark_context_menu.cc | 62 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const { 63 return controller_->IsCommandEnabled(command_id);
|
bookmark_context_menu.h | 49 virtual bool IsCommandEnabled(int command_id) const;
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
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_INCOGNITO)) [all...] |
bookmark_context_menu.h | 63 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
|
bookmark_context_menu.cc | 94 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const {
|
/external/chromium_org/chrome/browser/ui/webui/print_preview/ |
print_preview_ui_browsertest.cc | 57 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); 60 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT)); 66 ASSERT_FALSE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); 69 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT)); 76 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); 79 ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT));
|
/external/chromium/chrome/browser/ |
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));
|
command_updater.h | 43 bool IsCommandEnabled(int id) const;
|
command_updater.cc | 32 bool CommandUpdater::IsCommandEnabled(int id) const { 44 if (IsCommandEnabled(id))
|
/external/chromium_org/chrome/browser/ |
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));
|
command_updater.h | 35 bool IsCommandEnabled(int id) const;
|
command_updater.cc | 35 bool CommandUpdater::IsCommandEnabled(int id) const { 49 if (SupportsCommand(id) && IsCommandEnabled(id)) {
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
system_menu_model_delegate.cc | 32 return chrome::IsCommandEnabled(browser_, command_id);
|
immersive_mode_controller_ash_unittest.cc | 193 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); 194 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); 195 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION)); 199 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); 200 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); 201 EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION));
|
/external/chromium/chrome/browser/ui/views/ |
wrench_menu.h | 38 virtual bool IsCommandEnabled(int id) const;
|
/external/chromium_org/chrome/browser/ui/gtk/ |
avatar_menu_button_gtk.cc | 65 DCHECK(chrome::IsCommandEnabled(browser_, IDC_SHOW_AVATAR_MENU));
|
/external/chromium_org/ui/views/controls/menu/ |
menu_model_adapter.h | 73 virtual bool IsCommandEnabled(int id) const OVERRIDE;
|
menu_delegate.h | 106 virtual bool IsCommandEnabled(int id) const;
|
/external/chromium_org/chrome/browser/background/ |
background_mode_manager_unittest.cc | 62 // From views::MenuModelAdapter::IsCommandEnabled with modification. 63 bool IsCommandEnabled(ui::MenuModel* model, int id) const { 721 EXPECT_FALSE(IsCommandEnabled(context_menu, 0)); // P1 - CE 722 EXPECT_TRUE(IsCommandEnabled(context_menu, 1)); // P1 - CEO 723 EXPECT_TRUE(IsCommandEnabled(context_menu, 2)); // P1 - RE 724 EXPECT_TRUE(IsCommandEnabled(context_menu, 3)); // P1 - REO 725 EXPECT_TRUE(IsCommandEnabled(context_menu, 4)); // P1 726 EXPECT_FALSE(IsCommandEnabled(context_menu, 5)); // P2 - CE 727 EXPECT_TRUE(IsCommandEnabled(context_menu, 6)); // P2 - RE 728 EXPECT_TRUE(IsCommandEnabled(context_menu, 7)); // P2 - RE [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.h | 52 virtual bool IsCommandEnabled(int id) const OVERRIDE;
|