diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 03:20:55 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 03:20:55 +0000 |
commit | 2b9277dc6dd0ed8426078b3afb48cd1383df8fbe (patch) | |
tree | 6cf736441cc877fe4fff0968bcb2f669e441f025 /views/controls/menu/submenu_view.h | |
parent | 31cc2fdd5f43c4c6a0c0ebe0679458ecb3ba1593 (diff) | |
download | chromium_src-2b9277dc6dd0ed8426078b3afb48cd1383df8fbe.zip chromium_src-2b9277dc6dd0ed8426078b3afb48cd1383df8fbe.tar.gz chromium_src-2b9277dc6dd0ed8426078b3afb48cd1383df8fbe.tar.bz2 |
Wires up drag and drop for bookmark menus and cleans up a couple of
minor painting issues.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/199050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/submenu_view.h')
-rw-r--r-- | views/controls/menu/submenu_view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/menu/submenu_view.h b/views/controls/menu/submenu_view.h index 5547b8e..c8bce96 100644 --- a/views/controls/menu/submenu_view.h +++ b/views/controls/menu/submenu_view.h @@ -56,6 +56,10 @@ class SubmenuView : public View { void PaintChildren(gfx::Canvas* canvas); // Drag and drop methods. These are forwarded to the MenuController. + virtual bool GetDropFormats( + int* formats, + std::set<OSExchangeData::CustomFormat>* custom_formats); + virtual bool AreDropTypesRequired(); virtual bool CanDrop(const OSExchangeData& data); virtual void OnDragEntered(const DropTargetEvent& event); virtual int OnDragUpdated(const DropTargetEvent& event); |