HomeSort by relevance Sort by last modified time
    Searched refs:MenuItemView (Results 1 - 25 of 87) 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_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_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();
45 virtual MenuItemView* AppendMenuItem(MenuItemView* menu,
52 virtual bool IsTriggerableEvent(MenuItemView* source,
60 virtual void SelectionChanged(MenuItemView* menu) OVERRIDE
    [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; }
145 friend class MenuItemView;
186 MenuItemView* item;
195 MenuItemView::AnchorPosition anchor;
231 MenuItemView* menu;
235 MenuItemView* parent;
248 void SetSelection(MenuItemView* menu_item, int types)
    [all...]
menu_runner.h 29 // owning the MenuItemView. RunMenuAt() runs a nested message loop. It is safe
31 // MenuItemView *after* the nested message loop completes. If MenuRunner is
77 explicit MenuRunner(MenuItemView* menu);
81 MenuItemView* GetMenu();
86 void OwnMenu(MenuItemView* menu);
97 MenuItemView::AnchorPosition anchor,
submenu_view.h 18 class MenuItemView;
43 explicit SubmenuView(MenuItemView* parent);
50 // Returns the MenuItemView at the specified index.
51 MenuItemView* GetMenuItemAt(int index);
116 MenuItemView* GetMenuItem() const;
119 void SetDropMenuItem(MenuItemView* item,
125 bool GetShowSelection(MenuItemView* item);
165 MenuItemView* item,
168 void SchedulePaintForDropIndicator(MenuItemView* item,
172 gfx::Rect CalculateDropIndicatorBounds(MenuItemView* item
    [all...]
menu_item_view.h 45 // MenuItemView --------------------------------------------------------------
47 // MenuItemView represents a single menu item with a label and optional icon.
48 // Each MenuItemView may also contain a submenu, which in turn may contain
51 // To use a menu create an initial MenuItemView using the constructor that
55 // MenuItemView is itself a View, which means you can add Views to each
56 // MenuItemView. This is normally NOT want you want, rather add other child
57 // Views to the submenu of the MenuItemView. Any child views of the MenuItemView
67 class VIEWS_EXPORT MenuItemView : public View {
136 explicit MenuItemView(MenuDelegate* delegate)
    [all...]
menu_runner.cc 27 void RecordSelectedIndexes(const MenuItemView* menu_item) {
30 const MenuItemView* parent = menu_item->GetParentMenuItem();
45 void RecordMenuStats(MenuItemView* result, base::TimeDelta time_elapsed) {
62 explicit MenuRunnerImpl(MenuItemView* menu);
64 MenuItemView* menu() { return menu_; }
75 MenuItemView::AnchorPosition anchor,
84 virtual void DropMenuClosed(NotifyType type, MenuItemView* menu) OVERRIDE;
85 virtual void SiblingMenuCreated(MenuItemView* menu) OVERRIDE;
92 MenuRunner::RunResult MenuDone(MenuItemView* result, int mouse_event_flags);
99 MenuItemView* menu_
    [all...]
menu_model_adapter.cc 25 void MenuModelAdapter::BuildMenu(MenuItemView* menu) {
47 MenuItemView* MenuModelAdapter::CreateMenu() {
48 MenuItemView* item = new MenuItemView(this);
53 MenuItemView* MenuModelAdapter::AppendMenuItem(MenuItemView* menu,
84 bool MenuModelAdapter::IsTriggerableEvent(MenuItemView* source,
145 void MenuModelAdapter::SelectionChanged(MenuItemView* menu) {
161 void MenuModelAdapter::WillShowMenu(MenuItemView* menu) {
163 const std::map<MenuItemView*, ui::MenuModel*>::const_iterator map_iterator
    [all...]
  /external/chromium_org/chrome/browser/ui/views/bookmarks/
bookmark_menu_controller_views.h 68 views::MenuItemView* menu() const;
71 views::MenuItemView* context_menu() const;
80 virtual bool IsTriggerableEvent(views::MenuItemView* view,
87 views::MenuItemView* menu,
90 virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE;
91 virtual bool CanDrop(views::MenuItemView* menu,
93 virtual int GetDropOperation(views::MenuItemView* item,
96 virtual int OnPerformDrop(views::MenuItemView* menu,
99 virtual bool ShowContextMenu(views::MenuItemView* source,
103 virtual void DropMenuClosed(views::MenuItemView* menu) OVERRIDE
    [all...]
bookmark_menu_delegate.h 31 class MenuItemView;
36 // bookmarks in a MenuItemView. BookmarkMenuDelegate informally implements
61 views::MenuItemView* parent,
78 views::MenuItemView* menu() const { return menu_; }
81 views::MenuItemView* context_menu() const {
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 31 using views::MenuItemView;
55 MenuItemView::AnchorPosition anchor;
78 MenuItemView* BookmarkMenuController::menu() const {
82 MenuItemView* BookmarkMenuController::context_menu() const {
95 bool BookmarkMenuController::IsTriggerableEvent(views::MenuItemView* menu,
110 MenuItemView* menu,
116 bool BookmarkMenuController::AreDropTypesRequired(MenuItemView* menu) {
120 bool BookmarkMenuController::CanDrop(MenuItemView* menu,
126 MenuItemView* item,
132 int BookmarkMenuController::OnPerformDrop(MenuItemView* menu
    [all...]
bookmark_menu_delegate.cc 36 using views::MenuItemView;
65 MenuItemView* parent,
123 bool BookmarkMenuDelegate::IsTriggerableEvent(views::MenuItemView* menu,
150 MenuItemView* menu,
158 bool BookmarkMenuDelegate::AreDropTypesRequired(MenuItemView* menu) {
162 bool BookmarkMenuDelegate::CanDrop(MenuItemView* menu,
196 MenuItemView* item,
239 MenuItemView* menu,
277 bool BookmarkMenuDelegate::ShowContextMenu(MenuItemView* source,
303 bool BookmarkMenuDelegate::CanDrag(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/
wrench_menu.h 28 class MenuItemView;
62 virtual bool IsTriggerableEvent(views::MenuItemView* menu,
65 views::MenuItemView* menu,
68 virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE;
69 virtual bool CanDrop(views::MenuItemView* menu,
71 virtual int GetDropOperation(views::MenuItemView* item,
74 virtual int OnPerformDrop(views::MenuItemView* menu,
77 virtual bool ShowContextMenu(views::MenuItemView* source,
81 virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE;
82 virtual void WriteDragData(views::MenuItemView* sender
    [all...]
  /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;
  /external/chromium_org/ui/app_list/views/
app_list_menu_views.cc 18 using views::MenuItemView;
73 class CurrentUserMenuItem : public MenuItemView {
75 CurrentUserMenuItem(MenuItemView* parent,
80 : MenuItemView(parent, id, MenuItemView::NORMAL) {
97 virtual MenuItemView* AppendMenuItem(MenuItemView* menu,
108 MenuItemView* item = new CurrentUserMenuItem(
130 menu_ = new MenuItemView(menu_delegate_.get());
141 MenuItemView::TOPRIGHT
    [all...]

Completed in 363 milliseconds

1 2 3 4