summaryrefslogtreecommitdiffstats
path: root/ui/views/test/default_platform_test_helper.cc
blob: dc35a73f53b128e056b36e11414a01fd2e7d176a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/test/platform_test_helper.h"

namespace views {
namespace {

class DefaultPlatformTestHelper : public PlatformTestHelper {
 public:
  DefaultPlatformTestHelper() {}

  ~DefaultPlatformTestHelper() override {}

  bool IsMus() const override { return false; }

 private:
  DISALLOW_COPY_AND_ASSIGN(DefaultPlatformTestHelper);
};

}  // namespace

// static
scoped_ptr<PlatformTestHelper> PlatformTestHelper::Create() {
  return make_scoped_ptr(new DefaultPlatformTestHelper);
}

}  // namespace views