| 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 <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 blink::WebMediaStream* stream) override; | 150 blink::WebMediaStream* stream) override; |
| 151 bool AddMediaStreamAudioSourceAndTrack( | 151 bool AddMediaStreamAudioSourceAndTrack( |
| 152 blink::WebMediaStream* stream) override; | 152 blink::WebMediaStream* stream) override; |
| 153 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 153 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
| 154 void DispatchBeforeInstallPromptEvent( | 154 void DispatchBeforeInstallPromptEvent( |
| 155 const std::vector<std::string>& event_platforms, | 155 const std::vector<std::string>& event_platforms, |
| 156 const base::Callback<void(bool)>& callback) override; | 156 const base::Callback<void(bool)>& callback) override; |
| 157 void ResolveBeforeInstallPromptPromise( | 157 void ResolveBeforeInstallPromptPromise( |
| 158 const std::string& platform) override; | 158 const std::string& platform) override; |
| 159 blink::WebPlugin* CreatePluginPlaceholder( | 159 blink::WebPlugin* CreatePluginPlaceholder( |
| 160 blink::WebLocalFrame* frame, | |
| 161 const blink::WebPluginParams& params) override; | 160 const blink::WebPluginParams& params) override; |
| 162 float GetDeviceScaleFactor() const override; | 161 float GetDeviceScaleFactor() const override; |
| 163 void RunIdleTasks(const base::Closure& callback) override; | 162 void RunIdleTasks(const base::Closure& callback) override; |
| 164 void ForceTextInputStateUpdate(blink::WebFrame* frame) override; | 163 void ForceTextInputStateUpdate(blink::WebFrame* frame) override; |
| 165 bool IsNavigationInitiatedByRenderer( | 164 bool IsNavigationInitiatedByRenderer( |
| 166 const blink::WebURLRequest& request) override; | 165 const blink::WebURLRequest& request) override; |
| 167 | 166 |
| 168 // Resets a RenderView to a known state for layout tests. It is used both when | 167 // Resets a RenderView to a known state for layout tests. It is used both when |
| 169 // a RenderView is created and when reusing an existing RenderView for the | 168 // a RenderView is created and when reusing an existing RenderView for the |
| 170 // next test case. | 169 // next test case. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 std::unique_ptr<test_runner::AppBannerService> app_banner_service_; | 224 std::unique_ptr<test_runner::AppBannerService> app_banner_service_; |
| 226 | 225 |
| 227 std::unique_ptr<LeakDetector> leak_detector_; | 226 std::unique_ptr<LeakDetector> leak_detector_; |
| 228 | 227 |
| 229 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 228 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 230 }; | 229 }; |
| 231 | 230 |
| 232 } // namespace content | 231 } // namespace content |
| 233 | 232 |
| 234 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 233 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |