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

Unified Diff: chrome/browser/views/bookmark_menu_controller_views.h

Issue 199050: Wires up drag and drop for bookmark menus and cleans up a couple of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/bookmark_menu_controller_views.h
===================================================================
--- chrome/browser/views/bookmark_menu_controller_views.h (revision 25647)
+++ chrome/browser/views/bookmark_menu_controller_views.h (working copy)
@@ -72,6 +72,11 @@
// MenuDelegate methods.
virtual bool IsTriggerableEvent(const views::MouseEvent& e);
virtual void ExecuteCommand(int id, int mouse_event_flags);
+ virtual bool GetDropFormats(
+ views::MenuItemView* menu,
+ int* formats,
+ std::set<OSExchangeData::CustomFormat>* custom_formats);
+ virtual bool AreDropTypesRequired(views::MenuItemView* menu);
virtual bool CanDrop(views::MenuItemView* menu, const OSExchangeData& data);
virtual int GetDropOperation(views::MenuItemView* item,
const views::DropTargetEvent& event,
« no previous file with comments | « no previous file | chrome/browser/views/bookmark_menu_controller_views.cc » ('j') | views/controls/menu/menu_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698