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

Side by Side Diff: chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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) 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 CHROME_BROWSER_UI_LIBGTK2UI_SELECT_FILE_DIALOG_IMPL_H_ 7 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_SELECT_FILE_DIALOG_IMPL_H_
8 #define CHROME_BROWSER_UI_LIBGTK2UI_SELECT_FILE_DIALOG_IMPL_H_ 8 #define CHROME_BROWSER_UI_LIBGTK2UI_SELECT_FILE_DIALOG_IMPL_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 21 matching lines...) Expand all
32 static SelectFileDialogImpl* NewSelectFileDialogImplKDE( 32 static SelectFileDialogImpl* NewSelectFileDialogImplKDE(
33 Listener* listener, 33 Listener* listener,
34 ui::SelectFilePolicy* policy, 34 ui::SelectFilePolicy* policy,
35 base::nix::DesktopEnvironment desktop); 35 base::nix::DesktopEnvironment desktop);
36 36
37 // Returns true if the SelectFileDialog class returned by 37 // Returns true if the SelectFileDialog class returned by
38 // NewSelectFileDialogImplKDE will actually work. 38 // NewSelectFileDialogImplKDE will actually work.
39 static bool CheckKDEDialogWorksOnUIThread(); 39 static bool CheckKDEDialogWorksOnUIThread();
40 40
41 // BaseShellDialog implementation. 41 // BaseShellDialog implementation.
42 virtual void ListenerDestroyed() OVERRIDE; 42 virtual void ListenerDestroyed() override;
43 43
44 protected: 44 protected:
45 explicit SelectFileDialogImpl(Listener* listener, 45 explicit SelectFileDialogImpl(Listener* listener,
46 ui::SelectFilePolicy* policy); 46 ui::SelectFilePolicy* policy);
47 virtual ~SelectFileDialogImpl(); 47 virtual ~SelectFileDialogImpl();
48 48
49 // SelectFileDialog implementation. 49 // SelectFileDialog implementation.
50 // |params| is user data we pass back via the Listener interface. 50 // |params| is user data we pass back via the Listener interface.
51 virtual void SelectFileImpl( 51 virtual void SelectFileImpl(
52 Type type, 52 Type type,
(...skipping 25 matching lines...) Expand all
78 // file so that we can display future dialogs with the same starting path. 78 // file so that we can display future dialogs with the same starting path.
79 static base::FilePath* last_saved_path_; 79 static base::FilePath* last_saved_path_;
80 static base::FilePath* last_opened_path_; 80 static base::FilePath* last_opened_path_;
81 81
82 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogImpl); 82 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogImpl);
83 }; 83 };
84 84
85 } // namespace libgtk2ui 85 } // namespace libgtk2ui
86 86
87 #endif // CHROME_BROWSER_UI_LIBGTK2UI_SELECT_FILE_DIALOG_IMPL_H_ 87 #endif // CHROME_BROWSER_UI_LIBGTK2UI_SELECT_FILE_DIALOG_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h ('k') | chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698