/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | bookmark_context_menu_controller_unittest.cc | 110 ASSERT_TRUE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F() 132 EXPECT_FALSE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F() 134 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F() 136 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F() 137 EXPECT_FALSE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F() 139 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F() 141 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F() 151 EXPECT_TRUE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F() 153 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F() 155 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | account_chooser_model_unittest.cc | 133 ASSERT_TRUE(model()->IsCommandIdEnabled( in TEST_F() 138 EXPECT_FALSE(model()->IsCommandIdEnabled( in TEST_F() 148 ASSERT_TRUE(model()->IsCommandIdEnabled( in TEST_F() 161 ASSERT_TRUE(model()->IsCommandIdEnabled( in TEST_F() 174 EXPECT_TRUE(model()->IsCommandIdEnabled( in TEST_F() 206 EXPECT_TRUE(model()->IsCommandIdEnabled( in TEST_F() 208 EXPECT_TRUE(model()->IsCommandIdEnabled( in TEST_F()
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | launcher_context_menu_unittest.cc | 79 EXPECT_TRUE(menu->IsCommandIdEnabled( in TEST_F() 89 EXPECT_FALSE(menu->IsCommandIdEnabled( in TEST_F() 102 EXPECT_TRUE(menu->IsCommandIdEnabled(LauncherContextMenu::MENU_NEW_WINDOW)); in TEST_F() 110 EXPECT_FALSE(menu->IsCommandIdEnabled(LauncherContextMenu::MENU_NEW_WINDOW)); in TEST_F()
|
D | launcher_application_menu_item_model.h | 31 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
|
/external/chromium_org/ui/base/models/ |
D | button_menu_item_model.cc | 21 bool ButtonMenuItemModel::Delegate::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in ui::ButtonMenuItemModel::Delegate 115 return IsCommandIdEnabled(items_[index].command_id); in IsEnabledAt() 122 bool ButtonMenuItemModel::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in ui::ButtonMenuItemModel 124 return delegate_->IsCommandIdEnabled(command_id); in IsCommandIdEnabled()
|
D | button_menu_item_model.h | 34 virtual bool IsCommandIdEnabled(int command_id) const; 92 bool IsCommandIdEnabled(int command_id) const;
|
/external/chromium_org/chrome/browser/background/ |
D | background_mode_manager_unittest.cc | 532 EXPECT_FALSE(submenu->IsCommandIdEnabled(submenu->GetCommandIdAt(0))); in TEST_F() 536 EXPECT_TRUE(submenu->IsCommandIdEnabled(submenu->GetCommandIdAt(1))); in TEST_F() 540 EXPECT_TRUE(submenu->IsCommandIdEnabled(submenu->GetCommandIdAt(2))); in TEST_F() 544 EXPECT_TRUE(submenu->IsCommandIdEnabled(submenu->GetCommandIdAt(3))); in TEST_F() 682 context_menu->IsCommandIdEnabled(context_menu->GetCommandIdAt(3))); in TEST_F() 687 context_menu->IsCommandIdEnabled(context_menu->GetCommandIdAt(4))); in TEST_F() 697 profile1_submenu->IsCommandIdEnabled( in TEST_F() 704 profile1_submenu->IsCommandIdEnabled( in TEST_F() 711 profile1_submenu->IsCommandIdEnabled( in TEST_F() 718 profile1_submenu->IsCommandIdEnabled( in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/renderer_context_menu/ |
D | spellchecker_submenu_observer_browsertest.cc | 48 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE { in IsCommandIdEnabled() function in __anon1e7912be0111::MockRenderViewContextMenu 49 return observer_->IsCommandIdEnabled(command_id); in IsCommandIdEnabled() 147 EXPECT_TRUE(menu->IsCommandIdEnabled(IDC_CHECK_SPELLING_WHILE_TYPING)); in IN_PROC_BROWSER_TEST_F()
|
D | render_view_context_menu_observer.cc | 19 bool RenderViewContextMenuObserver::IsCommandIdEnabled(int command_id) { in IsCommandIdEnabled() function in RenderViewContextMenuObserver
|
D | render_view_context_menu_observer.h | 98 virtual bool IsCommandIdEnabled(int command_id);
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_context_menu_model_unittest.cc | 56 ASSERT_TRUE(menu->IsCommandIdEnabled(ExtensionContextMenuModel::UNINSTALL)); in TEST_F() 63 ASSERT_FALSE(menu->IsCommandIdEnabled(ExtensionContextMenuModel::UNINSTALL)); in TEST_F()
|
D | extension_context_menu_browsertest.cc | 136 ASSERT_EQ(enabled, menu->IsCommandIdEnabled(command_id)); in TestEnabledContextMenu() 140 ASSERT_EQ(!enabled, menu->IsCommandIdEnabled(command_id)); in TestEnabledContextMenu() 211 ASSERT_TRUE(menu->IsCommandIdEnabled(command_id)); in IN_PROC_BROWSER_TEST_F() 505 ASSERT_TRUE(menu->IsCommandIdEnabled(command_id)); in IN_PROC_BROWSER_TEST_F() 514 ASSERT_TRUE(menu_incognito->IsCommandIdEnabled(command_id)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | system_menu_model_delegate.cc | 39 bool SystemMenuModelDelegate::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in SystemMenuModelDelegate 57 if (IsCommandIdEnabled(command_id)) { in GetLabelForCommandId()
|
/external/chromium_org/ui/views/examples/ |
D | tree_view_example.h | 48 bool IsCommandIdEnabled(int command_id); 64 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
|
D | tree_view_example.cc | 90 bool TreeViewExample::IsCommandIdEnabled(int command_id) { in IsCommandIdEnabled() function in views::examples::TreeViewExample 149 bool TreeViewExample::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in views::examples::TreeViewExample 150 return const_cast<TreeViewExample*>(this)->IsCommandIdEnabled(command_id); in IsCommandIdEnabled()
|
D | menu_example.cc | 32 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 116 bool ExampleMenuModel::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in views::examples::__anon195d047b0111::ExampleMenuModel
|
/external/chromium_org/chrome/browser/status_icons/ |
D | status_icon_menu_model_unittest.cc | 59 EXPECT_TRUE(menu_model()->IsCommandIdEnabled(0)); in TEST_F() 61 EXPECT_FALSE(menu_model()->IsCommandIdEnabled(0)); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
D | wrench_menu_model.h | 36 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 108 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
|
/external/chromium_org/ui/message_center/ |
D | message_center_tray.cc | 36 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 73 bool NotificationMenuModel::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in message_center::__anon0a6430a80111::NotificationMenuModel
|
/external/chromium_org/ui/views/touchui/ |
D | touch_editing_menu.cc | 81 if (controller->IsCommandIdEnabled(kMenuCommands[i])) { in Create() 129 if (controller_ && controller_->IsCommandIdEnabled(command_id)) { in CreateButtons()
|
/external/chromium_org/chrome/browser/printing/ |
D | print_preview_context_menu_observer.h | 23 virtual bool IsCommandIdEnabled(int command_id) OVERRIDE;
|
D | print_preview_context_menu_observer.cc | 40 bool PrintPreviewContextMenuObserver::IsCommandIdEnabled(int command_id) { in IsCommandIdEnabled() function in PrintPreviewContextMenuObserver
|
/external/chromium_org/chrome/browser/ui/views/renderer_context_menu/ |
D | render_view_context_menu_views.cc | 153 bool RenderViewContextMenuViews::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in RenderViewContextMenuViews 168 return RenderViewContextMenu::IsCommandIdEnabled(command_id); in IsCommandIdEnabled()
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | media_gallery_context_menu.cc | 24 bool MediaGalleryContextMenu::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in MediaGalleryContextMenu
|
/external/chromium_org/components/translate/core/browser/ |
D | options_menu_model.h | 31 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
|