OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 void ResetPermissions() override; | 146 void ResetPermissions() override; |
147 bool AddMediaStreamVideoSourceAndTrack( | 147 bool AddMediaStreamVideoSourceAndTrack( |
148 blink::WebMediaStream* stream) override; | 148 blink::WebMediaStream* stream) override; |
149 bool AddMediaStreamAudioSourceAndTrack( | 149 bool AddMediaStreamAudioSourceAndTrack( |
150 blink::WebMediaStream* stream) override; | 150 blink::WebMediaStream* stream) override; |
151 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 151 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
152 void DispatchBeforeInstallPromptEvent( | 152 void DispatchBeforeInstallPromptEvent( |
153 int request_id, | 153 int request_id, |
154 const std::vector<std::string>& event_platforms, | 154 const std::vector<std::string>& event_platforms, |
155 const base::Callback<void(bool)>& callback) override; | 155 const base::Callback<void(bool)>& callback) override; |
156 void ResolveBeforeInstallPromptPromise( | |
157 int request_id, | |
158 const std::string& platform) override; | |
159 blink::WebPlugin* CreatePluginPlaceholder( | 156 blink::WebPlugin* CreatePluginPlaceholder( |
160 blink::WebLocalFrame* frame, | 157 blink::WebLocalFrame* frame, |
161 const blink::WebPluginParams& params) override; | 158 const blink::WebPluginParams& params) override; |
162 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override; | 159 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override; |
163 blink::WebPoint ConvertDIPToNative( | 160 blink::WebPoint ConvertDIPToNative( |
164 const blink::WebPoint& point_in_dip) const override; | 161 const blink::WebPoint& point_in_dip) const override; |
165 | 162 |
166 // Resets a RenderView to a known state for layout tests. It is used both when | 163 // Resets a RenderView to a known state for layout tests. It is used both when |
167 // a RenderView is created and when reusing an existing RenderView for the | 164 // a RenderView is created and when reusing an existing RenderView for the |
168 // next test case. | 165 // next test case. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 bool focus_on_next_commit_; | 216 bool focus_on_next_commit_; |
220 | 217 |
221 scoped_ptr<LeakDetector> leak_detector_; | 218 scoped_ptr<LeakDetector> leak_detector_; |
222 | 219 |
223 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 220 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
224 }; | 221 }; |
225 | 222 |
226 } // namespace content | 223 } // namespace content |
227 | 224 |
228 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 225 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |