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

Unified Diff: ui/views/controls/table/table_view.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/table/table_header.h ('k') | ui/views/controls/table/table_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/table/table_view.h
diff --git a/ui/views/controls/table/table_view.h b/ui/views/controls/table/table_view.h
index c1a9162f9af2f6ae543c5b5d09175ddc34436882..e124551185694ae0851db9ea52112aa39cda776c 100644
--- a/ui/views/controls/table/table_view.h
+++ b/ui/views/controls/table/table_view.h
@@ -90,7 +90,7 @@ class VIEWS_EXPORT TableView
const std::vector<ui::TableColumn>& columns,
TableTypes table_type,
bool single_selection);
- virtual ~TableView();
+ ~TableView() override;
// Assigns a new model to the table view, detaching the old one if present.
// If |model| is NULL, the table view cannot be used after this call. This
@@ -165,28 +165,28 @@ class VIEWS_EXPORT TableView
int row_height() const { return row_height_; }
// View overrides:
- virtual void Layout() override;
- virtual gfx::Size GetPreferredSize() const override;
- virtual bool OnKeyPressed(const ui::KeyEvent& event) override;
- virtual bool OnMousePressed(const ui::MouseEvent& event) override;
- virtual void OnGestureEvent(ui::GestureEvent* event) override;
- virtual bool GetTooltipText(const gfx::Point& p,
- base::string16* tooltip) const override;
- virtual bool GetTooltipTextOrigin(const gfx::Point& p,
- gfx::Point* loc) const override;
+ void Layout() override;
+ gfx::Size GetPreferredSize() const override;
+ bool OnKeyPressed(const ui::KeyEvent& event) override;
+ bool OnMousePressed(const ui::MouseEvent& event) override;
+ void OnGestureEvent(ui::GestureEvent* event) override;
+ bool GetTooltipText(const gfx::Point& p,
+ base::string16* tooltip) const override;
+ bool GetTooltipTextOrigin(const gfx::Point& p,
+ gfx::Point* loc) const override;
// ui::TableModelObserver overrides:
- virtual void OnModelChanged() override;
- virtual void OnItemsChanged(int start, int length) override;
- virtual void OnItemsAdded(int start, int length) override;
- virtual void OnItemsRemoved(int start, int length) override;
+ void OnModelChanged() override;
+ void OnItemsChanged(int start, int length) override;
+ void OnItemsAdded(int start, int length) override;
+ void OnItemsRemoved(int start, int length) override;
protected:
// View overrides:
- virtual gfx::Point GetKeyboardContextMenuLocation() override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
- virtual void OnFocus() override;
- virtual void OnBlur() override;
+ gfx::Point GetKeyboardContextMenuLocation() override;
+ void OnPaint(gfx::Canvas* canvas) override;
+ void OnFocus() override;
+ void OnBlur() override;
private:
friend class TableViewTestHelper;
« no previous file with comments | « ui/views/controls/table/table_header.h ('k') | ui/views/controls/table/table_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698