HomeSort by relevance Sort by last modified time
    Searched refs:MenuItemView (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/chromium_org/ui/views/controls/menu/
menu_controller_delegate.h 10 class MenuItemView;
27 virtual void DropMenuClosed(NotifyType type, MenuItemView* menu) = 0;
30 virtual void SiblingMenuCreated(MenuItemView* menu) = 0;
menu_model_adapter.h 17 class MenuItemView;
20 // views::MenuDelegate interface required by views::MenuItemView.
28 // Populate a MenuItemView menu with the ui::MenuModel items
30 virtual void BuildMenu(MenuItemView* menu);
33 // returned MenuItemView.
34 MenuItemView* CreateMenu();
43 static MenuItemView* AddMenuItemFromModelAt(ui::MenuModel* model,
45 MenuItemView* menu,
51 static MenuItemView* AppendMenuItemFromModel(ui::MenuModel* model,
53 MenuItemView* menu
    [all...]
menu_delegate.h 33 // Delegate for a menu. This class is used as part of MenuItemView, see it
99 virtual bool ShowContextMenu(MenuItemView* source,
131 virtual bool IsTriggerableEvent(MenuItemView* view, const ui::Event& e);
147 virtual bool CanDrop(MenuItemView* menu, const OSExchangeData& data);
151 MenuItemView* menu,
156 virtual bool AreDropTypesRequired(MenuItemView* menu);
164 virtual int GetDropOperation(MenuItemView* item,
173 virtual int OnPerformDrop(MenuItemView* menu,
179 virtual bool CanDrag(MenuItemView* menu);
182 // MenuItemView being dragged
    [all...]
menu_separator.h 14 class MenuItemView;
18 MenuSeparator(MenuItemView* parent, ui::MenuSeparatorType type)
36 MenuItemView* parent_menu_item_;
menu_delegate.cc 45 bool MenuDelegate::ShowContextMenu(MenuItemView* source,
77 bool MenuDelegate::IsTriggerableEvent(MenuItemView* source,
85 bool MenuDelegate::CanDrop(MenuItemView* menu, const OSExchangeData& data) {
90 MenuItemView* menu,
96 bool MenuDelegate::AreDropTypesRequired(MenuItemView* menu) {
100 int MenuDelegate::GetDropOperation(MenuItemView* item,
107 int MenuDelegate::OnPerformDrop(MenuItemView* menu,
114 bool MenuDelegate::CanDrag(MenuItemView* menu) {
118 void MenuDelegate::WriteDragData(MenuItemView* sender, OSExchangeData* data) {
122 int MenuDelegate::GetDragOperations(MenuItemView* sender)
    [all...]
menu_item_view.cc 36 // is itself a MenuItemView, but it uses a different ID so that it isn't
37 // identified as a MenuItemView.
39 class EmptyMenuMenuItem : public MenuItemView {
41 explicit EmptyMenuMenuItem(MenuItemView* parent)
42 : MenuItemView(parent, 0, EMPTY) {
64 // MenuItemView ---------------------------------------------------------------
67 const int MenuItemView::kMenuItemViewID = 1001;
70 const int MenuItemView::kEmptyMenuItemViewID =
71 MenuItemView::kMenuItemViewID + 1;
74 int MenuItemView::icon_area_width_ = 0
    [all...]
menu_controller.h 73 MenuItemView* Run(Widget* parent,
75 MenuItemView* root,
77 MenuItemView::AnchorPosition position,
88 MenuItemView::AnchorPosition GetAnchorPosition() { return state_.anchor; }
147 friend class MenuItemView;
188 MenuItemView* item;
197 MenuItemView::AnchorPosition anchor;
233 MenuItemView* menu;
237 MenuItemView* parent;
250 void SetSelection(MenuItemView* menu_item, int types)
    [all...]
submenu_view.h 18 class MenuItemView;
43 explicit SubmenuView(MenuItemView* parent);
50 // Returns the MenuItemView at the specified index.
51 MenuItemView* GetMenuItemAt(int index);
114 MenuItemView* GetMenuItem() const;
117 void SetDropMenuItem(MenuItemView* item,
123 bool GetShowSelection(MenuItemView* item);
163 MenuItemView* item,
166 void SchedulePaintForDropIndicator(MenuItemView* item,
170 gfx::Rect CalculateDropIndicatorBounds(MenuItemView* item
    [all...]
menu_item_view.h 40 // MenuItemView --------------------------------------------------------------
42 // MenuItemView represents a single menu item with a label and optional icon.
43 // Each MenuItemView may also contain a submenu, which in turn may contain
46 // To use a menu create an initial MenuItemView using the constructor that
50 // MenuItemView is itself a View, which means you can add Views to each
51 // MenuItemView. This is normally NOT want you want, rather add other child
52 // Views to the submenu of the MenuItemView. Any child views of the MenuItemView
62 class VIEWS_EXPORT MenuItemView : public View {
131 explicit MenuItemView(MenuDelegate* delegate)
    [all...]
menu_runner.cc 33 explicit MenuRunnerImpl(MenuItemView* menu);
35 MenuItemView* menu() { return menu_; }
46 MenuItemView::AnchorPosition anchor,
55 virtual void DropMenuClosed(NotifyType type, MenuItemView* menu) OVERRIDE;
56 virtual void SiblingMenuCreated(MenuItemView* menu) OVERRIDE;
63 MenuRunner::RunResult MenuDone(MenuItemView* result, int mouse_event_flags);
70 MenuItemView* menu_;
73 std::set<MenuItemView*> sibling_menus_;
75 // Created and set as the delegate of the MenuItemView if Release() is
105 MenuRunnerImpl::MenuRunnerImpl(MenuItemView* menu
    [all...]
menu_model_adapter.cc 26 void MenuModelAdapter::BuildMenu(MenuItemView* menu) {
48 MenuItemView* MenuModelAdapter::CreateMenu() {
49 MenuItemView* item = new MenuItemView(this);
55 MenuItemView* MenuModelAdapter::AddMenuItemFromModelAt(ui::MenuModel* model,
57 MenuItemView* menu,
64 MenuItemView::Type type;
69 type = MenuItemView::NORMAL;
75 type = MenuItemView::CHECKBOX;
81 type = MenuItemView::RADIO
    [all...]
menu_runner.h 34 // owning the MenuItemView. RunMenuAt() runs a nested message loop. It is safe
36 // MenuItemView *after* the nested message loop completes. If MenuRunner is
86 explicit MenuRunner(MenuItemView* menu);
90 MenuItemView* GetMenu();
95 void OwnMenu(MenuItemView* menu);
106 MenuItemView::AnchorPosition anchor,
menu_runner_handler.h 24 MenuItemView::AnchorPosition anchor,
  /external/chromium_org/chrome/browser/ui/views/bookmarks/
bookmark_menu_controller_views.h 64 views::MenuItemView* menu() const;
67 views::MenuItemView* context_menu() const;
79 virtual bool IsTriggerableEvent(views::MenuItemView* view,
86 views::MenuItemView* menu,
89 virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE;
90 virtual bool CanDrop(views::MenuItemView* menu,
92 virtual int GetDropOperation(views::MenuItemView* item,
95 virtual int OnPerformDrop(views::MenuItemView* menu,
98 virtual bool ShowContextMenu(views::MenuItemView* source,
102 virtual void DropMenuClosed(views::MenuItemView* menu) OVERRIDE
    [all...]
bookmark_menu_delegate.h 31 class MenuItemView;
36 // bookmarks in a MenuItemView. BookmarkMenuDelegate informally implements
62 views::MenuItemView* parent,
81 views::MenuItemView* menu() { return menu_; }
84 views::MenuItemView* context_menu() {
97 bool IsTriggerableEvent(views::MenuItemView* menu,
102 views::MenuItemView* menu,
105 bool AreDropTypesRequired(views::MenuItemView* menu);
106 bool CanDrop(views::MenuItemView* menu, const ui::OSExchangeData& data);
107 int GetDropOperation(views::MenuItemView* item
    [all...]
bookmark_menu_controller_views.cc 29 using views::MenuItemView;
54 MenuItemView::AnchorPosition anchor;
76 MenuItemView* BookmarkMenuController::menu() const {
80 MenuItemView* BookmarkMenuController::context_menu() const {
93 bool BookmarkMenuController::IsTriggerableEvent(views::MenuItemView* menu,
108 MenuItemView* menu,
114 bool BookmarkMenuController::AreDropTypesRequired(MenuItemView* menu) {
118 bool BookmarkMenuController::CanDrop(MenuItemView* menu,
124 MenuItemView* item,
130 int BookmarkMenuController::OnPerformDrop(MenuItemView* menu
    [all...]
  /external/chromium/chrome/browser/ui/views/bookmarks/
bookmark_menu_controller_views.h 67 views::MenuItemView::AnchorPosition position,
77 views::MenuItemView* menu() const { return menu_; }
80 views::MenuItemView* context_menu() const {
91 views::MenuItemView* menu,
94 virtual bool AreDropTypesRequired(views::MenuItemView* menu);
95 virtual bool CanDrop(views::MenuItemView* menu,
97 virtual int GetDropOperation(views::MenuItemView* item,
100 virtual int OnPerformDrop(views::MenuItemView* menu,
103 virtual bool ShowContextMenu(views::MenuItemView* source,
107 virtual void DropMenuClosed(views::MenuItemView* menu)
    [all...]
bookmark_menu_controller_views.cc 28 using views::MenuItemView;
58 MenuItemView::AnchorPosition anchor;
67 MenuItemView::AnchorPosition position,
122 MenuItemView* menu,
130 bool BookmarkMenuController::AreDropTypesRequired(MenuItemView* menu) {
134 bool BookmarkMenuController::CanDrop(MenuItemView* menu,
162 MenuItemView* item,
182 int BookmarkMenuController::OnPerformDrop(MenuItemView* menu,
207 bool BookmarkMenuController::ShowContextMenu(MenuItemView* source,
227 void BookmarkMenuController::DropMenuClosed(MenuItemView* menu)
    [all...]
bookmark_context_menu.cc 30 ALLOW_THIS_IN_INITIALIZER_LIST(menu_(new views::MenuItemView(this))),
45 views::MenuItemView::AnchorPosition anchor = base::i18n::IsRTL() ?
46 views::MenuItemView::TOPRIGHT : views::MenuItemView::TOPLEFT;
93 views::MenuItemView::CHECKBOX);
  /external/chromium/chrome/browser/ui/views/extensions/
browser_action_overflow_menu_controller.h 51 virtual bool ShowContextMenu(views::MenuItemView* source,
55 virtual void DropMenuClosed(views::MenuItemView* menu);
59 views::MenuItemView* menu,
62 virtual bool AreDropTypesRequired(views::MenuItemView* menu);
63 virtual bool CanDrop(views::MenuItemView* menu, const ui::OSExchangeData& data);
64 virtual int GetDropOperation(views::MenuItemView* item,
67 virtual int OnPerformDrop(views::MenuItemView* menu,
72 virtual bool CanDrag(views::MenuItemView* menu);
73 virtual void WriteDragData(views::MenuItemView* sender, ui::OSExchangeData* data);
74 virtual int GetDragOperations(views::MenuItemView* sender)
    [all...]
  /external/chromium_org/chrome/browser/ui/views/extensions/
browser_action_overflow_menu_controller.h 54 virtual bool ShowContextMenu(views::MenuItemView* source,
58 virtual void DropMenuClosed(views::MenuItemView* menu) OVERRIDE;
62 views::MenuItemView* menu,
65 virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE;
66 virtual bool CanDrop(views::MenuItemView* menu,
68 virtual int GetDropOperation(views::MenuItemView* item,
71 virtual int OnPerformDrop(views::MenuItemView* menu,
76 virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE;
77 virtual void WriteDragData(views::MenuItemView* sender,
79 virtual int GetDragOperations(views::MenuItemView* sender) OVERRIDE
    [all...]
  /external/chromium_org/chrome/browser/ui/views/toolbar/
wrench_menu.h 30 class MenuItemView;
68 virtual bool IsTriggerableEvent(views::MenuItemView* menu,
71 views::MenuItemView* menu,
74 virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE;
75 virtual bool CanDrop(views::MenuItemView* menu,
77 virtual int GetDropOperation(views::MenuItemView* item,
80 virtual int OnPerformDrop(views::MenuItemView* menu,
83 virtual bool ShowContextMenu(views::MenuItemView* source,
87 virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE;
88 virtual void WriteDragData(views::MenuItemView* sender
    [all...]
  /external/chromium_org/ui/app_list/views/
app_list_menu_views.cc 18 using views::MenuItemView;
25 menu_ = new MenuItemView(menu_delegate_.get());
36 MenuItemView::TOPRIGHT,
  /external/chromium/chrome/browser/ui/views/
wrench_menu.h 21 class MenuItemView;
56 void PopulateMenu(views::MenuItemView* parent,
62 views::MenuItemView* AppendMenuItem(views::MenuItemView* parent,
73 scoped_ptr<views::MenuItemView> root_;
75 // Maps from the ID as understood by MenuItemView to the model/index pair the
  /external/chromium_org/chrome/browser/ui/views/download/
download_shelf_context_menu_view.cc 34 views::MenuItemView::AnchorPosition position;
36 position = views::MenuItemView::TOPRIGHT;
38 position = views::MenuItemView::TOPLEFT;

Completed in 1508 milliseconds

1 2 3 4