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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_SOURCE_GTK_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_SOURCE_GTK_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_SOURCE_GTK_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_SOURCE_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // renderer widget, we can persist drags even when our contents is switched 85 // renderer widget, we can persist drags even when our contents is switched
86 // out. We can't use an OwnedWidgetGtk because the GtkInvisible widget 86 // out. We can't use an OwnedWidgetGtk because the GtkInvisible widget
87 // initialization code sinks the reference. 87 // initialization code sinks the reference.
88 GtkWidget* drag_widget_; 88 GtkWidget* drag_widget_;
89 89
90 // Context created once drag starts. A NULL value indicates that there is 90 // Context created once drag starts. A NULL value indicates that there is
91 // no drag currently in progress. 91 // no drag currently in progress.
92 GdkDragContext* drag_context_; 92 GdkDragContext* drag_context_;
93 93
94 // The file mime type for a drag-out download. 94 // The file mime type for a drag-out download.
95 string16 wide_download_mime_type_; 95 base::string16 wide_download_mime_type_;
96 96
97 // The file name to be saved to for a drag-out download. 97 // The file name to be saved to for a drag-out download.
98 base::FilePath download_file_name_; 98 base::FilePath download_file_name_;
99 99
100 // The URL to download from for a drag-out download. 100 // The URL to download from for a drag-out download.
101 GURL download_url_; 101 GURL download_url_;
102 102
103 // The widget that provides visual feedback for the drag. We can't use 103 // The widget that provides visual feedback for the drag. We can't use
104 // an OwnedWidgetGtk because the GtkWindow initialization code sinks 104 // an OwnedWidgetGtk because the GtkWindow initialization code sinks
105 // the reference. 105 // the reference.
106 GtkWidget* drag_icon_; 106 GtkWidget* drag_icon_;
107 107
108 ui::GtkSignalRegistrar signals_; 108 ui::GtkSignalRegistrar signals_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(WebDragSourceGtk); 110 DISALLOW_COPY_AND_ASSIGN(WebDragSourceGtk);
111 }; 111 };
112 112
113 } // namespace content 113 } // namespace content
114 114
115 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_SOURCE_GTK_H_ 115 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_SOURCE_GTK_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac_unittest.mm ('k') | content/browser/web_contents/web_drag_source_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698