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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 void Reload() override; | 107 void Reload() override; |
108 void LoadURLForFrame(const blink::WebURL& url, | 108 void LoadURLForFrame(const blink::WebURL& url, |
109 const std::string& frame_name) override; | 109 const std::string& frame_name) override; |
110 bool AllowExternalPages() override; | 110 bool AllowExternalPages() override; |
111 std::string DumpHistoryForWindow(WebTestProxyBase* proxy) override; | 111 std::string DumpHistoryForWindow(WebTestProxyBase* proxy) override; |
112 void SetPermission(const std::string& name, | 112 void SetPermission(const std::string& name, |
113 const std::string& value, | 113 const std::string& value, |
114 const GURL& origin, | 114 const GURL& origin, |
115 const GURL& embedding_origin) override; | 115 const GURL& embedding_origin) override; |
116 void ResetPermissions() override; | 116 void ResetPermissions() override; |
| 117 blink::WebLayer* InstantiateWebLayer( |
| 118 scoped_refptr<cc::TextureLayer> layer) override; |
| 119 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
117 | 120 |
118 void Reset(); | 121 void Reset(); |
119 | 122 |
120 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; } | 123 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; } |
121 WebTestProxyBase* proxy() const { return proxy_; } | 124 WebTestProxyBase* proxy() const { return proxy_; } |
122 | 125 |
123 void ReportLeakDetectionResult(const LeakDetectionResult& result); | 126 void ReportLeakDetectionResult(const LeakDetectionResult& result); |
124 | 127 |
125 private: | 128 private: |
126 // Message handlers. | 129 // Message handlers. |
(...skipping 30 matching lines...) Expand all Loading... |
157 | 160 |
158 scoped_ptr<LeakDetector> leak_detector_; | 161 scoped_ptr<LeakDetector> leak_detector_; |
159 bool needs_leak_detector_; | 162 bool needs_leak_detector_; |
160 | 163 |
161 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 164 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
162 }; | 165 }; |
163 | 166 |
164 } // namespace content | 167 } // namespace content |
165 | 168 |
166 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 169 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |