Home
last modified time | relevance | path

Searched refs:IsCommandIdEnabled (Results 1 – 25 of 112) sorted by relevance

12345

/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_context_menu_controller_unittest.cc110 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/
Daccount_chooser_model_unittest.cc133 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/
Dlauncher_context_menu_unittest.cc79 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()
Dlauncher_application_menu_item_model.h31 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
/external/chromium_org/ui/base/models/
Dbutton_menu_item_model.cc21 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()
Dbutton_menu_item_model.h34 virtual bool IsCommandIdEnabled(int command_id) const;
92 bool IsCommandIdEnabled(int command_id) const;
/external/chromium_org/chrome/browser/background/
Dbackground_mode_manager_unittest.cc532 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/
Dspellchecker_submenu_observer_browsertest.cc48 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()
Drender_view_context_menu_observer.cc19 bool RenderViewContextMenuObserver::IsCommandIdEnabled(int command_id) { in IsCommandIdEnabled() function in RenderViewContextMenuObserver
Drender_view_context_menu_observer.h98 virtual bool IsCommandIdEnabled(int command_id);
/external/chromium_org/chrome/browser/extensions/
Dextension_context_menu_model_unittest.cc56 ASSERT_TRUE(menu->IsCommandIdEnabled(ExtensionContextMenuModel::UNINSTALL)); in TEST_F()
63 ASSERT_FALSE(menu->IsCommandIdEnabled(ExtensionContextMenuModel::UNINSTALL)); in TEST_F()
Dextension_context_menu_browsertest.cc136 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/
Dsystem_menu_model_delegate.cc39 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/
Dtree_view_example.h48 bool IsCommandIdEnabled(int command_id);
64 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
Dtree_view_example.cc90 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()
Dmenu_example.cc32 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/
Dstatus_icon_menu_model_unittest.cc59 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/
Dwrench_menu_model.h36 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
108 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
/external/chromium_org/ui/message_center/
Dmessage_center_tray.cc36 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/
Dtouch_editing_menu.cc81 if (controller->IsCommandIdEnabled(kMenuCommands[i])) { in Create()
129 if (controller_ && controller_->IsCommandIdEnabled(command_id)) { in CreateButtons()
/external/chromium_org/chrome/browser/printing/
Dprint_preview_context_menu_observer.h23 virtual bool IsCommandIdEnabled(int command_id) OVERRIDE;
Dprint_preview_context_menu_observer.cc40 bool PrintPreviewContextMenuObserver::IsCommandIdEnabled(int command_id) { in IsCommandIdEnabled() function in PrintPreviewContextMenuObserver
/external/chromium_org/chrome/browser/ui/views/renderer_context_menu/
Drender_view_context_menu_views.cc153 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/
Dmedia_gallery_context_menu.cc24 bool MediaGalleryContextMenu::IsCommandIdEnabled(int command_id) const { in IsCommandIdEnabled() function in MediaGalleryContextMenu
/external/chromium_org/components/translate/core/browser/
Doptions_menu_model.h31 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;

12345