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

Side by Side Diff: chrome/browser/gtk/tab_contents_drag_source.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
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_GTK_TAB_CONTENTS_DRAG_SOURCE_H_ 5 #ifndef CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_
6 #define CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_ 6 #define CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "app/gfx/native_widget_types.h" 10 #include "app/gfx/native_widget_types.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "webkit/api/public/WebDragOperation.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
14 14
15 class TabContents; 15 class TabContents;
16 class TabContentsView; 16 class TabContentsView;
17 struct WebDropData; 17 struct WebDropData;
18 18
19 // TabContentsDragSource takes care of managing the drag from a TabContents 19 // TabContentsDragSource takes care of managing the drag from a TabContents
20 // with Gtk. 20 // with Gtk.
21 class TabContentsDragSource : public MessageLoopForUI::Observer { 21 class TabContentsDragSource : public MessageLoopForUI::Observer {
22 public: 22 public:
23 explicit TabContentsDragSource(TabContentsView* tab_contents_view); 23 explicit TabContentsDragSource(TabContentsView* tab_contents_view);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // This is the widget we use to initiate drags. Since we don't use the 79 // This is the widget we use to initiate drags. Since we don't use the
80 // renderer widget, we can persist drags even when our contents is switched 80 // renderer widget, we can persist drags even when our contents is switched
81 // out. 81 // out.
82 GtkWidget* drag_widget_; 82 GtkWidget* drag_widget_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(TabContentsDragSource); 84 DISALLOW_COPY_AND_ASSIGN(TabContentsDragSource);
85 }; 85 };
86 86
87 #endif // CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_ 87 #endif // CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/find_bar_gtk.cc ('k') | chrome/browser/in_process_webkit/browser_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698