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

Unified Diff: ui/views/examples/combobox_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/checkbox_example.h ('k') | ui/views/examples/double_split_view_example.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/combobox_example.h
diff --git a/ui/views/examples/combobox_example.h b/ui/views/examples/combobox_example.h
index 3ea1c24b537db3581078ff20434ea0f5c9d14626..9c84b75539f59c55dee9701236a261927bae668e 100644
--- a/ui/views/examples/combobox_example.h
+++ b/ui/views/examples/combobox_example.h
@@ -17,11 +17,11 @@ namespace examples {
class VIEWS_EXAMPLES_EXPORT ComboboxModelExample : public ui::ComboboxModel {
public:
ComboboxModelExample();
- virtual ~ComboboxModelExample();
+ ~ComboboxModelExample() override;
// ui::ComboboxModel:
- virtual int GetItemCount() const override;
- virtual base::string16 GetItemAt(int index) override;
+ int GetItemCount() const override;
+ base::string16 GetItemAt(int index) override;
private:
DISALLOW_COPY_AND_ASSIGN(ComboboxModelExample);
@@ -31,14 +31,14 @@ class VIEWS_EXAMPLES_EXPORT ComboboxExample : public ExampleBase,
public ComboboxListener {
public:
ComboboxExample();
- virtual ~ComboboxExample();
+ ~ComboboxExample() override;
// ExampleBase:
- virtual void CreateExampleView(View* container) override;
+ void CreateExampleView(View* container) override;
private:
// ComboboxListener:
- virtual void OnPerformAction(Combobox* combobox) override;
+ void OnPerformAction(Combobox* combobox) override;
ComboboxModelExample combobox_model_;
Combobox* combobox_;
« no previous file with comments | « ui/views/examples/checkbox_example.h ('k') | ui/views/examples/double_split_view_example.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698