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

Unified Diff: chrome/browser/extensions/api/tabs/windows_event_router.h

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (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: chrome/browser/extensions/api/tabs/windows_event_router.h
diff --git a/chrome/browser/extensions/api/tabs/windows_event_router.h b/chrome/browser/extensions/api/tabs/windows_event_router.h
index 5bb2a1d68c9c14a6170b6b461eb0c2a95163869d..ce07000ddf6511876eb7a33a40bb9e2839984023 100644
--- a/chrome/browser/extensions/api/tabs/windows_event_router.h
+++ b/chrome/browser/extensions/api/tabs/windows_event_router.h
@@ -35,13 +35,11 @@ class WindowsEventRouter : public WindowControllerListObserver,
public content::NotificationObserver {
public:
explicit WindowsEventRouter(Profile* profile);
- virtual ~WindowsEventRouter();
+ ~WindowsEventRouter() override;
// WindowControllerListObserver methods:
- virtual void OnWindowControllerAdded(
- WindowController* window_controller) override;
- virtual void OnWindowControllerRemoved(
- WindowController* window) override;
+ void OnWindowControllerAdded(WindowController* window_controller) override;
+ void OnWindowControllerRemoved(WindowController* window) override;
#if defined(TOOLKIT_VIEWS)
virtual void OnNativeFocusChange(gfx::NativeView focused_before,
@@ -49,9 +47,9 @@ class WindowsEventRouter : public WindowControllerListObserver,
#endif
// content::NotificationObserver.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// |window_controller| is NULL to indicate a focused window has lost focus.
void OnActiveWindowChanged(WindowController* window_controller);
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_windows_api.h ('k') | chrome/browser/extensions/api/top_sites/top_sites_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698