| 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 CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |    5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 
|    6 #define CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |    6 #define CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 
|    7  |    7  | 
|    8 #include <memory> |    8 #include <memory> | 
|    9 #include <vector> |    9 #include <vector> | 
|   10  |   10  | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   46   void SetDelegate(WebTestDelegate* delegate); |   46   void SetDelegate(WebTestDelegate* delegate); | 
|   47   void ResetAll(); |   47   void ResetAll(); | 
|   48   bool TestIsRunning(); |   48   bool TestIsRunning(); | 
|   49   void SetTestIsRunning(bool running); |   49   void SetTestIsRunning(bool running); | 
|   50   void ConfigureForTestWithURL(const blink::WebURL& test_url, |   50   void ConfigureForTestWithURL(const blink::WebURL& test_url, | 
|   51                                bool generate_pixels); |   51                                bool generate_pixels); | 
|   52  |   52  | 
|   53   WebTestRunner* TestRunner(); |   53   WebTestRunner* TestRunner(); | 
|   54   blink::WebThemeEngine* ThemeEngine(); |   54   blink::WebThemeEngine* ThemeEngine(); | 
|   55  |   55  | 
|   56   std::unique_ptr<blink::WebMediaStreamCenter> CreateMediaStreamCenter( |   56   blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 
|   57       blink::WebMediaStreamCenterClient* client); |   57       blink::WebMediaStreamCenterClient* client); | 
|   58   std::unique_ptr<blink::WebRTCPeerConnectionHandler> |   58   blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( | 
|   59   CreateWebRTCPeerConnectionHandler( |  | 
|   60       blink::WebRTCPeerConnectionHandlerClient* client); |   59       blink::WebRTCPeerConnectionHandlerClient* client); | 
|   61  |   60  | 
|   62   std::unique_ptr<blink::WebMIDIAccessor> CreateMIDIAccessor( |   61   blink::WebMIDIAccessor* CreateMIDIAccessor( | 
|   63       blink::WebMIDIAccessorClient* client); |   62       blink::WebMIDIAccessorClient* client); | 
|   64  |   63  | 
|   65   std::unique_ptr<blink::WebAudioDevice> CreateAudioDevice( |   64   blink::WebAudioDevice* CreateAudioDevice(double sample_rate, | 
|   66       double sample_rate, |   65                                            int frames_per_buffer); | 
|   67       int frames_per_buffer); |  | 
|   68  |   66  | 
|   69   TestInterfaces* GetTestInterfaces(); |   67   TestInterfaces* GetTestInterfaces(); | 
|   70  |   68  | 
|   71   // Creates a WebFrameClient implementation providing test behavior (i.e. |   69   // Creates a WebFrameClient implementation providing test behavior (i.e. | 
|   72   // forwarding javascript console output to the test harness).  The caller |   70   // forwarding javascript console output to the test harness).  The caller | 
|   73   // should guarantee that the returned object won't be used beyond the lifetime |   71   // should guarantee that the returned object won't be used beyond the lifetime | 
|   74   // of WebTestInterfaces and/or the lifetime of |web_view_test_proxy_base|. |   72   // of WebTestInterfaces and/or the lifetime of |web_view_test_proxy_base|. | 
|   75   std::unique_ptr<WebFrameTestClient> CreateWebFrameTestClient( |   73   std::unique_ptr<WebFrameTestClient> CreateWebFrameTestClient( | 
|   76       WebViewTestProxyBase* web_view_test_proxy_base, |   74       WebViewTestProxyBase* web_view_test_proxy_base, | 
|   77       WebFrameTestProxyBase* web_frame_test_proxy_base); |   75       WebFrameTestProxyBase* web_frame_test_proxy_base); | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
|   95  |   93  | 
|   96  private: |   94  private: | 
|   97   std::unique_ptr<TestInterfaces> interfaces_; |   95   std::unique_ptr<TestInterfaces> interfaces_; | 
|   98  |   96  | 
|   99   DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); |   97   DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); | 
|  100 }; |   98 }; | 
|  101  |   99  | 
|  102 }  // namespace test_runner |  100 }  // namespace test_runner | 
|  103  |  101  | 
|  104 #endif  // CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |  102 #endif  // CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 
| OLD | NEW |