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

Unified Diff: content/browser/tab_contents/web_drag_dest_gtk.h

Issue 8429005: Tweak the WebDragDestDelegate to be useful for more than GTK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TOOLKIT_USES_GTK 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
Index: content/browser/tab_contents/web_drag_dest_gtk.h
diff --git a/content/browser/tab_contents/web_drag_dest_gtk.h b/content/browser/tab_contents/web_drag_dest_gtk.h
index b0750bd4381b36ff32b88dfc26795ae0a88d4b54..88f92268cf6c8be93a7e426da6912addf5143600 100644
--- a/content/browser/tab_contents/web_drag_dest_gtk.h
+++ b/content/browser/tab_contents/web_drag_dest_gtk.h
@@ -20,7 +20,7 @@ class TabContents;
namespace content {
-class WebDragDestDelegateGtk;
+class WebDragDestDelegate;
// A helper class that handles DnD for drops in the renderer. In GTK parlance,
// this handles destination-side DnD, but not source-side DnD.
@@ -37,8 +37,8 @@ class CONTENT_EXPORT WebDragDestGtk {
// See OnDragLeave().
void DragLeave();
- WebDragDestDelegateGtk* delegate() const { return delegate_; }
- void set_delegate(WebDragDestDelegateGtk* delegate) { delegate_ = delegate; }
+ WebDragDestDelegate* delegate() const { return delegate_; }
+ void set_delegate(WebDragDestDelegate* delegate) { delegate_ = delegate; }
private:
// Called when a system drag crosses over the render view. As there is no drag
@@ -94,7 +94,7 @@ class CONTENT_EXPORT WebDragDestGtk {
int destroy_handler_;
// A delegate that can receive drag information about drag events.
- WebDragDestDelegateGtk* delegate_;
+ WebDragDestDelegate* delegate_;
ScopedRunnableMethodFactory<WebDragDestGtk> method_factory_;
« no previous file with comments | « content/browser/tab_contents/web_drag_dest_delegate_gtk.h ('k') | content/browser/tab_contents/web_drag_dest_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698