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

Side by Side Diff: content/browser/web_contents/web_drag_dest_gtk.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_DEST_GTK_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_DEST_GTK_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_DEST_GTK_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_DEST_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 14 matching lines...) Expand all
25 // this handles destination-side DnD, but not source-side DnD. 25 // this handles destination-side DnD, but not source-side DnD.
26 class CONTENT_EXPORT WebDragDestGtk { 26 class CONTENT_EXPORT WebDragDestGtk {
27 public: 27 public:
28 WebDragDestGtk(WebContents* web_contents, GtkWidget* widget); 28 WebDragDestGtk(WebContents* web_contents, GtkWidget* widget);
29 ~WebDragDestGtk(); 29 ~WebDragDestGtk();
30 30
31 DropData* current_drop_data() const { return drop_data_.get(); } 31 DropData* current_drop_data() const { return drop_data_.get(); }
32 32
33 // This is called when the renderer responds to a drag motion event. We must 33 // This is called when the renderer responds to a drag motion event. We must
34 // update the system drag cursor. 34 // update the system drag cursor.
35 void UpdateDragStatus(WebKit::WebDragOperation operation); 35 void UpdateDragStatus(blink::WebDragOperation operation);
36 36
37 // Informs the renderer when a system drag has left the render view. 37 // Informs the renderer when a system drag has left the render view.
38 // See OnDragLeave(). 38 // See OnDragLeave().
39 void DragLeave(); 39 void DragLeave();
40 40
41 WebDragDestDelegate* delegate() const { return delegate_; } 41 WebDragDestDelegate* delegate() const { return delegate_; }
42 void set_delegate(WebDragDestDelegate* delegate) { delegate_ = delegate; } 42 void set_delegate(WebDragDestDelegate* delegate) { delegate_ = delegate; }
43 43
44 GtkWidget* widget() const { return widget_; } 44 GtkWidget* widget() const { return widget_; }
45 45
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 bool canceled_; 105 bool canceled_;
106 106
107 base::WeakPtrFactory<WebDragDestGtk> method_factory_; 107 base::WeakPtrFactory<WebDragDestGtk> method_factory_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(WebDragDestGtk); 109 DISALLOW_COPY_AND_ASSIGN(WebDragDestGtk);
110 }; 110 };
111 111
112 } // namespace content 112 } // namespace content
113 113
114 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_DEST_GTK_H_ 114 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_DEST_GTK_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.cc ('k') | content/browser/web_contents/web_drag_dest_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698