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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); | 80 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); |
81 | 81 |
82 // WebWidgetClient methods: | 82 // WebWidgetClient methods: |
83 void initializeLayerTreeView() override; | 83 void initializeLayerTreeView() override; |
84 blink::WebLayerTreeView* layerTreeView() override; | 84 blink::WebLayerTreeView* layerTreeView() override; |
85 | 85 |
86 // WebFrameClient methods: | 86 // WebFrameClient methods: |
87 virtual blink::WebMediaPlayer* createMediaPlayer( | 87 virtual blink::WebMediaPlayer* createMediaPlayer( |
88 blink::WebLocalFrame* frame, | 88 blink::WebLocalFrame* frame, |
89 const blink::WebURL& url, | 89 const blink::WebURL& url, |
90 blink::WebMediaPlayerClient* client); | |
91 virtual blink::WebMediaPlayer* createMediaPlayer( | |
92 blink::WebLocalFrame* frame, | |
93 const blink::WebURL& url, | |
94 blink::WebMediaPlayerClient* client, | 90 blink::WebMediaPlayerClient* client, |
95 blink::WebContentDecryptionModule* initial_cdm); | 91 blink::WebContentDecryptionModule* initial_cdm); |
96 virtual blink::WebFrame* createChildFrame( | 92 virtual blink::WebFrame* createChildFrame( |
97 blink::WebLocalFrame* parent, | 93 blink::WebLocalFrame* parent, |
98 blink::WebTreeScopeType scope, | 94 blink::WebTreeScopeType scope, |
99 const blink::WebString& frameName, | 95 const blink::WebString& frameName, |
100 blink::WebSandboxFlags sandboxFlags); | 96 blink::WebSandboxFlags sandboxFlags); |
101 virtual void frameDetached(blink::WebFrame*); | 97 virtual void frameDetached(blink::WebFrame*); |
102 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); | 98 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); |
103 virtual blink::WebNavigationPolicy decidePolicyForNavigation( | 99 virtual blink::WebNavigationPolicy decidePolicyForNavigation( |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 Setup* setup_; | 167 Setup* setup_; |
172 | 168 |
173 scoped_ptr<TouchHandler> touch_handler_; | 169 scoped_ptr<TouchHandler> touch_handler_; |
174 | 170 |
175 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); | 171 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); |
176 }; | 172 }; |
177 | 173 |
178 } // namespace html_viewer | 174 } // namespace html_viewer |
179 | 175 |
180 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 176 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
OLD | NEW |