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

Unified Diff: ash/wm/overview/window_selector.h

Issue 676403006: 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 | « ash/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector.h
diff --git a/ash/wm/overview/window_selector.h b/ash/wm/overview/window_selector.h
index 765b3597971582d5a0900e4bbe3a78813976283b..a270b489a739a3f215f9d4b9817005a4f5803031 100644
--- a/ash/wm/overview/window_selector.h
+++ b/ash/wm/overview/window_selector.h
@@ -68,7 +68,7 @@ class ASH_EXPORT WindowSelector
WindowSelector(const WindowList& windows,
WindowSelectorDelegate* delegate);
- virtual ~WindowSelector();
+ ~WindowSelector() override;
// Cancels window selection.
void CancelSelection();
@@ -77,27 +77,26 @@ class ASH_EXPORT WindowSelector
void OnGridEmpty(WindowGrid* grid);
// gfx::DisplayObserver:
- virtual void OnDisplayAdded(const gfx::Display& display) override;
- virtual void OnDisplayRemoved(const gfx::Display& display) override;
- virtual void OnDisplayMetricsChanged(const gfx::Display& display,
- uint32_t metrics) override;
+ void OnDisplayAdded(const gfx::Display& display) override;
+ void OnDisplayRemoved(const gfx::Display& display) override;
+ void OnDisplayMetricsChanged(const gfx::Display& display,
+ uint32_t metrics) override;
// aura::WindowObserver:
- virtual void OnWindowAdded(aura::Window* new_window) override;
- virtual void OnWindowDestroying(aura::Window* window) override;
+ void OnWindowAdded(aura::Window* new_window) override;
+ void OnWindowDestroying(aura::Window* window) override;
// aura::client::ActivationChangeObserver:
- virtual void OnWindowActivated(aura::Window* gained_active,
- aura::Window* lost_active) override;
- virtual void OnAttemptToReactivateWindow(
- aura::Window* request_active,
- aura::Window* actual_active) override;
+ void OnWindowActivated(aura::Window* gained_active,
+ aura::Window* lost_active) override;
+ void OnAttemptToReactivateWindow(aura::Window* request_active,
+ aura::Window* actual_active) override;
// views::TextfieldController:
- virtual void ContentsChanged(views::Textfield* sender,
- const base::string16& new_contents) override;
- virtual bool HandleKeyEvent(views::Textfield* sender,
- const ui::KeyEvent& key_event) override;
+ void ContentsChanged(views::Textfield* sender,
+ const base::string16& new_contents) override;
+ bool HandleKeyEvent(views::Textfield* sender,
+ const ui::KeyEvent& key_event) override;
private:
friend class WindowSelectorTest;
« no previous file with comments | « ash/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698