| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 // WebWidgetClient methods: | 96 // WebWidgetClient methods: |
| 97 void initializeLayerTreeView() override; | 97 void initializeLayerTreeView() override; |
| 98 blink::WebLayerTreeView* layerTreeView() override; | 98 blink::WebLayerTreeView* layerTreeView() override; |
| 99 | 99 |
| 100 // WebFrameClient methods: | 100 // WebFrameClient methods: |
| 101 virtual blink::WebMediaPlayer* createMediaPlayer( | 101 virtual blink::WebMediaPlayer* createMediaPlayer( |
| 102 blink::WebLocalFrame* frame, | 102 blink::WebLocalFrame* frame, |
| 103 const blink::WebURL& url, | 103 const blink::WebURL& url, |
| 104 blink::WebMediaPlayerClient* client, | 104 blink::WebMediaPlayerClient* client, |
| 105 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
| 105 blink::WebContentDecryptionModule* initial_cdm); | 106 blink::WebContentDecryptionModule* initial_cdm); |
| 106 virtual blink::WebFrame* createChildFrame( | 107 virtual blink::WebFrame* createChildFrame( |
| 107 blink::WebLocalFrame* parent, | 108 blink::WebLocalFrame* parent, |
| 108 blink::WebTreeScopeType scope, | 109 blink::WebTreeScopeType scope, |
| 109 const blink::WebString& frameName, | 110 const blink::WebString& frameName, |
| 110 blink::WebSandboxFlags sandboxFlags); | 111 blink::WebSandboxFlags sandboxFlags); |
| 111 virtual void frameDetached(blink::WebFrame* frame); | 112 virtual void frameDetached(blink::WebFrame* frame); |
| 112 virtual void frameDetached(blink::WebFrame* frame, DetachType type); | 113 virtual void frameDetached(blink::WebFrame* frame, DetachType type); |
| 113 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); | 114 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); |
| 114 virtual blink::WebNavigationPolicy decidePolicyForNavigation( | 115 virtual blink::WebNavigationPolicy decidePolicyForNavigation( |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 scoped_ptr<DevToolsAgentImpl> devtools_agent_; | 189 scoped_ptr<DevToolsAgentImpl> devtools_agent_; |
| 189 | 190 |
| 190 DeleteCallback delete_callback_; | 191 DeleteCallback delete_callback_; |
| 191 | 192 |
| 192 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); | 193 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); |
| 193 }; | 194 }; |
| 194 | 195 |
| 195 } // namespace html_viewer | 196 } // namespace html_viewer |
| 196 | 197 |
| 197 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 198 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| OLD | NEW |