Chromium Code Reviews| Index: content/shell/renderer/test_runner/test_runner.h |
| diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h |
| index 09dc9e2b08cd059b0f421cec88abf652cf5e0cce..3954736517f39d7883bcfb18dffecad929349a1e 100644 |
| --- a/content/shell/renderer/test_runner/test_runner.h |
| +++ b/content/shell/renderer/test_runner/test_runner.h |
| @@ -24,6 +24,7 @@ class WebNotificationPresenter; |
| class WebPermissionClient; |
| class WebString; |
| class WebView; |
| +class WebURLResponse; |
| } |
| namespace gin { |
| @@ -550,6 +551,8 @@ class TestRunner : public WebTestRunner, |
| void DisplayAsync(); |
| void DisplayAsyncThen(v8::Handle<v8::Function> callback); |
| + void GetManifestThen(v8::Handle<v8::Function> callback); |
|
Mike West
2014/09/24 15:15:47
Nit: I'd suggest moving this down under the pixel
|
| + |
| // Similar to DisplayAsyncThen(), but pass parameters of the captured |
| // snapshot (width, height, snapshot) to the callback. The snapshot is in |
| // uint8 RGBA format. |
| @@ -568,6 +571,9 @@ class TestRunner : public WebTestRunner, |
| /////////////////////////////////////////////////////////////////////////// |
| // Internal helpers |
| + void GetManifestCallback(scoped_ptr<InvokeCallbackTask> task, |
| + const blink::WebURLResponse& response, |
| + const std::string& data); |
| void CapturePixelsCallback(scoped_ptr<InvokeCallbackTask> task, |
| const SkBitmap& snapshot); |