| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEB_TEST_INTERFACES_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "components/test_runner/test_runner_export.h" | 10 #include "components/test_runner/test_runner_export.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 WebTestInterfaces(); | 37 WebTestInterfaces(); |
| 38 ~WebTestInterfaces(); | 38 ~WebTestInterfaces(); |
| 39 | 39 |
| 40 void SetWebView(blink::WebView* web_view, WebTestProxyBase* proxy); | 40 void SetWebView(blink::WebView* web_view, WebTestProxyBase* proxy); |
| 41 void SetDelegate(WebTestDelegate* delegate); | 41 void SetDelegate(WebTestDelegate* delegate); |
| 42 void BindTo(blink::WebFrame* frame); | 42 void BindTo(blink::WebFrame* frame); |
| 43 void ResetAll(); | 43 void ResetAll(); |
| 44 void SetTestIsRunning(bool running); | 44 void SetTestIsRunning(bool running); |
| 45 void ConfigureForTestWithURL(const blink::WebURL& test_url, | 45 void ConfigureForTestWithURL(const blink::WebURL& test_url, |
| 46 bool generate_pixels); | 46 bool generate_pixels); |
| 47 void SetSendWheelGestures(bool send_gestures); |
| 47 | 48 |
| 48 WebTestRunner* TestRunner(); | 49 WebTestRunner* TestRunner(); |
| 49 blink::WebThemeEngine* ThemeEngine(); | 50 blink::WebThemeEngine* ThemeEngine(); |
| 50 | 51 |
| 51 blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 52 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
| 52 blink::WebMediaStreamCenterClient* client); | 53 blink::WebMediaStreamCenterClient* client); |
| 53 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( | 54 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( |
| 54 blink::WebRTCPeerConnectionHandlerClient* client); | 55 blink::WebRTCPeerConnectionHandlerClient* client); |
| 55 | 56 |
| 56 blink::WebMIDIAccessor* CreateMIDIAccessor( | 57 blink::WebMIDIAccessor* CreateMIDIAccessor( |
| 57 blink::WebMIDIAccessorClient* client); | 58 blink::WebMIDIAccessorClient* client); |
| 58 | 59 |
| 59 blink::WebAudioDevice* CreateAudioDevice(double sample_rate); | 60 blink::WebAudioDevice* CreateAudioDevice(double sample_rate); |
| 60 | 61 |
| 61 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient(); | 62 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient(); |
| 62 AppBannerClient* GetAppBannerClient(); | 63 AppBannerClient* GetAppBannerClient(); |
| 63 | 64 |
| 64 TestInterfaces* GetTestInterfaces(); | 65 TestInterfaces* GetTestInterfaces(); |
| 65 | 66 |
| 66 private: | 67 private: |
| 67 scoped_ptr<TestInterfaces> interfaces_; | 68 scoped_ptr<TestInterfaces> interfaces_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); | 70 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 } // namespace test_runner | 73 } // namespace test_runner |
| 73 | 74 |
| 74 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 75 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
| OLD | NEW |