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

Side by Side Diff: ui/views/test/default_platform_test_helper.cc

Issue 1972363002: mus: Add views_mus_interactive_ui_tests target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: linux Created 4 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "base/memory/ptr_util.h" 5 #include "base/memory/ptr_util.h"
6 #include "ui/views/test/platform_test_helper.h" 6 #include "ui/views/test/platform_test_helper.h"
7 7
8 namespace views { 8 namespace views {
9 namespace { 9 namespace {
10 10
11 class DefaultPlatformTestHelper : public PlatformTestHelper { 11 class DefaultPlatformTestHelper : public PlatformTestHelper {
12 public: 12 public:
13 DefaultPlatformTestHelper() {} 13 DefaultPlatformTestHelper() {}
14 14
15 ~DefaultPlatformTestHelper() override {} 15 ~DefaultPlatformTestHelper() override {}
16 16
17 bool IsMus() const override { return false; }
18
19 private: 17 private:
20 DISALLOW_COPY_AND_ASSIGN(DefaultPlatformTestHelper); 18 DISALLOW_COPY_AND_ASSIGN(DefaultPlatformTestHelper);
21 }; 19 };
22 20
23 } // namespace 21 } // namespace
24 22
25 // static 23 // static
26 std::unique_ptr<PlatformTestHelper> PlatformTestHelper::Create() { 24 std::unique_ptr<PlatformTestHelper> PlatformTestHelper::Create() {
27 return base::WrapUnique(new DefaultPlatformTestHelper); 25 return base::WrapUnique(new DefaultPlatformTestHelper);
28 } 26 }
29 27
28 // static
29 bool PlatformTestHelper::IsMus() {
30 return false;
31 }
32
30 } // namespace views 33 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698