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

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

Issue 1708013: GTK: make more use of gtk_signal convenience macros/signal registrar. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 7 months 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/gtk_signal.h" 10 #include "app/gtk_signal.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 // The file mime type for a drag-out download. 84 // The file mime type for a drag-out download.
85 string16 wide_download_mime_type_; 85 string16 wide_download_mime_type_;
86 86
87 // The file name to be saved to for a drag-out download. 87 // The file name to be saved to for a drag-out download.
88 FilePath download_file_name_; 88 FilePath download_file_name_;
89 89
90 // The URL to download from for a drag-out download. 90 // The URL to download from for a drag-out download.
91 GURL download_url_; 91 GURL download_url_;
92 92
93 // The widget that provides visual feedback for the drag. We use this instead 93 // The widget that provides visual feedback for the drag.
94 // of gtk_drag_set_icon_pixbuf() because some window managers will use shadows
95 // or other visual effects on top level windows.
96 GtkWidget* drag_icon_; 94 GtkWidget* drag_icon_;
97 95
96 GtkSignalRegistrar signals_;
97
98 DISALLOW_COPY_AND_ASSIGN(TabContentsDragSource); 98 DISALLOW_COPY_AND_ASSIGN(TabContentsDragSource);
99 }; 99 };
100 100
101 #endif // CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_ 101 #endif // CHROME_BROWSER_GTK_TAB_CONTENTS_DRAG_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698