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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 class TransportDIB; | 67 class TransportDIB; |
68 struct FrameMsg_NewFrame_WidgetParams; | 68 struct FrameMsg_NewFrame_WidgetParams; |
69 struct FrameMsg_PostMessage_Params; | 69 struct FrameMsg_PostMessage_Params; |
70 struct FrameMsg_SerializeAsMHTML_Params; | 70 struct FrameMsg_SerializeAsMHTML_Params; |
71 struct FrameMsg_TextTrackSettings_Params; | 71 struct FrameMsg_TextTrackSettings_Params; |
72 | 72 |
73 namespace blink { | 73 namespace blink { |
74 class WebGeolocationClient; | 74 class WebGeolocationClient; |
75 class WebMouseEvent; | 75 class WebMouseEvent; |
76 class WebContentDecryptionModule; | 76 class WebContentDecryptionModule; |
| 77 class WebInstalledApp; |
77 class WebPresentationClient; | 78 class WebPresentationClient; |
78 class WebPushClient; | 79 class WebPushClient; |
79 class WebSecurityOrigin; | 80 class WebSecurityOrigin; |
80 class WebWakeLockClient; | 81 class WebWakeLockClient; |
81 struct WebCompositionUnderline; | 82 struct WebCompositionUnderline; |
82 struct WebContextMenuData; | 83 struct WebContextMenuData; |
83 struct WebCursorInfo; | 84 struct WebCursorInfo; |
84 struct WebFindOptions; | 85 struct WebFindOptions; |
85 struct WebScreenInfo; | 86 struct WebScreenInfo; |
86 } | 87 } |
(...skipping 24 matching lines...) Expand all Loading... |
111 } | 112 } |
112 | 113 |
113 namespace content { | 114 namespace content { |
114 | 115 |
115 class ChildFrameCompositingHelper; | 116 class ChildFrameCompositingHelper; |
116 class CompositorDependencies; | 117 class CompositorDependencies; |
117 class DevToolsAgent; | 118 class DevToolsAgent; |
118 class DocumentState; | 119 class DocumentState; |
119 class ExternalPopupMenu; | 120 class ExternalPopupMenu; |
120 class GeolocationDispatcher; | 121 class GeolocationDispatcher; |
| 122 class InstalledAppDispatcher; |
121 class ManifestManager; | 123 class ManifestManager; |
122 class MediaInterfaceProvider; | 124 class MediaInterfaceProvider; |
123 class MediaStreamDispatcher; | 125 class MediaStreamDispatcher; |
124 class MediaStreamRendererFactory; | 126 class MediaStreamRendererFactory; |
125 class MediaPermissionDispatcher; | 127 class MediaPermissionDispatcher; |
126 class MidiDispatcher; | 128 class MidiDispatcher; |
127 class NavigationState; | 129 class NavigationState; |
128 class NotificationPermissionDispatcher; | 130 class NotificationPermissionDispatcher; |
129 class PageState; | 131 class PageState; |
130 class PepperPluginInstanceImpl; | 132 class PepperPluginInstanceImpl; |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 bool exitFullscreen() override; | 605 bool exitFullscreen() override; |
604 blink::WebPermissionClient* permissionClient() override; | 606 blink::WebPermissionClient* permissionClient() override; |
605 blink::WebAppBannerClient* appBannerClient() override; | 607 blink::WebAppBannerClient* appBannerClient() override; |
606 void registerProtocolHandler(const blink::WebString& scheme, | 608 void registerProtocolHandler(const blink::WebString& scheme, |
607 const blink::WebURL& url, | 609 const blink::WebURL& url, |
608 const blink::WebString& title) override; | 610 const blink::WebString& title) override; |
609 void unregisterProtocolHandler(const blink::WebString& scheme, | 611 void unregisterProtocolHandler(const blink::WebString& scheme, |
610 const blink::WebURL& url) override; | 612 const blink::WebURL& url) override; |
611 blink::WebBluetooth* bluetooth() override; | 613 blink::WebBluetooth* bluetooth() override; |
612 blink::WebUSBClient* usbClient() override; | 614 blink::WebUSBClient* usbClient() override; |
| 615 blink::WebInstalledApp* installedAppClient() override; |
613 void checkIfAudioSinkExistsAndIsAuthorized( | 616 void checkIfAudioSinkExistsAndIsAuthorized( |
614 const blink::WebString& sink_id, | 617 const blink::WebString& sink_id, |
615 const blink::WebSecurityOrigin& security_origin, | 618 const blink::WebSecurityOrigin& security_origin, |
616 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 619 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
617 | 620 |
618 #if defined(ENABLE_WEBVR) | 621 #if defined(ENABLE_WEBVR) |
619 blink::WebVRClient* webVRClient() override; | 622 blink::WebVRClient* webVRClient() override; |
620 #endif | 623 #endif |
621 | 624 |
622 // WebFrameSerializerClient implementation: | 625 // WebFrameSerializerClient implementation: |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 RendererAccessibility* renderer_accessibility_; | 1183 RendererAccessibility* renderer_accessibility_; |
1181 | 1184 |
1182 scoped_ptr<PermissionDispatcher> permission_client_; | 1185 scoped_ptr<PermissionDispatcher> permission_client_; |
1183 | 1186 |
1184 scoped_ptr<blink::WebAppBannerClient> app_banner_client_; | 1187 scoped_ptr<blink::WebAppBannerClient> app_banner_client_; |
1185 | 1188 |
1186 scoped_ptr<blink::WebBluetooth> bluetooth_; | 1189 scoped_ptr<blink::WebBluetooth> bluetooth_; |
1187 | 1190 |
1188 scoped_ptr<blink::WebUSBClient> usb_client_; | 1191 scoped_ptr<blink::WebUSBClient> usb_client_; |
1189 | 1192 |
| 1193 scoped_ptr<InstalledAppDispatcher> installed_app_client_; |
| 1194 |
1190 // Manages play, pause notifications for WebMediaPlayer implementations; its | 1195 // Manages play, pause notifications for WebMediaPlayer implementations; its |
1191 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. | 1196 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
1192 media::RendererWebMediaPlayerDelegate* media_player_delegate_; | 1197 media::RendererWebMediaPlayerDelegate* media_player_delegate_; |
1193 | 1198 |
1194 // Whether or not this RenderFrame is using Lo-Fi mode. | 1199 // Whether or not this RenderFrame is using Lo-Fi mode. |
1195 bool is_using_lofi_; | 1200 bool is_using_lofi_; |
1196 | 1201 |
1197 // Whether or not this RenderFrame is currently pasting. | 1202 // Whether or not this RenderFrame is currently pasting. |
1198 bool is_pasting_; | 1203 bool is_pasting_; |
1199 | 1204 |
1200 #if defined(ENABLE_WEBVR) | 1205 #if defined(ENABLE_WEBVR) |
1201 // The VR dispatcher attached to the frame, lazily initialized. | 1206 // The VR dispatcher attached to the frame, lazily initialized. |
1202 scoped_ptr<VRDispatcher> vr_dispatcher_; | 1207 scoped_ptr<VRDispatcher> vr_dispatcher_; |
1203 #endif | 1208 #endif |
1204 | 1209 |
1205 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1210 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
1206 // The external popup for the currently showing select popup. | 1211 // The external popup for the currently showing select popup. |
1207 scoped_ptr<ExternalPopupMenu> external_popup_menu_; | 1212 scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
1208 #endif | 1213 #endif |
1209 | 1214 |
1210 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1215 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1211 | 1216 |
1212 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1217 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1213 }; | 1218 }; |
1214 | 1219 |
1215 } // namespace content | 1220 } // namespace content |
1216 | 1221 |
1217 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1222 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |