OLD | NEW |
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 "ui/views/test/views_test_helper.h" | 5 #include "ui/views/test/views_test_helper.h" |
6 | 6 |
7 namespace views { | 7 namespace views { |
8 | 8 |
9 #if !defined(USE_AURA) | |
10 // static | |
11 ViewsTestHelper* ViewsTestHelper::Create(base::MessageLoopForUI* message_loop, | |
12 ui::ContextFactory* context_factory) { | |
13 return new ViewsTestHelper; | |
14 } | |
15 #endif | |
16 | |
17 ViewsTestHelper::ViewsTestHelper() { | 9 ViewsTestHelper::ViewsTestHelper() { |
18 } | 10 } |
19 | 11 |
20 ViewsTestHelper::~ViewsTestHelper() { | 12 ViewsTestHelper::~ViewsTestHelper() { |
21 } | 13 } |
22 | 14 |
23 void ViewsTestHelper::SetUp() { | 15 void ViewsTestHelper::SetUp() { |
24 } | 16 } |
25 | 17 |
26 void ViewsTestHelper::TearDown() { | 18 void ViewsTestHelper::TearDown() { |
27 } | 19 } |
28 | 20 |
29 gfx::NativeView ViewsTestHelper::GetContext() { | 21 gfx::NativeView ViewsTestHelper::GetContext() { |
30 return NULL; | 22 return NULL; |
31 } | 23 } |
32 | 24 |
33 } // namespace views | 25 } // namespace views |
OLD | NEW |