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

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: Add new path for createMediaPlayer() Created 5 years, 5 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void InitGlobalStateAndLoadIfNecessary(); 97 void InitGlobalStateAndLoadIfNecessary();
98 98
99 // WebViewClient methods: 99 // WebViewClient methods:
100 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); 100 virtual blink::WebStorageNamespace* createSessionStorageNamespace();
101 101
102 // WebWidgetClient methods: 102 // WebWidgetClient methods:
103 void initializeLayerTreeView() override; 103 void initializeLayerTreeView() override;
104 blink::WebLayerTreeView* layerTreeView() override; 104 blink::WebLayerTreeView* layerTreeView() override;
105 105
106 // WebFrameClient methods: 106 // WebFrameClient methods:
107 virtual blink::WebMediaPlayer* createMediaPlayer( 107 virtual blink::WebMediaPlayer* createMediaPlayer(
Srirama 2015/07/10 15:29:30 I have checked the code and couldn't find the use
ddorwin 2015/07/10 17:56:56 Ditto.
Srirama 2015/07/10 18:36:02 Please refer to my comment in frame.h
Srirama 2015/07/11 08:44:10 Done.
108 blink::WebLocalFrame* frame, 108 blink::WebLocalFrame* frame,
109 const blink::WebURL& url, 109 const blink::WebURL& url,
110 blink::WebMediaPlayerClient* client, 110 blink::WebMediaPlayerClient* client,
111 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
111 blink::WebContentDecryptionModule* initial_cdm); 112 blink::WebContentDecryptionModule* initial_cdm);
112 virtual blink::WebFrame* createChildFrame( 113 virtual blink::WebFrame* createChildFrame(
113 blink::WebLocalFrame* parent, 114 blink::WebLocalFrame* parent,
114 blink::WebTreeScopeType scope, 115 blink::WebTreeScopeType scope,
115 const blink::WebString& frameName, 116 const blink::WebString& frameName,
116 blink::WebSandboxFlags sandboxFlags); 117 blink::WebSandboxFlags sandboxFlags);
117 virtual void frameDetached(blink::WebFrame* frame, DetachType type); 118 virtual void frameDetached(blink::WebFrame* frame, DetachType type);
118 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); 119 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame);
119 virtual blink::WebNavigationPolicy decidePolicyForNavigation( 120 virtual blink::WebNavigationPolicy decidePolicyForNavigation(
120 const NavigationPolicyInfo& info); 121 const NavigationPolicyInfo& info);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 scoped_ptr<DevToolsAgentImpl> devtools_agent_; 186 scoped_ptr<DevToolsAgentImpl> devtools_agent_;
186 187
187 DeleteCallback delete_callback_; 188 DeleteCallback delete_callback_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); 190 DISALLOW_COPY_AND_ASSIGN(HTMLDocument);
190 }; 191 };
191 192
192 } // namespace html_viewer 193 } // namespace html_viewer
193 194
194 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ 195 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698