| 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 blink::WebPoint ConvertDIPToNative( | 159 blink::WebPoint ConvertDIPToNative( |
| 163 const blink::WebPoint& point_in_dip) const override; | 160 const blink::WebPoint& point_in_dip) const override; |
| 164 | 161 |
| 165 // Resets a RenderView to a known state for layout tests. It is used both when | 162 // Resets a RenderView to a known state for layout tests. It is used both when |
| 166 // a RenderView is created and when reusing an existing RenderView for the | 163 // a RenderView is created and when reusing an existing RenderView for the |
| 167 // next test case. | 164 // next test case. |
| 168 // When reusing an existing RenderView, |for_new_test| should be true, which | 165 // When reusing an existing RenderView, |for_new_test| should be true, which |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 bool focus_on_next_commit_; | 215 bool focus_on_next_commit_; |
| 219 | 216 |
| 220 scoped_ptr<LeakDetector> leak_detector_; | 217 scoped_ptr<LeakDetector> leak_detector_; |
| 221 | 218 |
| 222 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 219 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 223 }; | 220 }; |
| 224 | 221 |
| 225 } // namespace content | 222 } // namespace content |
| 226 | 223 |
| 227 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 224 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |