OLD | NEW |
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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 #if defined(OS_ANDROID) | 806 #if defined(OS_ANDROID) |
807 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 807 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
808 const blink::WebURL& url, | 808 const blink::WebURL& url, |
809 blink::WebMediaPlayerClient* client, | 809 blink::WebMediaPlayerClient* client, |
810 media::MediaPermission* media_permission, | 810 media::MediaPermission* media_permission, |
811 blink::WebContentDecryptionModule* initial_cdm); | 811 blink::WebContentDecryptionModule* initial_cdm); |
812 | 812 |
813 RendererMediaPlayerManager* GetMediaPlayerManager(); | 813 RendererMediaPlayerManager* GetMediaPlayerManager(); |
814 #endif | 814 #endif |
815 | 815 |
| 816 bool AreSecureCodecsSupported(); |
816 media::MediaPermission* GetMediaPermission(); | 817 media::MediaPermission* GetMediaPermission(); |
817 media::CdmFactory* GetCdmFactory(); | 818 media::CdmFactory* GetCdmFactory(); |
818 | 819 |
819 // Stores the WebLocalFrame we are associated with. This is null from the | 820 // Stores the WebLocalFrame we are associated with. This is null from the |
820 // constructor until SetWebFrame is called, and it is null after | 821 // constructor until SetWebFrame is called, and it is null after |
821 // frameDetached is called until destruction (which is asynchronous in the | 822 // frameDetached is called until destruction (which is asynchronous in the |
822 // case of the main frame, but not subframes). | 823 // case of the main frame, but not subframes). |
823 blink::WebLocalFrame* frame_; | 824 blink::WebLocalFrame* frame_; |
824 | 825 |
825 // Boolean value indicating whether this RenderFrameImpl object is for a | 826 // Boolean value indicating whether this RenderFrameImpl object is for a |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 #endif | 989 #endif |
989 | 990 |
990 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 991 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
991 | 992 |
992 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 993 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
993 }; | 994 }; |
994 | 995 |
995 } // namespace content | 996 } // namespace content |
996 | 997 |
997 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 998 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |