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

Side by Side Diff: chrome/test/base/view_event_test_platform_part_mac.mm

Issue 637933002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/test (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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/test/base/view_event_test_platform_part.h" 5 #include "chrome/test/base/view_event_test_platform_part.h"
6 6
7 namespace { 7 namespace {
8 8
9 // ViewEventTestPlatformPart implementation for toolkit-views on Mac. 9 // ViewEventTestPlatformPart implementation for toolkit-views on Mac.
10 class ViewEventTestPlatformPartMac : public ViewEventTestPlatformPart { 10 class ViewEventTestPlatformPartMac : public ViewEventTestPlatformPart {
11 public: 11 public:
12 ViewEventTestPlatformPartMac() {} 12 ViewEventTestPlatformPartMac() {}
13 13
14 // Overridden from ViewEventTestPlatformPart: 14 // Overridden from ViewEventTestPlatformPart:
15 virtual gfx::NativeWindow GetContext() OVERRIDE { return NULL; } 15 virtual gfx::NativeWindow GetContext() override { return NULL; }
16 16
17 private: 17 private:
18 DISALLOW_COPY_AND_ASSIGN(ViewEventTestPlatformPartMac); 18 DISALLOW_COPY_AND_ASSIGN(ViewEventTestPlatformPartMac);
19 }; 19 };
20 20
21 } // namespace 21 } // namespace
22 22
23 // static 23 // static
24 ViewEventTestPlatformPart* ViewEventTestPlatformPart::Create( 24 ViewEventTestPlatformPart* ViewEventTestPlatformPart::Create(
25 ui::ContextFactory* context_factory) { 25 ui::ContextFactory* context_factory) {
26 return new ViewEventTestPlatformPartMac(); 26 return new ViewEventTestPlatformPartMac();
27 } 27 }
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_platform_part_chromeos.cc ('k') | chrome/test/base/web_ui_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698