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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 class DecoderFactory; | 106 class DecoderFactory; |
107 class MediaPermission; | 107 class MediaPermission; |
108 class MediaServiceProvider; | 108 class MediaServiceProvider; |
109 class RemotingController; | 109 class RemotingController; |
110 class RendererWebMediaPlayerDelegate; | 110 class RendererWebMediaPlayerDelegate; |
111 class SurfaceManager; | 111 class SurfaceManager; |
112 class UrlIndex; | 112 class UrlIndex; |
113 class WebEncryptedMediaClientImpl; | 113 class WebEncryptedMediaClientImpl; |
114 } | 114 } |
115 | 115 |
116 namespace shell { | 116 namespace service_manager { |
117 class InterfaceRegistry; | 117 class InterfaceRegistry; |
118 class InterfaceProvider; | 118 class InterfaceProvider; |
119 } | 119 } |
120 | 120 |
121 namespace url { | 121 namespace url { |
122 class Origin; | 122 class Origin; |
123 } | 123 } |
124 | 124 |
125 namespace content { | 125 namespace content { |
126 | 126 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 blink::WebPlugin* CreatePlugin( | 414 blink::WebPlugin* CreatePlugin( |
415 blink::WebFrame* frame, | 415 blink::WebFrame* frame, |
416 const WebPluginInfo& info, | 416 const WebPluginInfo& info, |
417 const blink::WebPluginParams& params, | 417 const blink::WebPluginParams& params, |
418 std::unique_ptr<PluginInstanceThrottler> throttler) override; | 418 std::unique_ptr<PluginInstanceThrottler> throttler) override; |
419 void LoadURLExternally(const blink::WebURLRequest& request, | 419 void LoadURLExternally(const blink::WebURLRequest& request, |
420 blink::WebNavigationPolicy policy) override; | 420 blink::WebNavigationPolicy policy) override; |
421 void ExecuteJavaScript(const base::string16& javascript) override; | 421 void ExecuteJavaScript(const base::string16& javascript) override; |
422 bool IsMainFrame() override; | 422 bool IsMainFrame() override; |
423 bool IsHidden() override; | 423 bool IsHidden() override; |
424 shell::InterfaceRegistry* GetInterfaceRegistry() override; | 424 service_manager::InterfaceRegistry* GetInterfaceRegistry() override; |
425 shell::InterfaceProvider* GetRemoteInterfaces() override; | 425 service_manager::InterfaceProvider* GetRemoteInterfaces() override; |
426 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() override; | 426 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() override; |
427 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override; | 427 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override; |
428 #if defined(ENABLE_PLUGINS) | 428 #if defined(ENABLE_PLUGINS) |
429 void RegisterPeripheralPlugin( | 429 void RegisterPeripheralPlugin( |
430 const url::Origin& content_origin, | 430 const url::Origin& content_origin, |
431 const base::Closure& unthrottle_callback) override; | 431 const base::Closure& unthrottle_callback) override; |
432 RenderFrame::PeripheralContentStatus GetPeripheralContentStatus( | 432 RenderFrame::PeripheralContentStatus GetPeripheralContentStatus( |
433 const url::Origin& main_frame_origin, | 433 const url::Origin& main_frame_origin, |
434 const url::Origin& content_origin, | 434 const url::Origin& content_origin, |
435 const gfx::Size& unobscured_size, | 435 const gfx::Size& unobscured_size, |
(...skipping 11 matching lines...) Expand all Loading... |
447 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, | 447 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, |
448 v8::Local<v8::Context> context) override; | 448 v8::Local<v8::Context> context) override; |
449 void AddMessageToConsole(ConsoleMessageLevel level, | 449 void AddMessageToConsole(ConsoleMessageLevel level, |
450 const std::string& message) override; | 450 const std::string& message) override; |
451 bool IsUsingLoFi() const override; | 451 bool IsUsingLoFi() const override; |
452 bool IsPasting() const override; | 452 bool IsPasting() const override; |
453 blink::WebPageVisibilityState GetVisibilityState() const override; | 453 blink::WebPageVisibilityState GetVisibilityState() const override; |
454 | 454 |
455 // mojom::Frame implementation: | 455 // mojom::Frame implementation: |
456 void GetInterfaceProvider( | 456 void GetInterfaceProvider( |
457 shell::mojom::InterfaceProviderRequest request) override; | 457 service_manager::mojom::InterfaceProviderRequest request) override; |
458 | 458 |
459 // blink::WebFrameClient implementation: | 459 // blink::WebFrameClient implementation: |
460 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, | 460 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, |
461 const blink::WebPluginParams& params) override; | 461 const blink::WebPluginParams& params) override; |
462 blink::WebMediaPlayer* createMediaPlayer( | 462 blink::WebMediaPlayer* createMediaPlayer( |
463 const blink::WebMediaPlayerSource& source, | 463 const blink::WebMediaPlayerSource& source, |
464 blink::WebMediaPlayerClient* client, | 464 blink::WebMediaPlayerClient* client, |
465 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 465 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
466 blink::WebContentDecryptionModule* initial_cdm, | 466 blink::WebContentDecryptionModule* initial_cdm, |
467 const blink::WebString& sink_id) override; | 467 const blink::WebString& sink_id) override; |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 const media::WebMediaPlayerParams& params); | 1026 const media::WebMediaPlayerParams& params); |
1027 | 1027 |
1028 RendererMediaPlayerManager* GetMediaPlayerManager(); | 1028 RendererMediaPlayerManager* GetMediaPlayerManager(); |
1029 | 1029 |
1030 RendererMediaSessionManager* GetMediaSessionManager(); | 1030 RendererMediaSessionManager* GetMediaSessionManager(); |
1031 #endif | 1031 #endif |
1032 | 1032 |
1033 bool AreSecureCodecsSupported(); | 1033 bool AreSecureCodecsSupported(); |
1034 | 1034 |
1035 #if defined(ENABLE_MOJO_MEDIA) | 1035 #if defined(ENABLE_MOJO_MEDIA) |
1036 shell::mojom::InterfaceProvider* GetMediaInterfaceProvider(); | 1036 service_manager::mojom::InterfaceProvider* GetMediaInterfaceProvider(); |
1037 #endif | 1037 #endif |
1038 | 1038 |
1039 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) | 1039 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
1040 media::mojom::RemoterFactory* GetRemoterFactory(); | 1040 media::mojom::RemoterFactory* GetRemoterFactory(); |
1041 #endif | 1041 #endif |
1042 | 1042 |
1043 media::CdmFactory* GetCdmFactory(); | 1043 media::CdmFactory* GetCdmFactory(); |
1044 media::DecoderFactory* GetDecoderFactory(); | 1044 media::DecoderFactory* GetDecoderFactory(); |
1045 | 1045 |
1046 void RegisterMojoInterfaces(); | 1046 void RegisterMojoInterfaces(); |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1228 // local roots. | 1228 // local roots. |
1229 DevToolsAgent* devtools_agent_; | 1229 DevToolsAgent* devtools_agent_; |
1230 | 1230 |
1231 // The push messaging dispatcher attached to this frame, lazily initialized. | 1231 // The push messaging dispatcher attached to this frame, lazily initialized. |
1232 PushMessagingDispatcher* push_messaging_dispatcher_; | 1232 PushMessagingDispatcher* push_messaging_dispatcher_; |
1233 | 1233 |
1234 // The presentation dispatcher implementation attached to this frame, lazily | 1234 // The presentation dispatcher implementation attached to this frame, lazily |
1235 // initialized. | 1235 // initialized. |
1236 PresentationDispatcher* presentation_dispatcher_; | 1236 PresentationDispatcher* presentation_dispatcher_; |
1237 | 1237 |
1238 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; | 1238 std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_; |
1239 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; | 1239 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; |
1240 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; | 1240 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; |
1241 std::unique_ptr<BlinkInterfaceRegistryImpl> blink_interface_registry_; | 1241 std::unique_ptr<BlinkInterfaceRegistryImpl> blink_interface_registry_; |
1242 shell::mojom::InterfaceProviderRequest | 1242 service_manager::mojom::InterfaceProviderRequest |
1243 pending_remote_interface_provider_request_; | 1243 pending_remote_interface_provider_request_; |
1244 | 1244 |
1245 // The shell proxy used to connect to services. | 1245 // The shell proxy used to connect to services. |
1246 shell::mojom::ConnectorPtr connector_; | 1246 service_manager::mojom::ConnectorPtr connector_; |
1247 | 1247 |
1248 // The screen orientation dispatcher attached to the frame, lazily | 1248 // The screen orientation dispatcher attached to the frame, lazily |
1249 // initialized. | 1249 // initialized. |
1250 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 1250 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
1251 | 1251 |
1252 // The Manifest Manager handles the manifest requests from the browser | 1252 // The Manifest Manager handles the manifest requests from the browser |
1253 // process. | 1253 // process. |
1254 ManifestManager* manifest_manager_; | 1254 ManifestManager* manifest_manager_; |
1255 | 1255 |
1256 // The current accessibility mode. | 1256 // The current accessibility mode. |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1326 bool name_changed_before_first_commit_ = false; | 1326 bool name_changed_before_first_commit_ = false; |
1327 | 1327 |
1328 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1328 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1329 | 1329 |
1330 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1330 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1331 }; | 1331 }; |
1332 | 1332 |
1333 } // namespace content | 1333 } // namespace content |
1334 | 1334 |
1335 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1335 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |