Index: mojo/services/html_viewer/html_document.h |
diff --git a/mojo/services/html_viewer/html_document.h b/mojo/services/html_viewer/html_document.h |
index d53615796315051f70af7dfa446c94d954e3f140..1923f61441d43576f99b4d3f0451972392fcfa6c 100644 |
--- a/mojo/services/html_viewer/html_document.h |
+++ b/mojo/services/html_viewer/html_document.h |
@@ -22,6 +22,7 @@ |
#include "mojo/services/view_manager/public/cpp/view_manager_delegate.h" |
#include "mojo/services/view_manager/public/cpp/view_observer.h" |
#include "third_party/WebKit/public/web/WebFrameClient.h" |
+#include "third_party/WebKit/public/web/WebSandboxFlags.h" |
#include "third_party/WebKit/public/web/WebViewClient.h" |
namespace base { |
@@ -83,8 +84,13 @@ class HTMLDocument : public blink::WebViewClient, |
const blink::WebURL& url, |
blink::WebMediaPlayerClient* client, |
blink::WebContentDecryptionModule* initial_cdm); |
+ // TODO(alexmos): Remove once Blink is updated to pass sandboxFlags. |
virtual blink::WebFrame* createChildFrame(blink::WebLocalFrame* parent, |
const blink::WebString& frameName); |
+ virtual blink::WebFrame* createChildFrame( |
+ blink::WebLocalFrame* parent, |
+ const blink::WebString& frameName, |
+ blink::WebSandboxFlags sandboxFlags); |
virtual void frameDetached(blink::WebFrame*); |
virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); |
virtual blink::WebNavigationPolicy decidePolicyForNavigation( |