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

Unified Diff: ui/shell_dialogs/select_file_dialog_win.cc

Issue 1081103008: Update {virtual,override} to follow C++11 style in ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/event_target_iterator.h ('k') | ui/views/widget/widget_interactive_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell_dialogs/select_file_dialog_win.cc
diff --git a/ui/shell_dialogs/select_file_dialog_win.cc b/ui/shell_dialogs/select_file_dialog_win.cc
index 7218d68b99caf727ce70736ec4f431ce685a437e..2ada0ce1f69b2227e35bf2b8e523101b119597c4 100644
--- a/ui/shell_dialogs/select_file_dialog_win.cc
+++ b/ui/shell_dialogs/select_file_dialog_win.cc
@@ -166,12 +166,12 @@ class SelectFileDialogImpl : public ui::SelectFileDialog,
const base::Callback<bool(OPENFILENAME*)>& get_save_file_name_impl);
// BaseShellDialog implementation:
- virtual bool IsRunning(gfx::NativeWindow owning_window) const override;
- virtual void ListenerDestroyed() override;
+ bool IsRunning(gfx::NativeWindow owning_window) const override;
+ void ListenerDestroyed() override;
protected:
// SelectFileDialog implementation:
- virtual void SelectFileImpl(
+ void SelectFileImpl(
Type type,
const base::string16& title,
const base::FilePath& default_path,
@@ -182,7 +182,7 @@ class SelectFileDialogImpl : public ui::SelectFileDialog,
void* params) override;
private:
- virtual ~SelectFileDialogImpl();
+ ~SelectFileDialogImpl() override;
// A struct for holding all the state necessary for displaying a Save dialog.
struct ExecuteSelectParams {
@@ -287,7 +287,7 @@ class SelectFileDialogImpl : public ui::SelectFileDialog,
LPARAM parameter,
LPARAM data);
- virtual bool HasMultipleFileTypeChoicesImpl() override;
+ bool HasMultipleFileTypeChoicesImpl() override;
// Returns the filter to be used while displaying the open/save file dialog.
// This is computed from the extensions for the file types being opened.
« no previous file with comments | « ui/events/event_target_iterator.h ('k') | ui/views/widget/widget_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698