| 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 2bda72df6f56831f0b308eff6c164484f85a4326..2a1d751fe90ccbcbda9ae870b6caee0c0c65e171 100644
|
| --- a/content/shell/renderer/test_runner/test_runner.h
|
| +++ b/content/shell/renderer/test_runner/test_runner.h
|
| @@ -15,6 +15,8 @@
|
| #include "content/shell/renderer/test_runner/web_test_runner.h"
|
| #include "v8/include/v8.h"
|
|
|
| +class SkBitmap;
|
| +
|
| namespace blink {
|
| class WebFrame;
|
| class WebNotificationPresenter;
|
| @@ -531,12 +533,20 @@ class TestRunner : public WebTestRunner,
|
| void DisplayAsync();
|
| void DisplayAsyncThen(v8::Handle<v8::Function> callback);
|
|
|
| + // Similar to DisplayAsyncThen(), but pass parameters of the captured
|
| + // snapshot (width, height, snapshot) to the callback.
|
| + void CapturePixelsAsyncThen(v8::Handle<v8::Function> callback);
|
| +
|
| void SetMockPushClientSuccess(const std::string& end_point,
|
| const std::string& registration_id);
|
| void SetMockPushClientError(const std::string& message);
|
|
|
| ///////////////////////////////////////////////////////////////////////////
|
| // Internal helpers
|
| +
|
| + void CapturePixelsCallback(scoped_ptr<InvokeCallbackTask> task,
|
| + const SkBitmap& snapshot);
|
| +
|
| void CheckResponseMimeType();
|
| void CompleteNotifyDone();
|
|
|
|
|