Chromium Code Reviews

Side by Side Diff: chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | 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 CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/base/gtk/gtk_signal.h" 9 #include "ui/base/gtk/gtk_signal.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 11
12 class Browser; 12 class Browser;
13 13
14 class DownloadInProgressDialogGtk { 14 class DownloadInProgressDialogGtk {
15 public: 15 public:
16 static void Show(Browser* browser, gfx::NativeWindow parent_window); 16 static void Show(Browser* browser, gfx::NativeWindow parent_window);
17 17
18 private: 18 private:
19 explicit DownloadInProgressDialogGtk(Browser* browser, 19 DownloadInProgressDialogGtk(Browser* browser,
20 gfx::NativeWindow parent_window); 20 gfx::NativeWindow parent_window);
21 ~DownloadInProgressDialogGtk(); 21 ~DownloadInProgressDialogGtk();
22 22
23 CHROMEGTK_CALLBACK_1(DownloadInProgressDialogGtk, void, OnResponse, int); 23 CHROMEGTK_CALLBACK_1(DownloadInProgressDialogGtk, void, OnResponse, int);
24 24
25 Browser* browser_; 25 Browser* browser_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogGtk); 27 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogGtk);
28 }; 28 };
29 29
30 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ 30 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h ('k') | chrome/browser/ui/gtk/ssl_client_certificate_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine