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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 594713002: Pass initial CDM to CreateMediaPlayer() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 blink::WebNavigationPolicy policy) OVERRIDE; 265 blink::WebNavigationPolicy policy) OVERRIDE;
266 virtual void ExecuteJavaScript(const base::string16& javascript) OVERRIDE; 266 virtual void ExecuteJavaScript(const base::string16& javascript) OVERRIDE;
267 virtual bool IsHidden() OVERRIDE; 267 virtual bool IsHidden() OVERRIDE;
268 virtual ServiceRegistry* GetServiceRegistry() OVERRIDE; 268 virtual ServiceRegistry* GetServiceRegistry() OVERRIDE;
269 virtual bool IsFTPDirectoryListing() OVERRIDE; 269 virtual bool IsFTPDirectoryListing() OVERRIDE;
270 virtual void AttachGuest(int element_instance_id) OVERRIDE; 270 virtual void AttachGuest(int element_instance_id) OVERRIDE;
271 271
272 // blink::WebFrameClient implementation: 272 // blink::WebFrameClient implementation:
273 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, 273 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame,
274 const blink::WebPluginParams& params); 274 const blink::WebPluginParams& params);
275 virtual blink::WebMediaPlayer* createMediaPlayer( 275 virtual blink::WebMediaPlayer* createMediaPlayer(
ddorwin 2014/09/23 18:03:23 TODO: remove
jrummell 2014/09/23 20:01:38 Done.
276 blink::WebLocalFrame* frame, 276 blink::WebLocalFrame* frame,
277 const blink::WebURL& url, 277 const blink::WebURL& url,
278 blink::WebMediaPlayerClient* client); 278 blink::WebMediaPlayerClient* client);
279 virtual blink::WebMediaPlayer* createMediaPlayer(
280 blink::WebLocalFrame* frame,
281 const blink::WebURL& url,
282 blink::WebMediaPlayerClient* client,
283 blink::WebContentDecryptionModule* cdm);
ddorwin 2014/09/23 18:03:23 initial_cdm? Here and elsewhere as appropriate. In
jrummell 2014/09/23 20:01:38 Done.
279 virtual blink::WebContentDecryptionModule* createContentDecryptionModule( 284 virtual blink::WebContentDecryptionModule* createContentDecryptionModule(
280 blink::WebLocalFrame* frame, 285 blink::WebLocalFrame* frame,
281 const blink::WebSecurityOrigin& security_origin, 286 const blink::WebSecurityOrigin& security_origin,
282 const blink::WebString& key_system); 287 const blink::WebString& key_system);
283 virtual blink::WebApplicationCacheHost* createApplicationCacheHost( 288 virtual blink::WebApplicationCacheHost* createApplicationCacheHost(
284 blink::WebLocalFrame* frame, 289 blink::WebLocalFrame* frame,
285 blink::WebApplicationCacheHostClient* client); 290 blink::WebApplicationCacheHostClient* client);
286 virtual blink::WebWorkerPermissionClientProxy* 291 virtual blink::WebWorkerPermissionClientProxy*
287 createWorkerPermissionClientProxy(blink::WebLocalFrame* frame); 292 createWorkerPermissionClientProxy(blink::WebLocalFrame* frame);
288 virtual blink::WebExternalPopupMenu* createExternalPopupMenu( 293 virtual blink::WebExternalPopupMenu* createExternalPopupMenu(
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 #endif 753 #endif
749 754
750 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 755 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
751 756
752 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 757 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
753 }; 758 };
754 759
755 } // namespace content 760 } // namespace content
756 761
757 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 762 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698