Chromium Code Reviews| Index: content/public/test/layouttest_support.h |
| diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h |
| index 70676ea7af31fdabf68382bb00c27d18b5270722..2810e1192b2978360f7a46347386ea78a9921301 100644 |
| --- a/content/public/test/layouttest_support.h |
| +++ b/content/public/test/layouttest_support.h |
| @@ -11,6 +11,7 @@ |
| #include "base/callback_forward.h" |
| #include "cc/layers/texture_layer.h" |
| #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" |
| +#include "url/gurl.h" |
| namespace blink { |
| class WebBatteryStatus; |
| @@ -20,6 +21,8 @@ class WebGamepad; |
| class WebGamepads; |
| class WebLayer; |
| struct WebSize; |
| +class WebView; |
| +class WebURLResponse; |
| } |
| namespace content { |
| @@ -45,6 +48,10 @@ void EnableRendererLayoutTestMode(); |
| void EnableWebTestProxyCreation( |
| const base::Callback<void(RenderView*, WebTestProxyBase*)>& callback); |
| +void FetchManifest(blink::WebView* view, GURL url, |
| + base::Callback<void(const blink::WebURLResponse& response, |
| + const std::string& data)> callback); |
|
mlamouri (slow - plz ping)
2014/09/18 17:36:05
nit: I think it would be better to have a type for
|
| + |
| // Sets gamepad provider to be used for layout tests. |
| void SetMockGamepadProvider(scoped_ptr<RendererGamepadProvider> provider); |