| Index: chrome/test/base/chrome_views_test_helper_mac.mm
|
| diff --git a/chrome/test/base/chrome_views_test_helper_mac.mm b/chrome/test/base/chrome_views_test_helper_mac.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2d2bf40e042fe6d6f54849af232f35d6344fe45e
|
| --- /dev/null
|
| +++ b/chrome/test/base/chrome_views_test_helper_mac.mm
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2014 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 "chrome/test/base/chrome_views_test_helper.h"
|
| +
|
| +namespace {
|
| +
|
| +// ChromeViewsTestHelper implementation for toolkit-views on Mac.
|
| +class ChromeViewsTestHelperMac : public ChromeViewsTestHelper {
|
| + public:
|
| + ChromeViewsTestHelperMac() {}
|
| +
|
| + // Overridden from ChromeViewsTestHelper:
|
| + virtual gfx::NativeWindow PlatformSetUp(
|
| + ui::ContextFactory* context_factory) OVERRIDE {
|
| + return NULL;
|
| + }
|
| +
|
| + virtual void PlatformTearDown() OVERRIDE {}
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ChromeViewsTestHelperMac);
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| +// static
|
| +ChromeViewsTestHelper* ChromeViewsTestHelper::Create() {
|
| + return new ChromeViewsTestHelperMac();
|
| +}
|
|
|