Index: content/shell/renderer/test_runner/WebTestProxy.h |
diff --git a/content/shell/renderer/test_runner/WebTestProxy.h b/content/shell/renderer/test_runner/WebTestProxy.h |
index 7ecb38a24733a1393a87fe8a4b64487d74f835d9..adff5959a07c73250e00b095a6f42635a60812ad 100644 |
--- a/content/shell/renderer/test_runner/WebTestProxy.h |
+++ b/content/shell/renderer/test_runner/WebTestProxy.h |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ |
#define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ |
+#include <deque> |
#include <map> |
#include <string> |
@@ -109,7 +110,6 @@ public: |
void didCloseChooser(); |
bool isChooserShown(); |
- void display(base::Closure callback); |
void displayAsyncThen(base::Closure callback); |
void discardBackingStore(); |
@@ -195,6 +195,8 @@ private: |
void invalidateAll(); |
void animateNow(); |
void DrawSelectionRect(SkCanvas* canvas); |
+ void DisplayForSoftwareMode(const base::Closure& callback); |
+ void DidDisplayAsync(const base::Closure& callback, const SkBitmap& bitmap); |
blink::WebWidget* webWidget(); |
@@ -214,7 +216,8 @@ private: |
bool m_animateScheduled; |
std::map<unsigned, std::string> m_resourceIdentifierMap; |
std::map<unsigned, blink::WebURLRequest> m_requestMap; |
- base::Callback<void(const SkBitmap&)> m_compositeAndReadbackCallback; |
+ std::deque<base::Callback<void(const SkBitmap&)> > |
+ m_compositeAndReadbackCallbacks; |
bool m_logConsoleOutput; |
int m_chooserCount; |