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

Unified Diff: trunk/src/chrome/browser/ui/views/extensions/browser_action_drag_data.h

Issue 416903002: Revert 285142 "Open the WrenchMenu on mouseover when dragging a ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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: trunk/src/chrome/browser/ui/views/extensions/browser_action_drag_data.h
===================================================================
--- trunk/src/chrome/browser/ui/views/extensions/browser_action_drag_data.h (revision 285300)
+++ trunk/src/chrome/browser/ui/views/extensions/browser_action_drag_data.h (working copy)
@@ -21,20 +21,12 @@
BrowserActionDragData();
BrowserActionDragData(const std::string& id, int index);
- // These mirror the views::View and views::MenuDelegate methods for dropping,
- // and return the appropriate results for being able to drop an extension's
- // BrowserAction view.
- static bool GetDropFormats(
- std::set<ui::OSExchangeData::CustomFormat>* custom_formats);
- static bool AreDropTypesRequired();
- static bool CanDrop(const ui::OSExchangeData& data, const Profile* profile);
-
const std::string& id() const { return id_; }
size_t index() const { return index_; }
// Returns true if this data is from the specified profile.
- bool IsFromProfile(const Profile* profile) const;
+ bool IsFromProfile(Profile* profile) const;
#if defined(TOOLKIT_VIEWS)
void Write(Profile* profile, ui::OSExchangeData* data) const;
@@ -59,6 +51,9 @@
// The index of the view being dragged.
size_t index_;
+ // The MIME type for the clipboard format for BrowserActionDragData.
+ static const char* kClipboardFormatString;
+
DISALLOW_COPY_AND_ASSIGN(BrowserActionDragData);
};

Powered by Google App Engine
This is Rietveld 408576698