| 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 COMPONENTS_TEST_RUNNER_TEST_INTERFACES_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_INTERFACES_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_TEST_INTERFACES_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_INTERFACES_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 bool generate_pixels); | 46 bool generate_pixels); |
| 47 void SetAppBannerClient(AppBannerClient* app_banner_client); | 47 void SetAppBannerClient(AppBannerClient* app_banner_client); |
| 48 | 48 |
| 49 void WindowOpened(WebTestProxyBase* proxy); | 49 void WindowOpened(WebTestProxyBase* proxy); |
| 50 void WindowClosed(WebTestProxyBase* proxy); | 50 void WindowClosed(WebTestProxyBase* proxy); |
| 51 | 51 |
| 52 AccessibilityController* GetAccessibilityController(); | 52 AccessibilityController* GetAccessibilityController(); |
| 53 EventSender* GetEventSender(); | 53 EventSender* GetEventSender(); |
| 54 TestRunner* GetTestRunner(); | 54 TestRunner* GetTestRunner(); |
| 55 WebTestDelegate* GetDelegate(); | 55 WebTestDelegate* GetDelegate(); |
| 56 WebTestProxyBase* GetProxy(); | |
| 57 const std::vector<WebTestProxyBase*>& GetWindowList(); | 56 const std::vector<WebTestProxyBase*>& GetWindowList(); |
| 58 blink::WebThemeEngine* GetThemeEngine(); | 57 blink::WebThemeEngine* GetThemeEngine(); |
| 59 AppBannerClient* GetAppBannerClient(); | 58 AppBannerClient* GetAppBannerClient(); |
| 60 | 59 |
| 61 private: | 60 private: |
| 62 scoped_ptr<AccessibilityController> accessibility_controller_; | 61 scoped_ptr<AccessibilityController> accessibility_controller_; |
| 63 scoped_ptr<EventSender> event_sender_; | 62 scoped_ptr<EventSender> event_sender_; |
| 64 base::WeakPtr<GamepadController> gamepad_controller_; | 63 base::WeakPtr<GamepadController> gamepad_controller_; |
| 65 scoped_ptr<TextInputController> text_input_controller_; | 64 scoped_ptr<TextInputController> text_input_controller_; |
| 66 scoped_ptr<TestRunner> test_runner_; | 65 scoped_ptr<TestRunner> test_runner_; |
| 67 WebTestDelegate* delegate_; | 66 WebTestDelegate* delegate_; |
| 68 WebTestProxyBase* proxy_; | |
| 69 AppBannerClient* app_banner_client_; | 67 AppBannerClient* app_banner_client_; |
| 70 | 68 |
| 71 std::vector<WebTestProxyBase*> window_list_; | 69 std::vector<WebTestProxyBase*> window_list_; |
| 72 scoped_ptr<MockWebThemeEngine> theme_engine_; | 70 scoped_ptr<MockWebThemeEngine> theme_engine_; |
| 73 | 71 |
| 74 DISALLOW_COPY_AND_ASSIGN(TestInterfaces); | 72 DISALLOW_COPY_AND_ASSIGN(TestInterfaces); |
| 75 }; | 73 }; |
| 76 | 74 |
| 77 } // namespace test_runner | 75 } // namespace test_runner |
| 78 | 76 |
| 79 #endif // COMPONENTS_TEST_RUNNER_TEST_INTERFACES_H_ | 77 #endif // COMPONENTS_TEST_RUNNER_TEST_INTERFACES_H_ |
| OLD | NEW |