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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2844063003: Migrate RenderFrameImpl to use BinderRegistry. (Closed)
Patch Set: . Created 3 years, 8 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "ipc/ipc_message.h" 48 #include "ipc/ipc_message.h"
49 #include "ipc/ipc_platform_file.h" 49 #include "ipc/ipc_platform_file.h"
50 #include "media/blink/webmediaplayer_delegate.h" 50 #include "media/blink/webmediaplayer_delegate.h"
51 #include "media/blink/webmediaplayer_params.h" 51 #include "media/blink/webmediaplayer_params.h"
52 #include "media/mojo/interfaces/remoting.mojom.h" 52 #include "media/mojo/interfaces/remoting.mojom.h"
53 #include "mojo/public/cpp/bindings/associated_binding.h" 53 #include "mojo/public/cpp/bindings/associated_binding.h"
54 #include "mojo/public/cpp/bindings/binding.h" 54 #include "mojo/public/cpp/bindings/binding.h"
55 #include "mojo/public/cpp/bindings/binding_set.h" 55 #include "mojo/public/cpp/bindings/binding_set.h"
56 #include "mojo/public/cpp/system/data_pipe.h" 56 #include "mojo/public/cpp/system/data_pipe.h"
57 #include "ppapi/features/features.h" 57 #include "ppapi/features/features.h"
58 #include "services/service_manager/public/cpp/binder_registry.h"
58 #include "services/service_manager/public/cpp/service_info.h" 59 #include "services/service_manager/public/cpp/service_info.h"
59 #include "services/service_manager/public/interfaces/connector.mojom.h" 60 #include "services/service_manager/public/interfaces/connector.mojom.h"
60 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" 61 #include "services/service_manager/public/interfaces/interface_provider.mojom.h"
61 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" 62 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h"
62 #include "third_party/WebKit/public/platform/WebFeaturePolicy.h" 63 #include "third_party/WebKit/public/platform/WebFeaturePolicy.h"
63 #include "third_party/WebKit/public/platform/WebFocusType.h" 64 #include "third_party/WebKit/public/platform/WebFocusType.h"
64 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" 65 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h"
65 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 66 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
66 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" 67 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
67 #include "third_party/WebKit/public/platform/site_engagement.mojom.h" 68 #include "third_party/WebKit/public/platform/site_engagement.mojom.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 class UrlIndex; 118 class UrlIndex;
118 class WebEncryptedMediaClientImpl; 119 class WebEncryptedMediaClientImpl;
119 120
120 namespace remoting { 121 namespace remoting {
121 class SinkAvailabilityObserver; 122 class SinkAvailabilityObserver;
122 } // namespace remoting 123 } // namespace remoting
123 124
124 } // namespace media 125 } // namespace media
125 126
126 namespace service_manager { 127 namespace service_manager {
127 class InterfaceRegistry; 128 class BinderRegistry;
128 class InterfaceProvider; 129 class InterfaceProvider;
129 } 130 }
130 131
131 namespace url { 132 namespace url {
132 class Origin; 133 class Origin;
133 } 134 }
134 135
135 namespace content { 136 namespace content {
136 137
137 class AssociatedInterfaceProviderImpl; 138 class AssociatedInterfaceProviderImpl;
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 blink::WebPlugin* CreatePlugin( 434 blink::WebPlugin* CreatePlugin(
434 blink::WebFrame* frame, 435 blink::WebFrame* frame,
435 const WebPluginInfo& info, 436 const WebPluginInfo& info,
436 const blink::WebPluginParams& params, 437 const blink::WebPluginParams& params,
437 std::unique_ptr<PluginInstanceThrottler> throttler) override; 438 std::unique_ptr<PluginInstanceThrottler> throttler) override;
438 void LoadURLExternally(const blink::WebURLRequest& request, 439 void LoadURLExternally(const blink::WebURLRequest& request,
439 blink::WebNavigationPolicy policy) override; 440 blink::WebNavigationPolicy policy) override;
440 void ExecuteJavaScript(const base::string16& javascript) override; 441 void ExecuteJavaScript(const base::string16& javascript) override;
441 bool IsMainFrame() override; 442 bool IsMainFrame() override;
442 bool IsHidden() override; 443 bool IsHidden() override;
443 service_manager::InterfaceRegistry* GetInterfaceRegistry() override; 444 service_manager::BinderRegistry* GetInterfaceRegistry() override;
444 service_manager::InterfaceProvider* GetRemoteInterfaces() override; 445 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
445 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() override; 446 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() override;
446 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override; 447 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override;
447 #if BUILDFLAG(ENABLE_PLUGINS) 448 #if BUILDFLAG(ENABLE_PLUGINS)
448 void RegisterPeripheralPlugin( 449 void RegisterPeripheralPlugin(
449 const url::Origin& content_origin, 450 const url::Origin& content_origin,
450 const base::Closure& unthrottle_callback) override; 451 const base::Closure& unthrottle_callback) override;
451 RenderFrame::PeripheralContentStatus GetPeripheralContentStatus( 452 RenderFrame::PeripheralContentStatus GetPeripheralContentStatus(
452 const url::Origin& main_frame_origin, 453 const url::Origin& main_frame_origin,
453 const url::Origin& content_origin, 454 const url::Origin& content_origin,
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 // local roots. 1297 // local roots.
1297 DevToolsAgent* devtools_agent_; 1298 DevToolsAgent* devtools_agent_;
1298 1299
1299 // The presentation dispatcher implementation attached to this frame, lazily 1300 // The presentation dispatcher implementation attached to this frame, lazily
1300 // initialized. 1301 // initialized.
1301 PresentationDispatcher* presentation_dispatcher_; 1302 PresentationDispatcher* presentation_dispatcher_;
1302 1303
1303 // The PushMessagingClient attached to this frame, lazily initialized. 1304 // The PushMessagingClient attached to this frame, lazily initialized.
1304 PushMessagingClient* push_messaging_client_; 1305 PushMessagingClient* push_messaging_client_;
1305 1306
1306 std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_; 1307 std::unique_ptr<service_manager::BinderRegistry> interface_registry_;
1307 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; 1308 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_;
1308 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; 1309 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_;
1309 std::unique_ptr<BlinkInterfaceRegistryImpl> blink_interface_registry_; 1310 std::unique_ptr<BlinkInterfaceRegistryImpl> blink_interface_registry_;
1310 service_manager::mojom::InterfaceProviderRequest 1311 service_manager::mojom::InterfaceProviderRequest
1311 pending_remote_interface_provider_request_; 1312 pending_remote_interface_provider_request_;
1312 1313
1313 service_manager::ServiceInfo local_info_; 1314 service_manager::ServiceInfo local_info_;
1314 service_manager::ServiceInfo remote_info_; 1315 service_manager::ServiceInfo remote_info_;
1315 1316
1316 // The Connector proxy used to connect to services. 1317 // The Connector proxy used to connect to services.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 interface_provider_bindings_; 1438 interface_provider_bindings_;
1438 1439
1439 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1440 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1440 1441
1441 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1442 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1442 }; 1443 };
1443 1444
1444 } // namespace content 1445 } // namespace content
1445 1446
1446 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1447 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698