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

Unified Diff: ui/app_list/views/search_result_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/search_result_list_view_unittest.cc ('k') | ui/app_list/views/speech_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_result_view.h
diff --git a/ui/app_list/views/search_result_view.h b/ui/app_list/views/search_result_view.h
index ae744f2fd2a4ded0a6c3ca9e41e5fca839c795f2..b41e8c236a3c3858d174797a446c82bb11ca3561 100644
--- a/ui/app_list/views/search_result_view.h
+++ b/ui/app_list/views/search_result_view.h
@@ -47,7 +47,7 @@ class SearchResultView : public views::CustomButton,
static const char kViewClassName[];
explicit SearchResultView(SearchResultListView* list_view);
- virtual ~SearchResultView();
+ ~SearchResultView() override;
// Sets/gets SearchResult displayed by this view.
void SetResult(SearchResult* result);
@@ -66,33 +66,31 @@ class SearchResultView : public views::CustomButton,
void UpdateDetailsText();
// views::View overrides:
- virtual const char* GetClassName() const override;
- virtual gfx::Size GetPreferredSize() const override;
- virtual void Layout() override;
- virtual bool OnKeyPressed(const ui::KeyEvent& event) override;
- virtual void ChildPreferredSizeChanged(views::View* child) override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
+ const char* GetClassName() const override;
+ gfx::Size GetPreferredSize() const override;
+ void Layout() override;
+ bool OnKeyPressed(const ui::KeyEvent& event) override;
+ void ChildPreferredSizeChanged(views::View* child) override;
+ void OnPaint(gfx::Canvas* canvas) override;
// views::ButtonListener overrides:
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) override;
+ void ButtonPressed(views::Button* sender, const ui::Event& event) override;
// views::ContextMenuController overrides:
- virtual void ShowContextMenuForView(views::View* source,
- const gfx::Point& point,
- ui::MenuSourceType source_type) override;
+ void ShowContextMenuForView(views::View* source,
+ const gfx::Point& point,
+ ui::MenuSourceType source_type) override;
// SearchResultObserver overrides:
- virtual void OnIconChanged() override;
- virtual void OnActionsChanged() override;
- virtual void OnIsInstallingChanged() override;
- virtual void OnPercentDownloadedChanged() override;
- virtual void OnItemInstalled() override;
- virtual void OnItemUninstalled() override;
+ void OnIconChanged() override;
+ void OnActionsChanged() override;
+ void OnIsInstallingChanged() override;
+ void OnPercentDownloadedChanged() override;
+ void OnItemInstalled() override;
+ void OnItemUninstalled() override;
// SearchResultActionsViewDelegate overrides:
- virtual void OnSearchResultActionActivated(size_t index,
- int event_flags) override;
+ void OnSearchResultActionActivated(size_t index, int event_flags) override;
SearchResult* result_; // Owned by AppListModel::SearchResults.
« no previous file with comments | « ui/app_list/views/search_result_list_view_unittest.cc ('k') | ui/app_list/views/speech_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698