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

Unified Diff: ash/display/mirror_window_controller.cc

Issue 685543003: 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/display/mirror_window_controller.h ('k') | ash/display/mirror_window_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mirror_window_controller.cc
diff --git a/ash/display/mirror_window_controller.cc b/ash/display/mirror_window_controller.cc
index c31291fc4d1f8809a06b5bd3df763bdb31465092..c760537bfbe75a95dd1f13d007d44da744dc7151 100644
--- a/ash/display/mirror_window_controller.cc
+++ b/ash/display/mirror_window_controller.cc
@@ -58,22 +58,18 @@ void DisableInput(XID window) {
class NoneCaptureClient : public aura::client::CaptureClient {
public:
NoneCaptureClient() {}
- virtual ~NoneCaptureClient() {}
+ ~NoneCaptureClient() override {}
private:
// Does a capture on the |window|.
- virtual void SetCapture(aura::Window* window) override {}
+ void SetCapture(aura::Window* window) override {}
// Releases a capture from the |window|.
- virtual void ReleaseCapture(aura::Window* window) override {}
+ void ReleaseCapture(aura::Window* window) override {}
// Returns the current capture window.
- virtual aura::Window* GetCaptureWindow() override {
- return NULL;
- }
- virtual aura::Window* GetGlobalCaptureWindow() override {
- return NULL;
- }
+ aura::Window* GetCaptureWindow() override { return NULL; }
+ aura::Window* GetGlobalCaptureWindow() override { return NULL; }
DISALLOW_COPY_AND_ASSIGN(NoneCaptureClient);
};
« no previous file with comments | « ash/display/mirror_window_controller.h ('k') | ash/display/mirror_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698