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 12 matching lines...) Expand all Loading... |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "content/common/accessibility_mode_enums.h" | 24 #include "content/common/accessibility_mode_enums.h" |
25 #include "content/common/frame_message_enums.h" | 25 #include "content/common/frame_message_enums.h" |
26 #include "content/common/mojo/service_registry_impl.h" | 26 #include "content/common/mojo/service_registry_impl.h" |
27 #include "content/public/common/console_message_level.h" | 27 #include "content/public/common/console_message_level.h" |
28 #include "content/public/common/javascript_message_type.h" | 28 #include "content/public/common/javascript_message_type.h" |
29 #include "content/public/common/referrer.h" | 29 #include "content/public/common/referrer.h" |
30 #include "content/public/common/stop_find_action.h" | 30 #include "content/public/common/stop_find_action.h" |
31 #include "content/public/renderer/render_frame.h" | 31 #include "content/public/renderer/render_frame.h" |
32 #include "content/renderer/frame_blame_context.h" | 32 #include "content/renderer/frame_blame_context.h" |
| 33 #include "content/renderer/mojo/blink_service_registry_impl.h" |
33 #include "content/renderer/render_frame_proxy.h" | 34 #include "content/renderer/render_frame_proxy.h" |
34 #include "content/renderer/renderer_webcookiejar_impl.h" | 35 #include "content/renderer/renderer_webcookiejar_impl.h" |
35 #include "ipc/ipc_message.h" | 36 #include "ipc/ipc_message.h" |
36 #include "ipc/ipc_platform_file.h" | 37 #include "ipc/ipc_platform_file.h" |
37 #include "media/blink/webmediaplayer_delegate.h" | 38 #include "media/blink/webmediaplayer_delegate.h" |
38 #include "media/blink/webmediaplayer_params.h" | 39 #include "media/blink/webmediaplayer_params.h" |
39 #include "mojo/shell/public/interfaces/connector.mojom.h" | 40 #include "mojo/shell/public/interfaces/connector.mojom.h" |
40 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" | 41 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" |
41 #include "third_party/WebKit/public/platform/WebFocusType.h" | 42 #include "third_party/WebKit/public/platform/WebFocusType.h" |
42 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 43 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 const blink::WebURL& url, | 609 const blink::WebURL& url, |
609 const blink::WebString& title) override; | 610 const blink::WebString& title) override; |
610 void unregisterProtocolHandler(const blink::WebString& scheme, | 611 void unregisterProtocolHandler(const blink::WebString& scheme, |
611 const blink::WebURL& url) override; | 612 const blink::WebURL& url) override; |
612 blink::WebBluetooth* bluetooth() override; | 613 blink::WebBluetooth* bluetooth() override; |
613 blink::WebUSBClient* usbClient() override; | 614 blink::WebUSBClient* usbClient() override; |
614 void checkIfAudioSinkExistsAndIsAuthorized( | 615 void checkIfAudioSinkExistsAndIsAuthorized( |
615 const blink::WebString& sink_id, | 616 const blink::WebString& sink_id, |
616 const blink::WebSecurityOrigin& security_origin, | 617 const blink::WebSecurityOrigin& security_origin, |
617 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 618 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
| 619 blink::ServiceRegistry* serviceRegistry() override; |
618 | 620 |
619 #if defined(ENABLE_WEBVR) | 621 #if defined(ENABLE_WEBVR) |
620 blink::WebVRClient* webVRClient() override; | 622 blink::WebVRClient* webVRClient() override; |
621 #endif | 623 #endif |
622 | 624 |
623 // WebFrameSerializerClient implementation: | 625 // WebFrameSerializerClient implementation: |
624 void didSerializeDataForFrame( | 626 void didSerializeDataForFrame( |
625 const blink::WebCString& data, | 627 const blink::WebCString& data, |
626 blink::WebFrameSerializerClient::FrameSerializationStatus status) | 628 blink::WebFrameSerializerClient::FrameSerializationStatus status) |
627 override; | 629 override; |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 GeolocationDispatcher* geolocation_dispatcher_; | 1155 GeolocationDispatcher* geolocation_dispatcher_; |
1154 | 1156 |
1155 // The push messaging dispatcher attached to this frame, lazily initialized. | 1157 // The push messaging dispatcher attached to this frame, lazily initialized. |
1156 PushMessagingDispatcher* push_messaging_dispatcher_; | 1158 PushMessagingDispatcher* push_messaging_dispatcher_; |
1157 | 1159 |
1158 // The presentation dispatcher implementation attached to this frame, lazily | 1160 // The presentation dispatcher implementation attached to this frame, lazily |
1159 // initialized. | 1161 // initialized. |
1160 PresentationDispatcher* presentation_dispatcher_; | 1162 PresentationDispatcher* presentation_dispatcher_; |
1161 | 1163 |
1162 ServiceRegistryImpl service_registry_; | 1164 ServiceRegistryImpl service_registry_; |
| 1165 BlinkServiceRegistryImpl blink_service_registry_; |
1163 | 1166 |
1164 // The shell proxy used to connect to Mojo applications. | 1167 // The shell proxy used to connect to Mojo applications. |
1165 mojo::shell::mojom::ConnectorPtr connector_; | 1168 mojo::shell::mojom::ConnectorPtr connector_; |
1166 | 1169 |
1167 // The screen orientation dispatcher attached to the frame, lazily | 1170 // The screen orientation dispatcher attached to the frame, lazily |
1168 // initialized. | 1171 // initialized. |
1169 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 1172 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
1170 | 1173 |
1171 // The Manifest Manager handles the manifest requests from the browser | 1174 // The Manifest Manager handles the manifest requests from the browser |
1172 // process. | 1175 // process. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 FrameBlameContext* blame_context_; // Not owned. | 1213 FrameBlameContext* blame_context_; // Not owned. |
1211 | 1214 |
1212 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1215 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1213 | 1216 |
1214 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1217 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1215 }; | 1218 }; |
1216 | 1219 |
1217 } // namespace content | 1220 } // namespace content |
1218 | 1221 |
1219 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1222 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |