OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
6 #define COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 6 #define COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 ~HTMLDocument() override; | 87 ~HTMLDocument() override; |
88 | 88 |
89 // WebViewClient methods: | 89 // WebViewClient methods: |
90 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); | 90 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); |
91 | 91 |
92 // WebWidgetClient methods: | 92 // WebWidgetClient methods: |
93 void initializeLayerTreeView() override; | 93 void initializeLayerTreeView() override; |
94 blink::WebLayerTreeView* layerTreeView() override; | 94 blink::WebLayerTreeView* layerTreeView() override; |
95 | 95 |
96 // WebFrameClient methods: | 96 // WebFrameClient methods: |
97 // TODO(srirama): Remove this method once blink updated. | |
98 virtual blink::WebMediaPlayer* createMediaPlayer( | 97 virtual blink::WebMediaPlayer* createMediaPlayer( |
99 blink::WebLocalFrame* frame, | 98 blink::WebLocalFrame* frame, |
100 const blink::WebURL& url, | 99 const blink::WebURL& url, |
101 blink::WebMediaPlayerClient* client, | |
102 blink::WebContentDecryptionModule* initial_cdm); | |
103 virtual blink::WebMediaPlayer* createMediaPlayer( | |
104 blink::WebLocalFrame* frame, | |
105 const blink::WebURL& url, | |
106 blink::WebMediaPlayerClient* client, | 100 blink::WebMediaPlayerClient* client, |
107 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 101 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
108 blink::WebContentDecryptionModule* initial_cdm); | 102 blink::WebContentDecryptionModule* initial_cdm); |
109 virtual blink::WebFrame* createChildFrame( | 103 virtual blink::WebFrame* createChildFrame( |
110 blink::WebLocalFrame* parent, | 104 blink::WebLocalFrame* parent, |
111 blink::WebTreeScopeType scope, | 105 blink::WebTreeScopeType scope, |
112 const blink::WebString& frameName, | 106 const blink::WebString& frameName, |
113 blink::WebSandboxFlags sandboxFlags); | 107 blink::WebSandboxFlags sandboxFlags); |
114 virtual void frameDetached(blink::WebFrame* frame, DetachType type); | 108 virtual void frameDetached(blink::WebFrame* frame, DetachType type); |
115 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); | 109 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 scoped_ptr<DevToolsAgentImpl> devtools_agent_; | 189 scoped_ptr<DevToolsAgentImpl> devtools_agent_; |
196 | 190 |
197 DeleteCallback delete_callback_; | 191 DeleteCallback delete_callback_; |
198 | 192 |
199 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); | 193 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); |
200 }; | 194 }; |
201 | 195 |
202 } // namespace html_viewer | 196 } // namespace html_viewer |
203 | 197 |
204 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 198 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
OLD | NEW |