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

Unified Diff: chrome/browser/ui/views/edit_search_engine_dialog.h

Issue 680133002: Standardize usage of virtual/override/final specifiers. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/dropdown_bar_view.cc ('k') | chrome/browser/ui/views/external_protocol_dialog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/edit_search_engine_dialog.h
diff --git a/chrome/browser/ui/views/edit_search_engine_dialog.h b/chrome/browser/ui/views/edit_search_engine_dialog.h
index d8f576dcdf8286522e758c74d850eee8b30ac1de..04379491cd0826ee7410f82d5cb019334915308e 100644
--- a/chrome/browser/ui/views/edit_search_engine_dialog.h
+++ b/chrome/browser/ui/views/edit_search_engine_dialog.h
@@ -30,7 +30,7 @@ class EditSearchEngineDialog : public views::TextfieldController,
EditSearchEngineDialog(TemplateURL* template_url,
EditSearchEngineControllerDelegate* delegate,
Profile* profile);
- virtual ~EditSearchEngineDialog();
+ ~EditSearchEngineDialog() override;
// Shows the dialog to the user.
static void Show(gfx::NativeWindow parent,
@@ -39,19 +39,20 @@ class EditSearchEngineDialog : public views::TextfieldController,
Profile* profile);
// views::DialogDelegate:
- virtual ui::ModalType GetModalType() const override;
- virtual base::string16 GetWindowTitle() const override;
- virtual bool IsDialogButtonEnabled(ui::DialogButton button) const override;
- virtual bool Cancel() override;
- virtual bool Accept() override;
+ ui::ModalType GetModalType() const override;
+ base::string16 GetWindowTitle() const override;
+ bool IsDialogButtonEnabled(ui::DialogButton button) const override;
+ bool Cancel() override;
+ bool Accept() override;
// views::TextfieldController:
// Updates whether the user can accept the dialog as well as updating image
// views showing whether value is valid.
- virtual void ContentsChanged(views::Textfield* sender,
- const base::string16& new_contents) override;
- virtual bool HandleKeyEvent(views::Textfield* sender,
- const ui::KeyEvent& key_event) override;
+ void ContentsChanged(views::Textfield* sender,
+ const base::string16& new_contents) override;
+ bool HandleKeyEvent(views::Textfield* sender,
+ const ui::KeyEvent& key_event) override;
+
private:
void Init();
« no previous file with comments | « chrome/browser/ui/views/dropdown_bar_view.cc ('k') | chrome/browser/ui/views/external_protocol_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698