Index: components/html_viewer/html_widget.h |
diff --git a/components/html_viewer/html_widget.h b/components/html_viewer/html_widget.h |
index 37074ce1c7ab25a65d848ade5dbf12bd6da260e1..2ad21141746a3f37ba00eb817f607f030e2fecdd 100644 |
--- a/components/html_viewer/html_widget.h |
+++ b/components/html_viewer/html_widget.h |
@@ -38,12 +38,16 @@ class HTMLWidget { |
}; |
// Used for the root frame when the root frame is remote. |
-class HTMLWidgetRootRemote : public HTMLWidget { |
+class HTMLWidgetRootRemote : public HTMLWidget, public blink::WebViewClient { |
public: |
HTMLWidgetRootRemote(); |
~HTMLWidgetRootRemote() override; |
private: |
+ // WebViewClient methods: |
+ virtual blink::WebStorageNamespace* createSessionStorageNamespace(); |
+ virtual bool HTMLWidgetRootRemote::allowsBrokenNullLayerTreeView() const; |
sky
2015/09/23 23:56:24
remove HTMLWidgetRootRemote::
yzshen1
2015/09/24 03:55:11
oops. Done.
|
+ |
// HTMLWidget: |
blink::WebWidget* GetWidget() override; |
void OnViewBoundsChanged(mus::View* view) override; |