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

Unified Diff: ui/views/layout/grid_layout.h

Issue 679233002: 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/layout/fill_layout.h ('k') | ui/views/layout/grid_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/layout/grid_layout.h
diff --git a/ui/views/layout/grid_layout.h b/ui/views/layout/grid_layout.h
index ad228d5ce4a7ce8598ca13a341c4367d5faa71e7..20084c00e0ced755daa88cbf834d9a50f69ddfb4 100644
--- a/ui/views/layout/grid_layout.h
+++ b/ui/views/layout/grid_layout.h
@@ -100,7 +100,7 @@ class VIEWS_EXPORT GridLayout : public LayoutManager {
};
explicit GridLayout(View* host);
- virtual ~GridLayout();
+ ~GridLayout() override;
// Creates a GridLayout with kPanel*Margin insets.
static GridLayout* CreatePanel(View* host);
@@ -162,26 +162,25 @@ class VIEWS_EXPORT GridLayout : public LayoutManager {
// Notification we've been installed on a particular host. Checks that host
// is the same as the View supplied in the constructor.
- virtual void Installed(View* host) override;
+ void Installed(View* host) override;
// Notification we've been uninstalled on a particular host. Checks that host
// is the same as the View supplied in the constructor.
- virtual void Uninstalled(View* host) override;
+ void Uninstalled(View* host) override;
// Notification that a view has been added.
- virtual void ViewAdded(View* host, View* view) override;
+ void ViewAdded(View* host, View* view) override;
// Notification that a view has been removed.
- virtual void ViewRemoved(View* host, View* view) override;
+ void ViewRemoved(View* host, View* view) override;
// Layouts out the components.
- virtual void Layout(View* host) override;
+ void Layout(View* host) override;
// Returns the preferred size for the GridLayout.
- virtual gfx::Size GetPreferredSize(const View* host) const override;
+ gfx::Size GetPreferredSize(const View* host) const override;
- virtual int GetPreferredHeightForWidth(const View* host,
- int width) const override;
+ int GetPreferredHeightForWidth(const View* host, int width) const override;
void set_minimum_size(const gfx::Size& size) { minimum_size_ = size; }
« no previous file with comments | « ui/views/layout/fill_layout.h ('k') | ui/views/layout/grid_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698