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

Unified Diff: ui/views/controls/tabbed_pane/tabbed_pane.h

Issue 681883002: 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/controls/styled_label_unittest.cc ('k') | ui/views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tabbed_pane/tabbed_pane.h
diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.h b/ui/views/controls/tabbed_pane/tabbed_pane.h
index c404808aae98d6404e3b5c6f3f0394922b9f7674..1ca3ac1300221e3365b799c93d9f3c5e23ab9cf6 100644
--- a/ui/views/controls/tabbed_pane/tabbed_pane.h
+++ b/ui/views/controls/tabbed_pane/tabbed_pane.h
@@ -24,7 +24,7 @@ class VIEWS_EXPORT TabbedPane : public View {
static const char kViewClassName[];
TabbedPane();
- virtual ~TabbedPane();
+ ~TabbedPane() override;
TabbedPaneListener* listener() const { return listener_; }
void set_listener(TabbedPaneListener* listener) { listener_ = listener; }
@@ -54,8 +54,8 @@ class VIEWS_EXPORT TabbedPane : public View {
void SelectTab(Tab* tab);
// Overridden from View:
- virtual gfx::Size GetPreferredSize() const override;
- virtual const char* GetClassName() const override;
+ gfx::Size GetPreferredSize() const override;
+ const char* GetClassName() const override;
private:
friend class TabStrip;
@@ -64,12 +64,12 @@ class VIEWS_EXPORT TabbedPane : public View {
Tab* GetTabAt(int index);
// Overridden from View:
- virtual void Layout() override;
- virtual void ViewHierarchyChanged(
- const ViewHierarchyChangedDetails& details) override;
- virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
- virtual void OnFocus() override;
- virtual void GetAccessibleState(ui::AXViewState* state) override;
+ void Layout() override;
+ void ViewHierarchyChanged(
+ const ViewHierarchyChangedDetails& details) override;
+ bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
+ void OnFocus() override;
+ void GetAccessibleState(ui::AXViewState* state) override;
// A listener notified when tab selection changes. Weak, not owned.
TabbedPaneListener* listener_;
« no previous file with comments | « ui/views/controls/styled_label_unittest.cc ('k') | ui/views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698