Chromium Code Reviews

Side by Side Diff: chrome/browser/gtk/tab_contents_drag_source.h

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gtk/tab_contents_container_gtk.cc ('k') | chrome/browser/importer/importer.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_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 "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "base/gfx/native_widget_types.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "webkit/api/public/WebDragOperation.h" 13 #include "webkit/api/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 {
(...skipping 56 matching lines...)
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/tab_contents_container_gtk.cc ('k') | chrome/browser/importer/importer.h » ('j') | no next file with comments »

Powered by Google App Engine