Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 const ui::Event& e) OVERRIDE; 81 const ui::Event& e) OVERRIDE;
82 virtual void ExecuteCommand(int id, int mouse_event_flags) OVERRIDE; 82 virtual void ExecuteCommand(int id, int mouse_event_flags) OVERRIDE;
83 virtual bool GetDropFormats( 83 virtual bool GetDropFormats(
84 views::MenuItemView* menu, 84 views::MenuItemView* menu,
85 int* formats, 85 int* formats,
86 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE; 86 std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE;
87 virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE; 87 virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE;
88 virtual bool CanDrop(views::MenuItemView* menu, 88 virtual bool CanDrop(views::MenuItemView* menu,
89 const ui::OSExchangeData& data) OVERRIDE; 89 const ui::OSExchangeData& data) OVERRIDE;
90 virtual int GetDropOperation(views::MenuItemView* item, 90 virtual int GetDropOperation(views::MenuItemView* item,
91 const views::DropTargetEvent& event, 91 const ui::DropTargetEvent& event,
92 DropPosition* position) OVERRIDE; 92 DropPosition* position) OVERRIDE;
93 virtual int OnPerformDrop(views::MenuItemView* menu, 93 virtual int OnPerformDrop(views::MenuItemView* menu,
94 DropPosition position, 94 DropPosition position,
95 const views::DropTargetEvent& event) OVERRIDE; 95 const ui::DropTargetEvent& event) OVERRIDE;
96 virtual bool ShowContextMenu(views::MenuItemView* source, 96 virtual bool ShowContextMenu(views::MenuItemView* source,
97 int id, 97 int id,
98 const gfx::Point& p, 98 const gfx::Point& p,
99 bool is_mouse_gesture) OVERRIDE; 99 bool is_mouse_gesture) OVERRIDE;
100 virtual void DropMenuClosed(views::MenuItemView* menu) OVERRIDE; 100 virtual void DropMenuClosed(views::MenuItemView* menu) OVERRIDE;
101 virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE; 101 virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE;
102 virtual void WriteDragData(views::MenuItemView* sender, 102 virtual void WriteDragData(views::MenuItemView* sender,
103 ui::OSExchangeData* data) OVERRIDE; 103 ui::OSExchangeData* data) OVERRIDE;
104 virtual int GetDragOperations(views::MenuItemView* sender) OVERRIDE; 104 virtual int GetDragOperations(views::MenuItemView* sender) OVERRIDE;
105 virtual views::MenuItemView* GetSiblingMenu( 105 virtual views::MenuItemView* GetSiblingMenu(
(...skipping 28 matching lines...) Expand all
134 bool for_drop_; 134 bool for_drop_;
135 135
136 // The bookmark bar. This is only non-null if we're showing a menu item 136 // The bookmark bar. This is only non-null if we're showing a menu item
137 // for a folder on the bookmark bar and not for drop. 137 // for a folder on the bookmark bar and not for drop.
138 BookmarkBarView* bookmark_bar_; 138 BookmarkBarView* bookmark_bar_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); 140 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController);
141 }; 141 };
142 142
143 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ 143 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698