| Index: public/testing/WebFrameTestProxy.h
|
| diff --git a/public/testing/WebFrameTestProxy.h b/public/testing/WebFrameTestProxy.h
|
| index 426bbe2c29300976a8be4c36af81960a62ea1ce0..e906a2314e0154b83c33417c1e13007587a4c70d 100644
|
| --- a/public/testing/WebFrameTestProxy.h
|
| +++ b/public/testing/WebFrameTestProxy.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "WebTestProxy.h"
|
| #include "public/platform/WebNonCopyable.h"
|
| +#include "public/platform/WebString.h"
|
|
|
| namespace WebTestRunner {
|
|
|
| @@ -67,6 +68,13 @@ public:
|
| }
|
|
|
| // WebFrameClient implementation.
|
| + virtual bool canCreatePluginWithoutRenderer(const blink::WebString& mimeType)
|
| + {
|
| + using blink::WebString;
|
| +
|
| + static const WebString suffix = WebString::fromUTF8("-can-create-without-renderer");
|
| + return mimeType.utf8().find(suffix.utf8()) != std::string::npos;
|
| + }
|
| virtual void didStartProvisionalLoad(blink::WebFrame* frame)
|
| {
|
| if (m_version > 2)
|
|
|