OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/test/base/chrome_views_test_helper.h" |
| 6 |
| 7 namespace { |
| 8 |
| 9 // ChromeViewsTestHelper implementation for toolkit-views on Mac. |
| 10 class ChromeViewsTestHelperMac : public ChromeViewsTestHelper { |
| 11 public: |
| 12 ChromeViewsTestHelperMac() {} |
| 13 |
| 14 // Overridden from ChromeViewsTestHelper: |
| 15 virtual gfx::NativeWindow PlatformSetUp( |
| 16 ui::ContextFactory* context_factory) OVERRIDE { |
| 17 return NULL; |
| 18 } |
| 19 |
| 20 virtual void PlatformTearDown() OVERRIDE {} |
| 21 |
| 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(ChromeViewsTestHelperMac); |
| 24 }; |
| 25 |
| 26 } // namespace |
| 27 |
| 28 // static |
| 29 ChromeViewsTestHelper* ChromeViewsTestHelper::Create() { |
| 30 return new ChromeViewsTestHelperMac(); |
| 31 } |
OLD | NEW |