| 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 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "content/shell/renderer/test_runner/mock_web_theme_engine.h" |
| 13 #include "third_party/WebKit/public/platform/WebNonCopyable.h" | 14 #include "third_party/WebKit/public/platform/WebNonCopyable.h" |
| 14 | 15 |
| 15 #if defined(OS_MACOSX) | |
| 16 #include "content/shell/renderer/test_runner/mock_web_theme_engine_mac.h" | |
| 17 #else | |
| 18 #include "content/shell/renderer/test_runner/mock_web_theme_engine.h" | |
| 19 #endif | |
| 20 | |
| 21 namespace blink { | 16 namespace blink { |
| 22 class WebFrame; | 17 class WebFrame; |
| 23 class WebThemeEngine; | 18 class WebThemeEngine; |
| 24 class WebURL; | 19 class WebURL; |
| 25 class WebView; | 20 class WebView; |
| 26 } | 21 } |
| 27 | 22 |
| 28 namespace content { | 23 namespace content { |
| 29 | 24 |
| 30 class AccessibilityController; | 25 class AccessibilityController; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 private: | 58 private: |
| 64 scoped_ptr<AccessibilityController> accessibility_controller_; | 59 scoped_ptr<AccessibilityController> accessibility_controller_; |
| 65 scoped_ptr<EventSender> event_sender_; | 60 scoped_ptr<EventSender> event_sender_; |
| 66 base::WeakPtr<GamepadController> gamepad_controller_; | 61 base::WeakPtr<GamepadController> gamepad_controller_; |
| 67 scoped_ptr<TextInputController> text_input_controller_; | 62 scoped_ptr<TextInputController> text_input_controller_; |
| 68 scoped_ptr<TestRunner> test_runner_; | 63 scoped_ptr<TestRunner> test_runner_; |
| 69 WebTestDelegate* delegate_; | 64 WebTestDelegate* delegate_; |
| 70 WebTestProxyBase* proxy_; | 65 WebTestProxyBase* proxy_; |
| 71 | 66 |
| 72 std::vector<WebTestProxyBase*> window_list_; | 67 std::vector<WebTestProxyBase*> window_list_; |
| 73 #if defined(OS_MACOSX) | |
| 74 scoped_ptr<MockWebThemeEngineMac> theme_engine_; | |
| 75 #else | |
| 76 scoped_ptr<MockWebThemeEngine> theme_engine_; | 68 scoped_ptr<MockWebThemeEngine> theme_engine_; |
| 77 #endif | |
| 78 | 69 |
| 79 DISALLOW_COPY_AND_ASSIGN(TestInterfaces); | 70 DISALLOW_COPY_AND_ASSIGN(TestInterfaces); |
| 80 }; | 71 }; |
| 81 | 72 |
| 82 } // namespace content | 73 } // namespace content |
| 83 | 74 |
| 84 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_ | 75 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_ |
| OLD | NEW |