/external/chromium_org/ui/base/models/ |
D | simple_menu_model.cc | 16 struct SimpleMenuModel::Item { 32 bool SimpleMenuModel::Delegate::IsCommandIdVisible(int command_id) const { in IsCommandIdVisible() 36 bool SimpleMenuModel::Delegate::IsItemForCommandIdDynamic( in IsItemForCommandIdDynamic() 41 base::string16 SimpleMenuModel::Delegate::GetLabelForCommandId( in GetLabelForCommandId() 46 base::string16 SimpleMenuModel::Delegate::GetSublabelForCommandId( in GetSublabelForCommandId() 51 base::string16 SimpleMenuModel::Delegate::GetMinorTextForCommandId( in GetMinorTextForCommandId() 56 bool SimpleMenuModel::Delegate::GetIconForCommandId( in GetIconForCommandId() 61 void SimpleMenuModel::Delegate::CommandIdHighlighted(int command_id) { in CommandIdHighlighted() 64 void SimpleMenuModel::Delegate::ExecuteCommand( in ExecuteCommand() 69 void SimpleMenuModel::Delegate::MenuWillShow(SimpleMenuModel* /*source*/) { in MenuWillShow() argument [all …]
|
D | simple_menu_model.h | 26 class UI_BASE_EXPORT SimpleMenuModel : public MenuModel { 64 virtual void MenuWillShow(SimpleMenuModel* source); 67 virtual void MenuClosed(SimpleMenuModel* source); 72 explicit SimpleMenuModel(Delegate* delegate); 73 virtual ~SimpleMenuModel(); 201 base::WeakPtrFactory<SimpleMenuModel> method_factory_; 203 DISALLOW_COPY_AND_ASSIGN(SimpleMenuModel);
|
/external/chromium_org/chrome/browser/download/ |
D | download_shelf_context_menu.h | 24 class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate, 50 ui::SimpleMenuModel* GetMenuModel(); 71 ui::SimpleMenuModel* GetInProgressMenuModel(); 72 ui::SimpleMenuModel* GetFinishedMenuModel(); 73 ui::SimpleMenuModel* GetInterruptedMenuModel(); 74 ui::SimpleMenuModel* GetMaybeMaliciousMenuModel(); 75 ui::SimpleMenuModel* GetMaliciousMenuModel(); 86 scoped_ptr<ui::SimpleMenuModel> in_progress_download_menu_model_; 87 scoped_ptr<ui::SimpleMenuModel> finished_download_menu_model_; 88 scoped_ptr<ui::SimpleMenuModel> interrupted_download_menu_model_; [all …]
|
D | download_shelf_context_menu.cc | 61 ui::SimpleMenuModel* DownloadShelfContextMenu::GetMenuModel() { in GetMenuModel() 62 ui::SimpleMenuModel* model = NULL; in GetMenuModel() 283 ui::SimpleMenuModel* DownloadShelfContextMenu::GetInProgressMenuModel() { in GetInProgressMenuModel() 287 in_progress_download_menu_model_.reset(new ui::SimpleMenuModel(this)); in GetInProgressMenuModel() 305 ui::SimpleMenuModel* DownloadShelfContextMenu::GetFinishedMenuModel() { in GetFinishedMenuModel() 309 finished_download_menu_model_.reset(new ui::SimpleMenuModel(this)); in GetFinishedMenuModel() 327 ui::SimpleMenuModel* DownloadShelfContextMenu::GetInterruptedMenuModel() { in GetInterruptedMenuModel() 338 interrupted_download_menu_model_.reset(new ui::SimpleMenuModel(this)); in GetInterruptedMenuModel() 360 ui::SimpleMenuModel* DownloadShelfContextMenu::GetMaybeMaliciousMenuModel() { in GetMaybeMaliciousMenuModel() 364 maybe_malicious_download_menu_model_.reset(new ui::SimpleMenuModel(this)); in GetMaybeMaliciousMenuModel() [all …]
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | system_menu_model_builder.h | 18 class SimpleMenuModel; variable 38 void BuildMenu(ui::SimpleMenuModel* model); 39 void BuildSystemMenuForBrowserWindow(ui::SimpleMenuModel* model); 40 void BuildSystemMenuForAppOrPopupWindow(ui::SimpleMenuModel* model); 43 void AddFrameToggleItems(ui::SimpleMenuModel* model); 46 void AppendTeleportMenu(ui::SimpleMenuModel* model);
|
D | system_menu_model_builder.cc | 38 ui::SimpleMenuModel* model = new ui::SimpleMenuModel(&menu_delegate_); in Init() 50 void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuModel* model) { in BuildMenu() 61 ui::SimpleMenuModel* model) { in BuildSystemMenuForBrowserWindow() 79 ui::SimpleMenuModel* model) { in BuildSystemMenuForAppOrPopupWindow() 114 void SystemMenuModelBuilder::AddFrameToggleItems(ui::SimpleMenuModel* model) { in AddFrameToggleItems() 123 void SystemMenuModelBuilder::AppendTeleportMenu(ui::SimpleMenuModel* model) { in AppendTeleportMenu()
|
/external/chromium_org/chrome/browser/extensions/ |
D | context_menu_matcher.h | 40 ui::SimpleMenuModel::Delegate* delegate, 41 ui::SimpleMenuModel* menu_model, 85 ui::SimpleMenuModel* menu_model, 96 ui::SimpleMenuModel* menu_model_; 97 ui::SimpleMenuModel::Delegate* delegate_; 105 ScopedVector<ui::SimpleMenuModel> extension_menu_models_;
|
D | context_menu_matcher.cc | 44 ui::SimpleMenuModel::Delegate* delegate, in ContextMenuMatcher() 45 ui::SimpleMenuModel* menu_model, in ContextMenuMatcher() 115 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate_); in AppendExtensionItems() 228 ui::SimpleMenuModel* menu_model, in RecursivelyAppendExtensionItems() 267 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate_); in RecursivelyAppendExtensionItems()
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
D | wrench_menu_model.h | 28 class EncodingMenuModel : public ui::SimpleMenuModel, 29 public ui::SimpleMenuModel::Delegate { 51 class ZoomMenuModel : public ui::SimpleMenuModel { 53 explicit ZoomMenuModel(ui::SimpleMenuModel::Delegate* delegate); 62 class ToolsMenuModel : public ui::SimpleMenuModel { 64 ToolsMenuModel(ui::SimpleMenuModel::Delegate* delegate, Browser* browser); 76 class WrenchMenuModel : public ui::SimpleMenuModel, 77 public ui::SimpleMenuModel::Delegate,
|
D | bookmark_sub_menu_model.h | 16 class BookmarkSubMenuModel : public ui::SimpleMenuModel { 18 BookmarkSubMenuModel(ui::SimpleMenuModel::Delegate* delegate,
|
D | wrench_menu_model.cc | 102 : ui::SimpleMenuModel(this), in EncodingMenuModel() 171 ZoomMenuModel::ZoomMenuModel(ui::SimpleMenuModel::Delegate* delegate) in ZoomMenuModel() 172 : SimpleMenuModel(delegate) { in ZoomMenuModel() 190 class WrenchMenuModel::HelpMenuModel : public ui::SimpleMenuModel { 192 HelpMenuModel(ui::SimpleMenuModel::Delegate* delegate, in HelpMenuModel() 194 : SimpleMenuModel(delegate) { in HelpMenuModel() 225 ToolsMenuModel::ToolsMenuModel(ui::SimpleMenuModel::Delegate* delegate, in ToolsMenuModel() 227 : SimpleMenuModel(delegate) { in ToolsMenuModel() 278 : ui::SimpleMenuModel(this), in WrenchMenuModel() 513 : ui::SimpleMenuModel(this), in WrenchMenuModel()
|
D | bookmark_sub_menu_model.cc | 20 ui::SimpleMenuModel::Delegate* delegate, Browser* browser) in BookmarkSubMenuModel() 21 : SimpleMenuModel(delegate) { in BookmarkSubMenuModel()
|
/external/chromium_org/ui/views/examples/ |
D | menu_example.cc | 25 class ExampleMenuModel : public ui::SimpleMenuModel, 26 public ui::SimpleMenuModel::Delegate { 54 scoped_ptr<ui::SimpleMenuModel> submenu_; 71 ui::SimpleMenuModel* GetMenuModel(); 82 : ui::SimpleMenuModel(this), in ExampleMenuModel() 99 submenu_.reset(new ui::SimpleMenuModel(this)); in ExampleMenuModel() 202 ui::SimpleMenuModel* ExampleMenuButton::GetMenuModel() { in GetMenuModel()
|
/external/chromium_org/components/renderer_context_menu/ |
D | render_view_context_menu_base.h | 36 class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate, 45 virtual void Init(ui::SimpleMenuModel* menu_model) = 0; 78 const ui::SimpleMenuModel& menu_model() const { return menu_model_; } in menu_model() 89 virtual void MenuWillShow(ui::SimpleMenuModel* source) OVERRIDE; 90 virtual void MenuClosed(ui::SimpleMenuModel* source) OVERRIDE; 167 ui::SimpleMenuModel menu_model_;
|
D | render_view_context_menu_base.cc | 73 ui::SimpleMenuModel::Delegate* delegate, in AddCustomItemsToMenu() 74 ui::SimpleMenuModel* menu_model) { in AddCustomItemsToMenu() 112 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate); in AddCustomItemsToMenu() 318 void RenderViewContextMenuBase::MenuWillShow(ui::SimpleMenuModel* source) { in MenuWillShow() 338 void RenderViewContextMenuBase::MenuClosed(ui::SimpleMenuModel* source) { in MenuClosed()
|
/external/chromium_org/ui/base/cocoa/ |
D | menu_controller_unittest.mm | 32 class Delegate : public SimpleMenuModel::Delegate { 56 virtual void MenuWillShow(SimpleMenuModel* /*source*/) OVERRIDE { 69 virtual void MenuClosed(SimpleMenuModel* /*source*/) OVERRIDE { 115 class FontListMenuModel : public SimpleMenuModel { 117 FontListMenuModel(SimpleMenuModel::Delegate* delegate, 119 : SimpleMenuModel(delegate), 135 SimpleMenuModel model(&delegate); 143 SimpleMenuModel model(&delegate); 168 SimpleMenuModel model(&delegate); 170 SimpleMenuModel submodel(&delegate); [all …]
|
/external/chromium_org/ash/shelf/ |
D | shelf_menu_model.h | 14 class ASH_EXPORT ShelfMenuModel : public ui::SimpleMenuModel { 16 explicit ShelfMenuModel(ui::SimpleMenuModel::Delegate* delegate) in ShelfMenuModel() 17 : ui::SimpleMenuModel(delegate) {} in ShelfMenuModel()
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | toolbar_button_test.cc | 15 ui::SimpleMenuModel::Delegate { 28 button_ = new ToolbarButton(NULL, new ui::SimpleMenuModel(this)); in SetUp() 63 virtual void MenuWillShow(ui::SimpleMenuModel* /*source*/) OVERRIDE { in MenuWillShow() argument 67 virtual void MenuClosed(ui::SimpleMenuModel* /*source*/) OVERRIDE { in MenuClosed() argument
|
/external/chromium_org/ui/app_list/ |
D | app_list_menu.h | 16 class AppListMenu : public ui::SimpleMenuModel::Delegate { 30 ui::SimpleMenuModel* menu_model() { return &menu_model_; } in menu_model() 42 ui::SimpleMenuModel menu_model_;
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | bookmark_context_menu_controller.h | 44 public ui::SimpleMenuModel::Delegate { 62 ui::SimpleMenuModel* menu_model() { return menu_model_.get(); } in menu_model() 101 scoped_ptr<ui::SimpleMenuModel> menu_model_;
|
/external/chromium_org/chrome/browser/ui/tabs/ |
D | tab_menu_model.h | 15 class TabMenuModel : public ui::SimpleMenuModel { 17 TabMenuModel(ui::SimpleMenuModel::Delegate* delegate,
|
/external/chromium_org/chrome/browser/ui/cocoa/tabs/ |
D | tab_controller_target.h | 28 - (ui::SimpleMenuModel*)contextMenuModelForController:(TabController*)controller 29 menuDelegate:(ui::SimpleMenuModel::Delegate*)delegate;
|
/external/chromium_org/components/translate/core/browser/ |
D | options_menu_model.h | 16 class OptionsMenuModel : public ui::SimpleMenuModel, 17 public ui::SimpleMenuModel::Delegate {
|
/external/chromium_org/chrome/browser/renderer_context_menu/ |
D | spellchecker_submenu_observer_browsertest.cc | 24 class MockRenderViewContextMenu : public ui::SimpleMenuModel::Delegate, 54 virtual void MenuWillShow(ui::SimpleMenuModel* source) OVERRIDE {} in MenuWillShow() 55 virtual void MenuClosed(ui::SimpleMenuModel* source) OVERRIDE {} in MenuClosed()
|
D | spellchecker_submenu_observer.h | 23 ui::SimpleMenuModel::Delegate* delegate, 40 ui::SimpleMenuModel submenu_model_;
|