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

Side by Side Diff: ui/base/dialogs/gtk/select_file_dialog_impl.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. 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 // This file implements common select dialog functionality between GTK and KDE. 5 // This file implements common select dialog functionality between GTK and KDE.
6 6
7 #ifndef UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_ 7 #ifndef UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_
8 #define UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_ 8 #define UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 19 matching lines...) Expand all
30 30
31 // Returns true if the SelectFileDialog class returned by 31 // Returns true if the SelectFileDialog class returned by
32 // NewSelectFileDialogImplKDE will actually work. 32 // NewSelectFileDialogImplKDE will actually work.
33 static bool CheckKDEDialogWorksOnUIThread(); 33 static bool CheckKDEDialogWorksOnUIThread();
34 34
35 // BaseShellDialog implementation. 35 // BaseShellDialog implementation.
36 virtual bool IsRunning(gfx::NativeWindow parent_window) const OVERRIDE; 36 virtual bool IsRunning(gfx::NativeWindow parent_window) const OVERRIDE;
37 virtual void ListenerDestroyed() OVERRIDE; 37 virtual void ListenerDestroyed() OVERRIDE;
38 38
39 protected: 39 protected:
40 explicit SelectFileDialogImpl(Listener* listener, 40 SelectFileDialogImpl(Listener* listener,
41 ui::SelectFilePolicy* policy); 41 ui::SelectFilePolicy* policy);
42 virtual ~SelectFileDialogImpl(); 42 virtual ~SelectFileDialogImpl();
43 43
44 // SelectFileDialog implementation. 44 // SelectFileDialog implementation.
45 // |params| is user data we pass back via the Listener interface. 45 // |params| is user data we pass back via the Listener interface.
46 virtual void SelectFileImpl(Type type, 46 virtual void SelectFileImpl(Type type,
47 const string16& title, 47 const string16& title,
48 const FilePath& default_path, 48 const FilePath& default_path,
49 const FileTypeInfo* file_types, 49 const FileTypeInfo* file_types,
50 int file_type_index, 50 int file_type_index,
51 const FilePath::StringType& default_extension, 51 const FilePath::StringType& default_extension,
(...skipping 27 matching lines...) Expand all
79 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogImpl); 79 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogImpl);
80 }; 80 };
81 81
82 SelectFileDialog* CreateLinuxSelectFileDialog( 82 SelectFileDialog* CreateLinuxSelectFileDialog(
83 SelectFileDialog::Listener* listener, 83 SelectFileDialog::Listener* listener,
84 SelectFilePolicy* policy); 84 SelectFilePolicy* policy);
85 85
86 } // namespace ui 86 } // namespace ui
87 87
88 #endif // UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_ 88 #endif // UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/test/test_internal_components_factory.h ('k') | ui/base/dialogs/gtk/select_file_dialog_impl_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698