| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 blink::WebLayer* InstantiateWebLayer( | 124 blink::WebLayer* InstantiateWebLayer( |
| 125 scoped_refptr<cc::TextureLayer> layer) override; | 125 scoped_refptr<cc::TextureLayer> layer) override; |
| 126 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 126 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
| 127 void DispatchBeforeInstallPromptEvent( | 127 void DispatchBeforeInstallPromptEvent( |
| 128 int request_id, | 128 int request_id, |
| 129 const std::vector<std::string>& event_platforms, | 129 const std::vector<std::string>& event_platforms, |
| 130 const base::Callback<void(bool)>& callback) override; | 130 const base::Callback<void(bool)>& callback) override; |
| 131 void ResolveBeforeInstallPromptPromise( | 131 void ResolveBeforeInstallPromptPromise( |
| 132 int request_id, | 132 int request_id, |
| 133 const std::string& platform) override; | 133 const std::string& platform) override; |
| 134 blink::WebPlugin* CreatePluginPlaceholder( |
| 135 blink::WebLocalFrame* frame, |
| 136 const blink::WebPluginParams& params) override; |
| 134 | 137 |
| 135 void Reset(); | 138 void Reset(); |
| 136 | 139 |
| 137 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; } | 140 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; } |
| 138 WebTestProxyBase* proxy() const { return proxy_; } | 141 WebTestProxyBase* proxy() const { return proxy_; } |
| 139 | 142 |
| 140 void ReportLeakDetectionResult(const LeakDetectionResult& result); | 143 void ReportLeakDetectionResult(const LeakDetectionResult& result); |
| 141 | 144 |
| 142 private: | 145 private: |
| 143 // Message handlers. | 146 // Message handlers. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 174 | 177 |
| 175 scoped_ptr<LeakDetector> leak_detector_; | 178 scoped_ptr<LeakDetector> leak_detector_; |
| 176 bool needs_leak_detector_; | 179 bool needs_leak_detector_; |
| 177 | 180 |
| 178 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 181 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 179 }; | 182 }; |
| 180 | 183 |
| 181 } // namespace content | 184 } // namespace content |
| 182 | 185 |
| 183 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 186 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |