Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: components/html_viewer/html_document.h

Issue 1133033003: Eliminate MediaPlayer & MediaPlayerClient abstractions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added new path for createMediaPlayer Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void UpdateWebviewSizeFromViewSize(); 76 void UpdateWebviewSizeFromViewSize();
77 77
78 // WebViewClient methods: 78 // WebViewClient methods:
79 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); 79 virtual blink::WebStorageNamespace* createSessionStorageNamespace();
80 80
81 // WebWidgetClient methods: 81 // WebWidgetClient methods:
82 void initializeLayerTreeView() override; 82 void initializeLayerTreeView() override;
83 blink::WebLayerTreeView* layerTreeView() override; 83 blink::WebLayerTreeView* layerTreeView() override;
84 84
85 // WebFrameClient methods: 85 // WebFrameClient methods:
86 virtual blink::WebMediaPlayer* createMediaPlayer( 86 virtual blink::WebMediaPlayer* createMediaPlayer(
ddorwin 2015/05/26 21:43:07 // TODO(srirama): Remove this method once blink up
Srirama 2015/05/27 14:48:50 Acknowledged.
87 blink::WebLocalFrame* frame, 87 blink::WebLocalFrame* frame,
88 const blink::WebURL& url, 88 const blink::WebURL& url,
89 blink::WebMediaPlayerClient* client);
90 virtual blink::WebMediaPlayer* createMediaPlayer(
91 blink::WebLocalFrame* frame,
92 const blink::WebURL& url,
93 blink::WebMediaPlayerClient* client, 89 blink::WebMediaPlayerClient* client,
94 blink::WebContentDecryptionModule* initial_cdm); 90 blink::WebContentDecryptionModule* initial_cdm);
91 virtual blink::WebMediaPlayer* createMediaPlayer(
92 blink::WebLocalFrame* frame,
93 const blink::WebURL& url,
94 blink::WebMediaPlayerClient* client,
95 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
96 blink::WebContentDecryptionModule* initial_cdm);
95 virtual blink::WebFrame* createChildFrame( 97 virtual blink::WebFrame* createChildFrame(
96 blink::WebLocalFrame* parent, 98 blink::WebLocalFrame* parent,
97 const blink::WebString& frameName, 99 const blink::WebString& frameName,
98 blink::WebSandboxFlags sandboxFlags); 100 blink::WebSandboxFlags sandboxFlags);
99 virtual void frameDetached(blink::WebFrame*); 101 virtual void frameDetached(blink::WebFrame*);
100 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); 102 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame);
101 virtual blink::WebNavigationPolicy decidePolicyForNavigation( 103 virtual blink::WebNavigationPolicy decidePolicyForNavigation(
102 blink::WebLocalFrame* frame, 104 blink::WebLocalFrame* frame,
103 blink::WebDataSource::ExtraData* data, 105 blink::WebDataSource::ExtraData* data,
104 const blink::WebURLRequest& request, 106 const blink::WebURLRequest& request,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 scoped_ptr<TouchHandler> touch_handler_; 170 scoped_ptr<TouchHandler> touch_handler_;
169 171
170 float device_pixel_ratio_; 172 float device_pixel_ratio_;
171 173
172 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); 174 DISALLOW_COPY_AND_ASSIGN(HTMLDocument);
173 }; 175 };
174 176
175 } // namespace html_viewer 177 } // namespace html_viewer
176 178
177 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ 179 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/html_document.cc » ('j') | components/html_viewer/html_document.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698