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() {} |
}; |