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

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: fixed compile error in webmediaplayer_impl 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 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 // blink::WebFrameClient implementation: 342 // blink::WebFrameClient implementation:
343 blink::WebPluginPlaceholder* createPluginPlaceholder( 343 blink::WebPluginPlaceholder* createPluginPlaceholder(
344 blink::WebLocalFrame*, 344 blink::WebLocalFrame*,
345 const blink::WebPluginParams&) override; 345 const blink::WebPluginParams&) override;
346 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, 346 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame,
347 const blink::WebPluginParams& params); 347 const blink::WebPluginParams& params);
348 virtual blink::WebMediaPlayer* createMediaPlayer( 348 virtual blink::WebMediaPlayer* createMediaPlayer(
349 blink::WebLocalFrame* frame, 349 blink::WebLocalFrame* frame,
350 const blink::WebURL& url, 350 const blink::WebURL& url,
351 blink::WebMediaPlayerClient* client, 351 blink::WebMediaPlayerClient* client,
352 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
352 blink::WebContentDecryptionModule* initial_cdm); 353 blink::WebContentDecryptionModule* initial_cdm);
353 virtual blink::WebApplicationCacheHost* createApplicationCacheHost( 354 virtual blink::WebApplicationCacheHost* createApplicationCacheHost(
354 blink::WebLocalFrame* frame, 355 blink::WebLocalFrame* frame,
355 blink::WebApplicationCacheHostClient* client); 356 blink::WebApplicationCacheHostClient* client);
356 virtual blink::WebWorkerContentSettingsClientProxy* 357 virtual blink::WebWorkerContentSettingsClientProxy*
357 createWorkerContentSettingsClientProxy(blink::WebLocalFrame* frame); 358 createWorkerContentSettingsClientProxy(blink::WebLocalFrame* frame);
358 virtual blink::WebExternalPopupMenu* createExternalPopupMenu( 359 virtual blink::WebExternalPopupMenu* createExternalPopupMenu(
359 const blink::WebPopupMenuInfo& popup_menu_info, 360 const blink::WebPopupMenuInfo& popup_menu_info,
360 blink::WebExternalPopupMenuClient* popup_menu_client); 361 blink::WebExternalPopupMenuClient* popup_menu_client);
361 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); 362 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame);
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 // with the navigation information saved in OnNavigate(). 791 // with the navigation information saved in OnNavigate().
791 void PopulateDocumentStateFromPending(DocumentState* document_state); 792 void PopulateDocumentStateFromPending(DocumentState* document_state);
792 793
793 // Returns a new NavigationState populated with the navigation information 794 // Returns a new NavigationState populated with the navigation information
794 // saved in OnNavigate(). 795 // saved in OnNavigate().
795 NavigationState* CreateNavigationStateFromPending(); 796 NavigationState* CreateNavigationStateFromPending();
796 797
797 #if defined(OS_ANDROID) 798 #if defined(OS_ANDROID)
798 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( 799 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer(
799 blink::WebMediaPlayerClient* client, 800 blink::WebMediaPlayerClient* client,
801 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
800 media::MediaPermission* media_permission, 802 media::MediaPermission* media_permission,
801 blink::WebContentDecryptionModule* initial_cdm); 803 blink::WebContentDecryptionModule* initial_cdm);
802 804
803 RendererMediaPlayerManager* GetMediaPlayerManager(); 805 RendererMediaPlayerManager* GetMediaPlayerManager();
804 #endif 806 #endif
805 807
806 bool AreSecureCodecsSupported(); 808 bool AreSecureCodecsSupported();
807 809
808 media::MediaPermission* GetMediaPermission(); 810 media::MediaPermission* GetMediaPermission();
809 811
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 #endif 1000 #endif
999 1001
1000 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1002 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1001 1003
1002 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1004 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1003 }; 1005 };
1004 1006
1005 } // namespace content 1007 } // namespace content
1006 1008
1007 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1009 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698