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

Side by Side Diff: content/renderer/render_frame_impl.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, 7 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 const gfx::Range& range) override; 342 const gfx::Range& range) override;
343 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, 343 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate,
344 v8::Local<v8::Context> context) override; 344 v8::Local<v8::Context> context) override;
345 345
346 // blink::WebFrameClient implementation: 346 // blink::WebFrameClient implementation:
347 blink::WebPluginPlaceholder* createPluginPlaceholder( 347 blink::WebPluginPlaceholder* createPluginPlaceholder(
348 blink::WebLocalFrame*, 348 blink::WebLocalFrame*,
349 const blink::WebPluginParams&) override; 349 const blink::WebPluginParams&) override;
350 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, 350 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame,
351 const blink::WebPluginParams& params); 351 const blink::WebPluginParams& params);
352 // TODO(jrummell): Remove this method once blink updated. 352 // TODO(srirama): Remove this method once blink updated.
353 virtual blink::WebMediaPlayer* createMediaPlayer(
354 blink::WebLocalFrame* frame,
355 const blink::WebURL& url,
356 blink::WebMediaPlayerClient* client);
357 virtual blink::WebMediaPlayer* createMediaPlayer( 353 virtual blink::WebMediaPlayer* createMediaPlayer(
358 blink::WebLocalFrame* frame, 354 blink::WebLocalFrame* frame,
359 const blink::WebURL& url, 355 const blink::WebURL& url,
360 blink::WebMediaPlayerClient* client, 356 blink::WebMediaPlayerClient* client,
361 blink::WebContentDecryptionModule* initial_cdm); 357 blink::WebContentDecryptionModule* initial_cdm);
358 virtual blink::WebMediaPlayer* createMediaPlayer(
359 blink::WebLocalFrame* frame,
360 const blink::WebURL& url,
361 blink::WebMediaPlayerClient* client,
362 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
363 blink::WebContentDecryptionModule* initial_cdm);
362 virtual blink::WebApplicationCacheHost* createApplicationCacheHost( 364 virtual blink::WebApplicationCacheHost* createApplicationCacheHost(
363 blink::WebLocalFrame* frame, 365 blink::WebLocalFrame* frame,
364 blink::WebApplicationCacheHostClient* client); 366 blink::WebApplicationCacheHostClient* client);
365 virtual blink::WebWorkerContentSettingsClientProxy* 367 virtual blink::WebWorkerContentSettingsClientProxy*
366 createWorkerContentSettingsClientProxy(blink::WebLocalFrame* frame); 368 createWorkerContentSettingsClientProxy(blink::WebLocalFrame* frame);
367 virtual blink::WebExternalPopupMenu* createExternalPopupMenu( 369 virtual blink::WebExternalPopupMenu* createExternalPopupMenu(
368 const blink::WebPopupMenuInfo& popup_menu_info, 370 const blink::WebPopupMenuInfo& popup_menu_info,
369 blink::WebExternalPopupMenuClient* popup_menu_client); 371 blink::WebExternalPopupMenuClient* popup_menu_client);
370 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); 372 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame);
371 virtual blink::WebServiceWorkerProvider* createServiceWorkerProvider( 373 virtual blink::WebServiceWorkerProvider* createServiceWorkerProvider(
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 #endif 990 #endif
989 991
990 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 992 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
991 993
992 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 994 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
993 }; 995 };
994 996
995 } // namespace content 997 } // namespace content
996 998
997 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 999 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698