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" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/id_map.h" | 13 #include "base/id_map.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/process/process_handle.h" | 17 #include "base/process/process_handle.h" |
18 #include "content/common/accessibility_mode_enums.h" | 18 #include "content/common/accessibility_mode_enums.h" |
19 #include "content/common/frame_message_enums.h" | 19 #include "content/common/frame_message_enums.h" |
20 #include "content/common/mojo/service_registry_impl.h" | 20 #include "content/common/mojo/service_registry_impl.h" |
21 #include "content/public/common/console_message_level.h" | 21 #include "content/public/common/console_message_level.h" |
22 #include "content/public/common/javascript_message_type.h" | 22 #include "content/public/common/javascript_message_type.h" |
23 #include "content/public/common/referrer.h" | 23 #include "content/public/common/referrer.h" |
24 #include "content/public/renderer/render_frame.h" | 24 #include "content/public/renderer/render_frame.h" |
25 #include "content/renderer/render_frame_proxy.h" | 25 #include "content/renderer/render_frame_proxy.h" |
26 #include "content/renderer/renderer_webcookiejar_impl.h" | 26 #include "content/renderer/renderer_webcookiejar_impl.h" |
27 #include "ipc/ipc_message.h" | 27 #include "ipc/ipc_message.h" |
28 #include "media/blink/webmediaplayer_delegate.h" | 28 #include "media/blink/webmediaplayer_delegate.h" |
| 29 #include "media/blink/webmediaplayer_params.h" |
29 #include "mojo/application/public/interfaces/service_provider.mojom.h" | 30 #include "mojo/application/public/interfaces/service_provider.mojom.h" |
30 #include "mojo/application/public/interfaces/shell.mojom.h" | 31 #include "mojo/application/public/interfaces/shell.mojom.h" |
31 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | 32 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" |
32 #include "third_party/WebKit/public/web/WebAXObject.h" | 33 #include "third_party/WebKit/public/web/WebAXObject.h" |
33 #include "third_party/WebKit/public/web/WebDataSource.h" | 34 #include "third_party/WebKit/public/web/WebDataSource.h" |
34 #include "third_party/WebKit/public/web/WebFrameClient.h" | 35 #include "third_party/WebKit/public/web/WebFrameClient.h" |
35 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 36 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
36 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 37 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
37 #include "ui/gfx/range/range.h" | 38 #include "ui/gfx/range/range.h" |
38 | 39 |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 void PopulateDocumentStateFromPending(DocumentState* document_state); | 815 void PopulateDocumentStateFromPending(DocumentState* document_state); |
815 | 816 |
816 // Returns a new NavigationState populated with the navigation information | 817 // Returns a new NavigationState populated with the navigation information |
817 // saved in OnNavigate(). | 818 // saved in OnNavigate(). |
818 NavigationState* CreateNavigationStateFromPending(); | 819 NavigationState* CreateNavigationStateFromPending(); |
819 | 820 |
820 #if defined(OS_ANDROID) | 821 #if defined(OS_ANDROID) |
821 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 822 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
822 blink::WebMediaPlayerClient* client, | 823 blink::WebMediaPlayerClient* client, |
823 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 824 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
824 media::MediaPermission* media_permission, | 825 const media::WebMediaPlayerParams& params); |
825 blink::WebContentDecryptionModule* initial_cdm); | |
826 | 826 |
827 RendererMediaPlayerManager* GetMediaPlayerManager(); | 827 RendererMediaPlayerManager* GetMediaPlayerManager(); |
828 #endif | 828 #endif |
829 | 829 |
830 bool AreSecureCodecsSupported(); | 830 bool AreSecureCodecsSupported(); |
831 | 831 |
832 media::MediaPermission* GetMediaPermission(); | 832 media::MediaPermission* GetMediaPermission(); |
833 | 833 |
834 #if defined(ENABLE_MOJO_MEDIA) | 834 #if defined(ENABLE_MOJO_MEDIA) |
835 media::interfaces::ServiceFactory* GetMediaServiceFactory(); | 835 media::interfaces::ServiceFactory* GetMediaServiceFactory(); |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 #endif | 1038 #endif |
1039 | 1039 |
1040 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1040 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1041 | 1041 |
1042 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1042 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1043 }; | 1043 }; |
1044 | 1044 |
1045 } // namespace content | 1045 } // namespace content |
1046 | 1046 |
1047 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1047 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |