| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void FetchManifest( | 112 void FetchManifest( |
| 113 blink::WebView* view, | 113 blink::WebView* view, |
| 114 const GURL& url, | 114 const GURL& url, |
| 115 const base::Callback<void(const blink::WebURLResponse& response, | 115 const base::Callback<void(const blink::WebURLResponse& response, |
| 116 const std::string& data)>& callback) override; | 116 const std::string& data)>& callback) override; |
| 117 void SetPermission(const std::string& name, | 117 void SetPermission(const std::string& name, |
| 118 const std::string& value, | 118 const std::string& value, |
| 119 const GURL& origin, | 119 const GURL& origin, |
| 120 const GURL& embedding_origin) override; | 120 const GURL& embedding_origin) override; |
| 121 void ResetPermissions() override; | 121 void ResetPermissions() override; |
| 122 scoped_refptr<cc::TextureLayer> CreateTextureLayerForMailbox( |
| 123 cc::TextureLayerClient* client) override; |
| 122 blink::WebLayer* InstantiateWebLayer( | 124 blink::WebLayer* InstantiateWebLayer( |
| 123 scoped_refptr<cc::TextureLayer> layer) override; | 125 scoped_refptr<cc::TextureLayer> layer) override; |
| 124 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 126 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
| 125 | 127 |
| 126 void Reset(); | 128 void Reset(); |
| 127 | 129 |
| 128 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; } | 130 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; } |
| 129 WebTestProxyBase* proxy() const { return proxy_; } | 131 WebTestProxyBase* proxy() const { return proxy_; } |
| 130 | 132 |
| 131 void ReportLeakDetectionResult(const LeakDetectionResult& result); | 133 void ReportLeakDetectionResult(const LeakDetectionResult& result); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 167 |
| 166 scoped_ptr<LeakDetector> leak_detector_; | 168 scoped_ptr<LeakDetector> leak_detector_; |
| 167 bool needs_leak_detector_; | 169 bool needs_leak_detector_; |
| 168 | 170 |
| 169 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 171 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 170 }; | 172 }; |
| 171 | 173 |
| 172 } // namespace content | 174 } // namespace content |
| 173 | 175 |
| 174 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 176 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |