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

Unified Diff: chrome/browser/ui/views/autofill/expanding_textfield.h

Issue 686543002: 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
Index: chrome/browser/ui/views/autofill/expanding_textfield.h
diff --git a/chrome/browser/ui/views/autofill/expanding_textfield.h b/chrome/browser/ui/views/autofill/expanding_textfield.h
index f2ad7c82fc866407c08fb6783172f5e3cf3c9f8b..88e304b7621bdc60844ea1615615cfff6f7d52a0 100644
--- a/chrome/browser/ui/views/autofill/expanding_textfield.h
+++ b/chrome/browser/ui/views/autofill/expanding_textfield.h
@@ -30,7 +30,7 @@ class ExpandingTextfield : public views::View,
const base::string16& placeholder,
bool multiline,
views::TextfieldController* controller);
- virtual ~ExpandingTextfield();
+ ~ExpandingTextfield() override;
// Sets the contents of the textfields. Textfield n is set to the nth line
// of |text|, as separated by line returns.
@@ -59,16 +59,16 @@ class ExpandingTextfield : public views::View,
void SetTooltipIcon(const base::string16& text);
// View implementation.
- virtual const char* GetClassName() const override;
+ const char* GetClassName() const override;
using views::View::needs_layout;
// TextfieldController implementation.
- virtual void ContentsChanged(views::Textfield* sender,
- const base::string16& new_contents) override;
- virtual bool HandleKeyEvent(views::Textfield* sender,
- const ui::KeyEvent& key_event) override;
- virtual bool HandleMouseEvent(views::Textfield* sender,
- const ui::MouseEvent& mouse_event) override;
+ void ContentsChanged(views::Textfield* sender,
+ const base::string16& new_contents) override;
+ bool HandleKeyEvent(views::Textfield* sender,
+ const ui::KeyEvent& key_event) override;
+ bool HandleMouseEvent(views::Textfield* sender,
+ const ui::MouseEvent& mouse_event) override;
private:
// Calls a given function on every textfield.

Powered by Google App Engine
This is Rietveld 408576698