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

Unified Diff: chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h

Issue 8384015: Revert "Tweak the WebDragDestDelegate to be useful for more than GTK." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | content/browser/tab_contents/web_drag_dest_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h
diff --git a/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h b/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h
index ed06be650b0714e8cccfc4a91d1b9f7d3d7b0ec7..3c59574dc5f5829a3dc09fc36232f97d3838b987 100644
--- a/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h
+++ b/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h
@@ -6,29 +6,28 @@
#define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_
#pragma once
-#include "base/compiler_specific.h"
#include "chrome/browser/bookmarks/bookmark_node_data.h"
-#include "content/browser/tab_contents/web_drag_dest_delegate.h"
+#include "content/browser/tab_contents/web_drag_dest_delegate_gtk.h"
class TabContentsWrapper;
// Chrome needs to intercept content drag events so it can dispatch them to the
// bookmarks and extensions system.
-class WebDragBookmarkHandlerGtk : public content::WebDragDestDelegate {
+class WebDragBookmarkHandlerGtk : public content::WebDragDestDelegateGtk {
public:
WebDragBookmarkHandlerGtk();
virtual ~WebDragBookmarkHandlerGtk();
// Overridden from WebDragBookmarkDelegate:
- virtual void DragInitialize(TabContents* contents) OVERRIDE;
- virtual GdkAtom GetBookmarkTargetAtom() const OVERRIDE;
- virtual void OnReceiveDataFromGtk(GtkSelectionData* data) OVERRIDE;
+ virtual void DragInitialize(TabContents* contents);
+ virtual GdkAtom GetBookmarkTargetAtom() const;
+ virtual void OnReceiveDataFromGtk(GtkSelectionData* data);
virtual void OnReceiveProcessedData(const GURL& url,
- const string16& title) OVERRIDE;
- virtual void OnDragOver() OVERRIDE;
- virtual void OnDragEnter() OVERRIDE;
- virtual void OnDrop() OVERRIDE;
- virtual void OnDragLeave() OVERRIDE;
+ const string16& title);
+ virtual void OnDragOver();
+ virtual void OnDragEnter();
+ virtual void OnDrop();
+ virtual void OnDragLeave();
private:
// The TabContentsWrapper for |tab_contents_|.
« no previous file with comments | « no previous file | content/browser/tab_contents/web_drag_dest_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698