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

Unified Diff: ui/views/examples/textfield_example.h

Issue 684463003: 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 | « ui/views/examples/text_example.cc ('k') | ui/views/examples/throbber_example.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/textfield_example.h
diff --git a/ui/views/examples/textfield_example.h b/ui/views/examples/textfield_example.h
index 31aaaa999299c22c71e3204d655e6a78477cd39e..90ec331b4a35a65c9e55a783d4b8a6335627b2c8 100644
--- a/ui/views/examples/textfield_example.h
+++ b/ui/views/examples/textfield_example.h
@@ -24,22 +24,22 @@ class VIEWS_EXAMPLES_EXPORT TextfieldExample : public ExampleBase,
public ButtonListener {
public:
TextfieldExample();
- virtual ~TextfieldExample();
+ ~TextfieldExample() override;
// ExampleBase:
- virtual void CreateExampleView(View* container) override;
+ void CreateExampleView(View* container) override;
private:
// TextfieldController:
- virtual void ContentsChanged(Textfield* sender,
- const base::string16& new_contents) override;
- virtual bool HandleKeyEvent(Textfield* sender,
- const ui::KeyEvent& key_event) override;
- virtual bool HandleMouseEvent(Textfield* sender,
- const ui::MouseEvent& mouse_event) override;
+ void ContentsChanged(Textfield* sender,
+ const base::string16& new_contents) override;
+ bool HandleKeyEvent(Textfield* sender,
+ const ui::KeyEvent& key_event) override;
+ bool HandleMouseEvent(Textfield* sender,
+ const ui::MouseEvent& mouse_event) override;
// ButtonListener:
- virtual void ButtonPressed(Button* sender, const ui::Event& event) override;
+ void ButtonPressed(Button* sender, const ui::Event& event) override;
// Textfields for name and password.
Textfield* name_;
« no previous file with comments | « ui/views/examples/text_example.cc ('k') | ui/views/examples/throbber_example.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698