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

Side by Side Diff: chrome/browser/tab_contents/web_drag_dest_gtk.h

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | chrome/browser/task_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_GTK_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_GTK_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_GTK_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "webkit/api/public/WebDragOperation.h" 12 #include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
13 #include "webkit/glue/webdropdata.h" 13 #include "webkit/glue/webdropdata.h"
14 14
15 class TabContents; 15 class TabContents;
16 16
17 // A helper class that handles DnD for drops in the renderer. In GTK parlance, 17 // A helper class that handles DnD for drops in the renderer. In GTK parlance,
18 // this handles destination-side DnD, but not source-side DnD. 18 // this handles destination-side DnD, but not source-side DnD.
19 class WebDragDestGtk { 19 class WebDragDestGtk {
20 public: 20 public:
21 WebDragDestGtk(TabContents* tab_contents, GtkWidget* widget); 21 WebDragDestGtk(TabContents* tab_contents, GtkWidget* widget);
22 ~WebDragDestGtk(); 22 ~WebDragDestGtk();
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // destroyed, but we have to cancel the handler if we are destroyed before 96 // destroyed, but we have to cancel the handler if we are destroyed before
97 // |widget_| is. 97 // |widget_| is.
98 int destroy_handler_; 98 int destroy_handler_;
99 99
100 ScopedRunnableMethodFactory<WebDragDestGtk> method_factory_; 100 ScopedRunnableMethodFactory<WebDragDestGtk> method_factory_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(WebDragDestGtk); 102 DISALLOW_COPY_AND_ASSIGN(WebDragDestGtk);
103 }; 103 };
104 104
105 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_GTK_H_ 105 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | chrome/browser/task_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698