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

Unified Diff: content/public/browser/web_drag_dest_delegate.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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: content/public/browser/web_drag_dest_delegate.h
diff --git a/content/public/browser/web_drag_dest_delegate.h b/content/public/browser/web_drag_dest_delegate.h
index b1d4c6142d4adfeaddce40c55a8a3911ec1473e6..0f13c947800f0263de76d0073d0c3b20a6932c54 100644
--- a/content/public/browser/web_drag_dest_delegate.h
+++ b/content/public/browser/web_drag_dest_delegate.h
@@ -5,10 +5,6 @@
#ifndef CONTENT_PUBLIC_BROWSER_WEB_DRAG_DEST_DELEGATE_H_
#define CONTENT_PUBLIC_BROWSER_WEB_DRAG_DEST_DELEGATE_H_
-#if defined(TOOLKIT_GTK)
-#include <gtk/gtk.h>
-#endif // TOOLKIT_GTK
-
#include "base/strings/string16.h"
class GURL;
@@ -36,20 +32,11 @@ class WebDragDestDelegate {
// This should also clear any state kept about this drag.
virtual void OnDragLeave() = 0;
-#if defined(TOOLKIT_GTK)
- // Returns the bookmark atom type. GTK and Views return different values here.
- virtual GdkAtom GetBookmarkTargetAtom() const = 0;
-
- // Called when WebDragDestkGtk detects that there's bookmark data in a
- // drag. Not every drag will trigger these.
- virtual void OnReceiveDataFromGtk(GtkSelectionData* data) = 0;
- virtual void OnReceiveProcessedData(const GURL& url,
- const base::string16& title) = 0;
-#elif defined(USE_AURA)
+#if defined(USE_AURA)
// Called at the start of every drag to supply the data associated with the
// drag.
virtual void OnReceiveDragData(const ui::OSExchangeData& data) = 0;
-#endif // TOOLKIT_GTK
+#endif // USE_AURA
virtual ~WebDragDestDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698