| Index: components/test_runner/web_test_proxy.h
|
| diff --git a/components/test_runner/web_test_proxy.h b/components/test_runner/web_test_proxy.h
|
| index a9b86c0e472aa40314c0892681963e7acb3e77cf..443cd7e8506bbd88c3b9b5033ca2202d5021d7da 100644
|
| --- a/components/test_runner/web_test_proxy.h
|
| +++ b/components/test_runner/web_test_proxy.h
|
| @@ -13,6 +13,7 @@
|
| #include "build/build_config.h"
|
| #include "components/test_runner/test_runner_export.h"
|
| #include "components/test_runner/web_task.h"
|
| +#include "third_party/WebKit/public/platform/WebImage.h"
|
| #include "third_party/WebKit/public/platform/WebRect.h"
|
| #include "third_party/WebKit/public/platform/WebScreenInfo.h"
|
| #include "third_party/WebKit/public/platform/WebURLError.h"
|
| @@ -23,10 +24,12 @@
|
| #include "third_party/WebKit/public/web/WebNavigationPolicy.h"
|
| #include "third_party/WebKit/public/web/WebTextDirection.h"
|
|
|
| +class SkBitmap;
|
| +class SkCanvas;
|
| +
|
| namespace blink {
|
| class WebDragData;
|
| class WebFileChooserCompletion;
|
| -class WebImage;
|
| class WebLocalFrame;
|
| class WebSpeechRecognizer;
|
| class WebSpellCheckClient;
|
| @@ -69,6 +72,12 @@
|
| blink::WebTextDirection sub_message_hint);
|
|
|
| std::string DumpBackForwardLists();
|
| + void CapturePixelsForPrinting(
|
| + const base::Callback<void(const SkBitmap&)>& callback);
|
| + void CopyImageAtAndCapturePixels(
|
| + int x, int y, const base::Callback<void(const SkBitmap&)>& callback);
|
| + void CapturePixelsAsync(
|
| + const base::Callback<void(const SkBitmap&)>& callback);
|
|
|
| void LayoutAndPaintAsyncThen(const base::Closure& callback);
|
|
|
| @@ -118,12 +127,18 @@
|
|
|
| private:
|
| void AnimateNow();
|
| + void DrawSelectionRect(SkCanvas* canvas);
|
| + void DidCapturePixelsAsync(
|
| + const base::Callback<void(const SkBitmap&)>& callback,
|
| + const SkBitmap& bitmap);
|
|
|
| TestInterfaces* test_interfaces_;
|
| WebTestDelegate* delegate_;
|
| blink::WebWidget* web_widget_;
|
|
|
| WebTaskList task_list_;
|
| +
|
| + blink::WebImage drag_image_;
|
|
|
| scoped_ptr<SpellCheckClient> spellcheck_;
|
|
|
|
|