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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 struct FrameMsg_TextTrackSettings_Params; | 53 struct FrameMsg_TextTrackSettings_Params; |
54 | 54 |
55 namespace blink { | 55 namespace blink { |
56 class WebGeolocationClient; | 56 class WebGeolocationClient; |
57 class WebMouseEvent; | 57 class WebMouseEvent; |
58 class WebContentDecryptionModule; | 58 class WebContentDecryptionModule; |
59 class WebMediaPlayer; | 59 class WebMediaPlayer; |
60 class WebPresentationClient; | 60 class WebPresentationClient; |
61 class WebPushClient; | 61 class WebPushClient; |
62 class WebSecurityOrigin; | 62 class WebSecurityOrigin; |
| 63 class WebWakeLockClient; |
63 struct WebCompositionUnderline; | 64 struct WebCompositionUnderline; |
64 struct WebContextMenuData; | 65 struct WebContextMenuData; |
65 struct WebCursorInfo; | 66 struct WebCursorInfo; |
66 } | 67 } |
67 | 68 |
68 namespace gfx { | 69 namespace gfx { |
69 class Point; | 70 class Point; |
70 class Range; | 71 class Range; |
71 class Rect; | 72 class Rect; |
72 } | 73 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 class RendererAccessibility; | 105 class RendererAccessibility; |
105 class RendererCdmManager; | 106 class RendererCdmManager; |
106 class RendererMediaPlayerManager; | 107 class RendererMediaPlayerManager; |
107 class RendererPpapiHost; | 108 class RendererPpapiHost; |
108 class RenderFrameObserver; | 109 class RenderFrameObserver; |
109 class RenderViewImpl; | 110 class RenderViewImpl; |
110 class RenderWidget; | 111 class RenderWidget; |
111 class RenderWidgetFullscreenPepper; | 112 class RenderWidgetFullscreenPepper; |
112 class ScreenOrientationDispatcher; | 113 class ScreenOrientationDispatcher; |
113 class UserMediaClientImpl; | 114 class UserMediaClientImpl; |
| 115 class WakeLockDispatcher; |
114 struct CommonNavigationParams; | 116 struct CommonNavigationParams; |
115 struct CustomContextMenuContext; | 117 struct CustomContextMenuContext; |
116 struct FrameReplicationState; | 118 struct FrameReplicationState; |
117 struct NavigationParams; | 119 struct NavigationParams; |
118 struct RequestNavigationParams; | 120 struct RequestNavigationParams; |
119 struct ResourceResponseHead; | 121 struct ResourceResponseHead; |
120 struct StartNavigationParams; | 122 struct StartNavigationParams; |
121 struct StreamOverrideParameters; | 123 struct StreamOverrideParameters; |
122 class VRDispatcher; | 124 class VRDispatcher; |
123 | 125 |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 int count, | 497 int count, |
496 bool final_update); | 498 bool final_update); |
497 virtual void reportFindInPageSelection(int request_id, | 499 virtual void reportFindInPageSelection(int request_id, |
498 int active_match_ordinal, | 500 int active_match_ordinal, |
499 const blink::WebRect& sel); | 501 const blink::WebRect& sel); |
500 virtual void requestStorageQuota(blink::WebLocalFrame* frame, | 502 virtual void requestStorageQuota(blink::WebLocalFrame* frame, |
501 blink::WebStorageQuotaType type, | 503 blink::WebStorageQuotaType type, |
502 unsigned long long requested_size, | 504 unsigned long long requested_size, |
503 blink::WebStorageQuotaCallbacks callbacks); | 505 blink::WebStorageQuotaCallbacks callbacks); |
504 virtual void willOpenWebSocket(blink::WebSocketHandle* handle); | 506 virtual void willOpenWebSocket(blink::WebSocketHandle* handle); |
| 507 virtual blink::WebWakeLockClient* wakeLockClient(); |
505 virtual blink::WebGeolocationClient* geolocationClient(); | 508 virtual blink::WebGeolocationClient* geolocationClient(); |
506 virtual blink::WebPushClient* pushClient(); | 509 virtual blink::WebPushClient* pushClient(); |
507 virtual blink::WebPresentationClient* presentationClient(); | 510 virtual blink::WebPresentationClient* presentationClient(); |
508 virtual void willStartUsingPeerConnectionHandler( | 511 virtual void willStartUsingPeerConnectionHandler( |
509 blink::WebLocalFrame* frame, | 512 blink::WebLocalFrame* frame, |
510 blink::WebRTCPeerConnectionHandler* handler); | 513 blink::WebRTCPeerConnectionHandler* handler); |
511 virtual blink::WebUserMediaClient* userMediaClient(); | 514 virtual blink::WebUserMediaClient* userMediaClient(); |
512 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); | 515 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); |
513 virtual blink::WebMIDIClient* webMIDIClient(); | 516 virtual blink::WebMIDIClient* webMIDIClient(); |
514 virtual bool willCheckAndDispatchMessageEvent( | 517 virtual bool willCheckAndDispatchMessageEvent( |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 #if defined(VIDEO_HOLE) | 966 #if defined(VIDEO_HOLE) |
964 // Whether or not this RenderFrameImpl contains a media player. Used to | 967 // Whether or not this RenderFrameImpl contains a media player. Used to |
965 // register as an observer for video-hole-specific events. | 968 // register as an observer for video-hole-specific events. |
966 bool contains_media_player_; | 969 bool contains_media_player_; |
967 #endif | 970 #endif |
968 | 971 |
969 // The devtools agent for this frame; only created for main frame and | 972 // The devtools agent for this frame; only created for main frame and |
970 // local roots. | 973 // local roots. |
971 DevToolsAgent* devtools_agent_; | 974 DevToolsAgent* devtools_agent_; |
972 | 975 |
| 976 WakeLockDispatcher* wakelock_dispatcher_; |
| 977 |
973 // The geolocation dispatcher attached to this frame, lazily initialized. | 978 // The geolocation dispatcher attached to this frame, lazily initialized. |
974 GeolocationDispatcher* geolocation_dispatcher_; | 979 GeolocationDispatcher* geolocation_dispatcher_; |
975 | 980 |
976 // The push messaging dispatcher attached to this frame, lazily initialized. | 981 // The push messaging dispatcher attached to this frame, lazily initialized. |
977 PushMessagingDispatcher* push_messaging_dispatcher_; | 982 PushMessagingDispatcher* push_messaging_dispatcher_; |
978 | 983 |
979 // The presentation dispatcher implementation attached to this frame, lazily | 984 // The presentation dispatcher implementation attached to this frame, lazily |
980 // initialized. | 985 // initialized. |
981 PresentationDispatcher* presentation_dispatcher_; | 986 PresentationDispatcher* presentation_dispatcher_; |
982 | 987 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 #endif | 1019 #endif |
1015 | 1020 |
1016 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1021 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1017 | 1022 |
1018 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1023 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1019 }; | 1024 }; |
1020 | 1025 |
1021 } // namespace content | 1026 } // namespace content |
1022 | 1027 |
1023 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1028 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |