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

Unified Diff: ash/shell/window_watcher.cc

Issue 679283002: 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
Index: ash/shell/window_watcher.cc
diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc
index f56cf78983eb7f11324f26c3e3ceeae8f495ad40..990cef1e949d1a200da5bcff02065b771875412b 100644
--- a/ash/shell/window_watcher.cc
+++ b/ash/shell/window_watcher.cc
@@ -25,14 +25,13 @@ class WindowWatcher::WorkspaceWindowWatcher : public aura::WindowObserver {
explicit WorkspaceWindowWatcher(WindowWatcher* watcher) : watcher_(watcher) {
}
- virtual ~WorkspaceWindowWatcher() {
- }
+ ~WorkspaceWindowWatcher() override {}
- virtual void OnWindowAdded(aura::Window* new_window) override {
+ void OnWindowAdded(aura::Window* new_window) override {
new_window->AddObserver(watcher_);
}
- virtual void OnWillRemoveWindow(aura::Window* window) override {
+ void OnWillRemoveWindow(aura::Window* window) override {
DCHECK(window->children().empty());
window->RemoveObserver(watcher_);
}

Powered by Google App Engine
This is Rietveld 408576698