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

Unified Diff: ui/app_list/views/contents_view.h

Issue 681873002: 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/app_list/views/contents_switcher_view.h ('k') | ui/app_list/views/folder_background_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/contents_view.h
diff --git a/ui/app_list/views/contents_view.h b/ui/app_list/views/contents_view.h
index e142af1e9c1ac72d8299defebbd670c43b17b43e..3384c605ebf47bb4c2d5a4129bbf484c86aa1a6c 100644
--- a/ui/app_list/views/contents_view.h
+++ b/ui/app_list/views/contents_view.h
@@ -44,7 +44,7 @@ class APP_LIST_EXPORT ContentsView : public views::View,
public PaginationModelObserver {
public:
ContentsView(AppListMainView* app_list_main_view);
- virtual ~ContentsView();
+ ~ContentsView() override;
// Initialize the pages of the launcher. In the experimental launcher, should
// be called after set_contents_switcher_view(), or switcher buttons will not
@@ -106,15 +106,15 @@ class APP_LIST_EXPORT ContentsView : public views::View,
gfx::Rect GetDefaultContentsBounds() const;
// Overridden from views::View:
- virtual gfx::Size GetPreferredSize() const override;
- virtual void Layout() override;
- virtual bool OnKeyPressed(const ui::KeyEvent& event) override;
+ gfx::Size GetPreferredSize() const override;
+ void Layout() override;
+ bool OnKeyPressed(const ui::KeyEvent& event) override;
// Overridden from PaginationModelObserver:
- virtual void TotalPagesChanged() override;
- virtual void SelectedPageChanged(int old_selected, int new_selected) override;
- virtual void TransitionStarted() override;
- virtual void TransitionChanged() override;
+ void TotalPagesChanged() override;
+ void SelectedPageChanged(int old_selected, int new_selected) override;
+ void TransitionStarted() override;
+ void TransitionChanged() override;
private:
// Sets the active launcher page, accounting for whether the change is for
« no previous file with comments | « ui/app_list/views/contents_switcher_view.h ('k') | ui/app_list/views/folder_background_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698