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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "media/mojo/interfaces/service_factory.mojom.h" | 49 #include "media/mojo/interfaces/service_factory.mojom.h" |
50 #endif | 50 #endif |
51 | 51 |
52 class GURL; | 52 class GURL; |
53 class TransportDIB; | 53 class TransportDIB; |
54 struct FrameMsg_NewFrame_WidgetParams; | 54 struct FrameMsg_NewFrame_WidgetParams; |
55 struct FrameMsg_PostMessage_Params; | 55 struct FrameMsg_PostMessage_Params; |
56 struct FrameMsg_TextTrackSettings_Params; | 56 struct FrameMsg_TextTrackSettings_Params; |
57 | 57 |
58 namespace blink { | 58 namespace blink { |
59 class WebGeolocationClient; | |
60 class WebMouseEvent; | 59 class WebMouseEvent; |
61 class WebContentDecryptionModule; | 60 class WebContentDecryptionModule; |
62 class WebMediaPlayer; | 61 class WebMediaPlayer; |
63 class WebPresentationClient; | 62 class WebPresentationClient; |
64 class WebPushClient; | 63 class WebPushClient; |
65 class WebSecurityOrigin; | 64 class WebSecurityOrigin; |
66 struct WebCompositionUnderline; | 65 struct WebCompositionUnderline; |
67 struct WebContextMenuData; | 66 struct WebContextMenuData; |
68 struct WebCursorInfo; | 67 struct WebCursorInfo; |
69 } | 68 } |
(...skipping 18 matching lines...) Expand all Loading... |
88 class Origin; | 87 class Origin; |
89 } | 88 } |
90 | 89 |
91 namespace content { | 90 namespace content { |
92 | 91 |
93 class ChildFrameCompositingHelper; | 92 class ChildFrameCompositingHelper; |
94 class CompositorDependencies; | 93 class CompositorDependencies; |
95 class DevToolsAgent; | 94 class DevToolsAgent; |
96 class DocumentState; | 95 class DocumentState; |
97 class ExternalPopupMenu; | 96 class ExternalPopupMenu; |
98 class GeolocationDispatcher; | |
99 class ManifestManager; | 97 class ManifestManager; |
100 class MediaStreamDispatcher; | 98 class MediaStreamDispatcher; |
101 class MediaStreamRendererFactory; | 99 class MediaStreamRendererFactory; |
102 class MediaPermissionDispatcherImpl; | 100 class MediaPermissionDispatcherImpl; |
103 class MidiDispatcher; | 101 class MidiDispatcher; |
104 class NavigationState; | 102 class NavigationState; |
105 class NotificationPermissionDispatcher; | 103 class NotificationPermissionDispatcher; |
106 class PageState; | 104 class PageState; |
107 class PepperPluginInstanceImpl; | 105 class PepperPluginInstanceImpl; |
108 class PermissionDispatcher; | 106 class PermissionDispatcher; |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 int count, | 504 int count, |
507 bool final_update) override; | 505 bool final_update) override; |
508 void reportFindInPageSelection(int request_id, | 506 void reportFindInPageSelection(int request_id, |
509 int active_match_ordinal, | 507 int active_match_ordinal, |
510 const blink::WebRect& sel) override; | 508 const blink::WebRect& sel) override; |
511 void requestStorageQuota(blink::WebLocalFrame* frame, | 509 void requestStorageQuota(blink::WebLocalFrame* frame, |
512 blink::WebStorageQuotaType type, | 510 blink::WebStorageQuotaType type, |
513 unsigned long long requested_size, | 511 unsigned long long requested_size, |
514 blink::WebStorageQuotaCallbacks callbacks) override; | 512 blink::WebStorageQuotaCallbacks callbacks) override; |
515 void willOpenWebSocket(blink::WebSocketHandle* handle) override; | 513 void willOpenWebSocket(blink::WebSocketHandle* handle) override; |
516 blink::WebGeolocationClient* geolocationClient() override; | |
517 blink::WebPushClient* pushClient() override; | 514 blink::WebPushClient* pushClient() override; |
518 blink::WebPresentationClient* presentationClient() override; | 515 blink::WebPresentationClient* presentationClient() override; |
519 void willStartUsingPeerConnectionHandler( | 516 void willStartUsingPeerConnectionHandler( |
520 blink::WebLocalFrame* frame, | 517 blink::WebLocalFrame* frame, |
521 blink::WebRTCPeerConnectionHandler* handler) override; | 518 blink::WebRTCPeerConnectionHandler* handler) override; |
522 blink::WebUserMediaClient* userMediaClient() override; | 519 blink::WebUserMediaClient* userMediaClient() override; |
523 blink::WebEncryptedMediaClient* encryptedMediaClient() override; | 520 blink::WebEncryptedMediaClient* encryptedMediaClient() override; |
524 blink::WebMIDIClient* webMIDIClient() override; | 521 blink::WebMIDIClient* webMIDIClient() override; |
525 bool willCheckAndDispatchMessageEvent( | 522 bool willCheckAndDispatchMessageEvent( |
526 blink::WebLocalFrame* source_frame, | 523 blink::WebLocalFrame* source_frame, |
(...skipping 23 matching lines...) Expand all Loading... |
550 bool exitFullscreen() override; | 547 bool exitFullscreen() override; |
551 blink::WebPermissionClient* permissionClient() override; | 548 blink::WebPermissionClient* permissionClient() override; |
552 blink::WebAppBannerClient* appBannerClient() override; | 549 blink::WebAppBannerClient* appBannerClient() override; |
553 void registerProtocolHandler(const blink::WebString& scheme, | 550 void registerProtocolHandler(const blink::WebString& scheme, |
554 const blink::WebURL& url, | 551 const blink::WebURL& url, |
555 const blink::WebString& title) override; | 552 const blink::WebString& title) override; |
556 void unregisterProtocolHandler(const blink::WebString& scheme, | 553 void unregisterProtocolHandler(const blink::WebString& scheme, |
557 const blink::WebURL& url) override; | 554 const blink::WebURL& url) override; |
558 blink::WebBluetooth* bluetooth() override; | 555 blink::WebBluetooth* bluetooth() override; |
559 blink::WebUSBClient* usbClient() override; | 556 blink::WebUSBClient* usbClient() override; |
| 557 mojo::ServiceProvider* serviceProvider() override; |
560 | 558 |
561 #if defined(ENABLE_WEBVR) | 559 #if defined(ENABLE_WEBVR) |
562 blink::WebVRClient* webVRClient() override; | 560 blink::WebVRClient* webVRClient() override; |
563 #endif | 561 #endif |
564 | 562 |
565 // WebMediaPlayerDelegate implementation: | 563 // WebMediaPlayerDelegate implementation: |
566 void DidPlay(blink::WebMediaPlayer* player) override; | 564 void DidPlay(blink::WebMediaPlayer* player) override; |
567 void DidPause(blink::WebMediaPlayer* player) override; | 565 void DidPause(blink::WebMediaPlayer* player) override; |
568 void PlayerGone(blink::WebMediaPlayer* player) override; | 566 void PlayerGone(blink::WebMediaPlayer* player) override; |
569 | 567 |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
993 bool contains_media_player_; | 991 bool contains_media_player_; |
994 #endif | 992 #endif |
995 | 993 |
996 // True if this RenderFrame has ever played media. | 994 // True if this RenderFrame has ever played media. |
997 bool has_played_media_; | 995 bool has_played_media_; |
998 | 996 |
999 // The devtools agent for this frame; only created for main frame and | 997 // The devtools agent for this frame; only created for main frame and |
1000 // local roots. | 998 // local roots. |
1001 DevToolsAgent* devtools_agent_; | 999 DevToolsAgent* devtools_agent_; |
1002 | 1000 |
1003 // The geolocation dispatcher attached to this frame, lazily initialized. | |
1004 GeolocationDispatcher* geolocation_dispatcher_; | |
1005 | |
1006 // The push messaging dispatcher attached to this frame, lazily initialized. | 1001 // The push messaging dispatcher attached to this frame, lazily initialized. |
1007 PushMessagingDispatcher* push_messaging_dispatcher_; | 1002 PushMessagingDispatcher* push_messaging_dispatcher_; |
1008 | 1003 |
1009 // The presentation dispatcher implementation attached to this frame, lazily | 1004 // The presentation dispatcher implementation attached to this frame, lazily |
1010 // initialized. | 1005 // initialized. |
1011 PresentationDispatcher* presentation_dispatcher_; | 1006 PresentationDispatcher* presentation_dispatcher_; |
1012 | 1007 |
1013 ServiceRegistryImpl service_registry_; | 1008 ServiceRegistryImpl service_registry_; |
1014 | 1009 |
1015 // The shell proxy used to connect to Mojo applications. | 1010 // The shell proxy used to connect to Mojo applications. |
(...skipping 25 matching lines...) Expand all Loading... |
1041 #if defined(ENABLE_WEBVR) | 1036 #if defined(ENABLE_WEBVR) |
1042 // The VR dispatcher attached to the frame, lazily initialized. | 1037 // The VR dispatcher attached to the frame, lazily initialized. |
1043 scoped_ptr<VRDispatcher> vr_dispatcher_; | 1038 scoped_ptr<VRDispatcher> vr_dispatcher_; |
1044 #endif | 1039 #endif |
1045 | 1040 |
1046 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1041 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
1047 // The external popup for the currently showing select popup. | 1042 // The external popup for the currently showing select popup. |
1048 scoped_ptr<ExternalPopupMenu> external_popup_menu_; | 1043 scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
1049 #endif | 1044 #endif |
1050 | 1045 |
| 1046 scoped_ptr<mojo::ServiceProvider> service_provider_; |
| 1047 |
1051 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1048 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1052 | 1049 |
1053 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1050 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1054 }; | 1051 }; |
1055 | 1052 |
1056 } // namespace content | 1053 } // namespace content |
1057 | 1054 |
1058 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1055 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |