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

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

Issue 2401333002: Add a blink InterfaceRegistry. (Closed)
Patch Set: Created 4 years, 2 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 class TransportDIB; 75 class TransportDIB;
76 struct FrameMsg_PostMessage_Params; 76 struct FrameMsg_PostMessage_Params;
77 struct FrameMsg_SerializeAsMHTML_Params; 77 struct FrameMsg_SerializeAsMHTML_Params;
78 struct FrameMsg_TextTrackSettings_Params; 78 struct FrameMsg_TextTrackSettings_Params;
79 79
80 namespace IPC { 80 namespace IPC {
81 class SyncMessage; 81 class SyncMessage;
82 } 82 }
83 83
84 namespace blink { 84 namespace blink {
85 class InterfaceRegistry;
85 class WebContentDecryptionModule; 86 class WebContentDecryptionModule;
86 class WebMouseEvent; 87 class WebMouseEvent;
87 class WebPresentationClient; 88 class WebPresentationClient;
88 class WebPushClient; 89 class WebPushClient;
89 class WebSecurityOrigin; 90 class WebSecurityOrigin;
90 enum class WebCachePolicy; 91 enum class WebCachePolicy;
91 struct WebCompositionUnderline; 92 struct WebCompositionUnderline;
92 struct WebContextMenuData; 93 struct WebContextMenuData;
93 struct WebCursorInfo; 94 struct WebCursorInfo;
94 struct WebFindOptions; 95 struct WebFindOptions;
(...skipping 21 matching lines...) Expand all
116 class InterfaceProvider; 117 class InterfaceProvider;
117 } 118 }
118 119
119 namespace url { 120 namespace url {
120 class Origin; 121 class Origin;
121 } 122 }
122 123
123 namespace content { 124 namespace content {
124 125
125 class AssociatedInterfaceProviderImpl; 126 class AssociatedInterfaceProviderImpl;
127 class BlinkInterfaceRegistryImpl;
126 class ChildFrameCompositingHelper; 128 class ChildFrameCompositingHelper;
127 class CompositorDependencies; 129 class CompositorDependencies;
128 class DevToolsAgent; 130 class DevToolsAgent;
129 class DocumentState; 131 class DocumentState;
130 class ExternalPopupMenu; 132 class ExternalPopupMenu;
131 class HistoryEntry; 133 class HistoryEntry;
132 class ManifestManager; 134 class ManifestManager;
133 class MediaInterfaceProvider; 135 class MediaInterfaceProvider;
134 class MediaStreamDispatcher; 136 class MediaStreamDispatcher;
135 class MediaStreamRendererFactory; 137 class MediaStreamRendererFactory;
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 const blink::WebURL& url, 639 const blink::WebURL& url,
638 const blink::WebString& title) override; 640 const blink::WebString& title) override;
639 void unregisterProtocolHandler(const blink::WebString& scheme, 641 void unregisterProtocolHandler(const blink::WebString& scheme,
640 const blink::WebURL& url) override; 642 const blink::WebURL& url) override;
641 blink::WebBluetooth* bluetooth() override; 643 blink::WebBluetooth* bluetooth() override;
642 void checkIfAudioSinkExistsAndIsAuthorized( 644 void checkIfAudioSinkExistsAndIsAuthorized(
643 const blink::WebString& sink_id, 645 const blink::WebString& sink_id,
644 const blink::WebSecurityOrigin& security_origin, 646 const blink::WebSecurityOrigin& security_origin,
645 blink::WebSetSinkIdCallbacks* web_callbacks) override; 647 blink::WebSetSinkIdCallbacks* web_callbacks) override;
646 blink::InterfaceProvider* interfaceProvider() override; 648 blink::InterfaceProvider* interfaceProvider() override;
649 blink::InterfaceRegistry* interfaceRegistry() override;
647 blink::WebPageVisibilityState visibilityState() const override; 650 blink::WebPageVisibilityState visibilityState() const override;
648 651
649 // WebFrameSerializerClient implementation: 652 // WebFrameSerializerClient implementation:
650 void didSerializeDataForFrame( 653 void didSerializeDataForFrame(
651 const blink::WebCString& data, 654 const blink::WebCString& data,
652 blink::WebFrameSerializerClient::FrameSerializationStatus status) 655 blink::WebFrameSerializerClient::FrameSerializationStatus status)
653 override; 656 override;
654 657
655 // Binds to the FrameHost in the browser. 658 // Binds to the FrameHost in the browser.
656 void Bind(mojom::FrameRequest frame, mojom::FrameHostPtr frame_host); 659 void Bind(mojom::FrameRequest frame, mojom::FrameHostPtr frame_host);
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 // The push messaging dispatcher attached to this frame, lazily initialized. 1218 // The push messaging dispatcher attached to this frame, lazily initialized.
1216 PushMessagingDispatcher* push_messaging_dispatcher_; 1219 PushMessagingDispatcher* push_messaging_dispatcher_;
1217 1220
1218 // The presentation dispatcher implementation attached to this frame, lazily 1221 // The presentation dispatcher implementation attached to this frame, lazily
1219 // initialized. 1222 // initialized.
1220 PresentationDispatcher* presentation_dispatcher_; 1223 PresentationDispatcher* presentation_dispatcher_;
1221 1224
1222 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; 1225 std::unique_ptr<shell::InterfaceRegistry> interface_registry_;
1223 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; 1226 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_;
1224 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; 1227 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_;
1228 std::unique_ptr<BlinkInterfaceRegistryImpl> blink_interface_registry_;
1225 shell::mojom::InterfaceProviderRequest 1229 shell::mojom::InterfaceProviderRequest
1226 pending_remote_interface_provider_request_; 1230 pending_remote_interface_provider_request_;
1227 1231
1228 // The shell proxy used to connect to services. 1232 // The shell proxy used to connect to services.
1229 shell::mojom::ConnectorPtr connector_; 1233 shell::mojom::ConnectorPtr connector_;
1230 1234
1231 // The screen orientation dispatcher attached to the frame, lazily 1235 // The screen orientation dispatcher attached to the frame, lazily
1232 // initialized. 1236 // initialized.
1233 ScreenOrientationDispatcher* screen_orientation_dispatcher_; 1237 ScreenOrientationDispatcher* screen_orientation_dispatcher_;
1234 1238
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 bool name_changed_before_first_commit_ = false; 1313 bool name_changed_before_first_commit_ = false;
1310 1314
1311 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1315 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1312 1316
1313 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1317 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1314 }; 1318 };
1315 1319
1316 } // namespace content 1320 } // namespace content
1317 1321
1318 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1322 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/mojo/blink_interface_registry_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698