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

Unified Diff: ui/shell_dialogs/select_file_dialog_android.h

Issue 897223003: Update {virtual,override,final} to follow C++11 style in ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/native_theme/native_theme_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell_dialogs/select_file_dialog_android.h
diff --git a/ui/shell_dialogs/select_file_dialog_android.h b/ui/shell_dialogs/select_file_dialog_android.h
index 90abdbb4b5fe835e8d41fb9f0cc9e1f3e6830b98..9aee3fd39311e1b7854a8a89cc3005dba404838c 100644
--- a/ui/shell_dialogs/select_file_dialog_android.h
+++ b/ui/shell_dialogs/select_file_dialog_android.h
@@ -31,31 +31,30 @@ class SelectFileDialogImpl : public SelectFileDialog {
void OnFileNotSelected(JNIEnv* env, jobject java_object);
// From SelectFileDialog
- virtual bool IsRunning(gfx::NativeWindow) const override;
- virtual void ListenerDestroyed() override;
+ bool IsRunning(gfx::NativeWindow) const override;
+ void ListenerDestroyed() override;
// Called when it is time to display the file picker.
// params is expected to be a vector<string16> with accept_types first and
// the capture value as the last element of the vector.
- virtual void SelectFileImpl(
- SelectFileDialog::Type type,
- const base::string16& title,
- const base::FilePath& default_path,
- const SelectFileDialog::FileTypeInfo* file_types,
- int file_type_index,
- const std::string& default_extension,
- gfx::NativeWindow owning_window,
- void* params) override;
+ void SelectFileImpl(SelectFileDialog::Type type,
+ const base::string16& title,
+ const base::FilePath& default_path,
+ const SelectFileDialog::FileTypeInfo* file_types,
+ int file_type_index,
+ const std::string& default_extension,
+ gfx::NativeWindow owning_window,
+ void* params) override;
static bool RegisterSelectFileDialog(JNIEnv* env);
protected:
- virtual ~SelectFileDialogImpl();
+ ~SelectFileDialogImpl() override;
private:
SelectFileDialogImpl(Listener* listener, SelectFilePolicy* policy);
- virtual bool HasMultipleFileTypeChoicesImpl() override;
+ bool HasMultipleFileTypeChoicesImpl() override;
base::android::ScopedJavaGlobalRef<jobject> java_object_;
« no previous file with comments | « ui/native_theme/native_theme_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698