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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 struct FrameMsg_TextTrackSettings_Params; | 56 struct FrameMsg_TextTrackSettings_Params; |
57 | 57 |
58 namespace blink { | 58 namespace blink { |
59 class WebGeolocationClient; | 59 class WebGeolocationClient; |
60 class WebMouseEvent; | 60 class WebMouseEvent; |
61 class WebContentDecryptionModule; | 61 class WebContentDecryptionModule; |
62 class WebMediaPlayer; | 62 class WebMediaPlayer; |
63 class WebPresentationClient; | 63 class WebPresentationClient; |
64 class WebPushClient; | 64 class WebPushClient; |
65 class WebSecurityOrigin; | 65 class WebSecurityOrigin; |
| 66 class WebWakeLockClient; |
66 struct WebCompositionUnderline; | 67 struct WebCompositionUnderline; |
67 struct WebContextMenuData; | 68 struct WebContextMenuData; |
68 struct WebCursorInfo; | 69 struct WebCursorInfo; |
69 } | 70 } |
70 | 71 |
71 namespace gfx { | 72 namespace gfx { |
72 class Point; | 73 class Point; |
73 class Range; | 74 class Range; |
74 class Rect; | 75 class Rect; |
75 } | 76 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 class RendererAccessibility; | 108 class RendererAccessibility; |
108 class RendererCdmManager; | 109 class RendererCdmManager; |
109 class RendererMediaPlayerManager; | 110 class RendererMediaPlayerManager; |
110 class RendererPpapiHost; | 111 class RendererPpapiHost; |
111 class RenderFrameObserver; | 112 class RenderFrameObserver; |
112 class RenderViewImpl; | 113 class RenderViewImpl; |
113 class RenderWidget; | 114 class RenderWidget; |
114 class RenderWidgetFullscreenPepper; | 115 class RenderWidgetFullscreenPepper; |
115 class ScreenOrientationDispatcher; | 116 class ScreenOrientationDispatcher; |
116 class UserMediaClientImpl; | 117 class UserMediaClientImpl; |
| 118 class WakeLockDispatcher; |
117 struct CommonNavigationParams; | 119 struct CommonNavigationParams; |
118 struct CustomContextMenuContext; | 120 struct CustomContextMenuContext; |
119 struct FrameReplicationState; | 121 struct FrameReplicationState; |
120 struct NavigationParams; | 122 struct NavigationParams; |
121 struct RequestNavigationParams; | 123 struct RequestNavigationParams; |
122 struct ResourceResponseHead; | 124 struct ResourceResponseHead; |
123 struct StartNavigationParams; | 125 struct StartNavigationParams; |
124 struct StreamOverrideParameters; | 126 struct StreamOverrideParameters; |
125 class VRDispatcher; | 127 class VRDispatcher; |
126 | 128 |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 int count, | 504 int count, |
503 bool final_update); | 505 bool final_update); |
504 virtual void reportFindInPageSelection(int request_id, | 506 virtual void reportFindInPageSelection(int request_id, |
505 int active_match_ordinal, | 507 int active_match_ordinal, |
506 const blink::WebRect& sel); | 508 const blink::WebRect& sel); |
507 virtual void requestStorageQuota(blink::WebLocalFrame* frame, | 509 virtual void requestStorageQuota(blink::WebLocalFrame* frame, |
508 blink::WebStorageQuotaType type, | 510 blink::WebStorageQuotaType type, |
509 unsigned long long requested_size, | 511 unsigned long long requested_size, |
510 blink::WebStorageQuotaCallbacks callbacks); | 512 blink::WebStorageQuotaCallbacks callbacks); |
511 virtual void willOpenWebSocket(blink::WebSocketHandle* handle); | 513 virtual void willOpenWebSocket(blink::WebSocketHandle* handle); |
| 514 virtual blink::WebWakeLockClient* wakeLockClient(); |
512 virtual blink::WebGeolocationClient* geolocationClient(); | 515 virtual blink::WebGeolocationClient* geolocationClient(); |
513 virtual blink::WebPushClient* pushClient(); | 516 virtual blink::WebPushClient* pushClient(); |
514 virtual blink::WebPresentationClient* presentationClient(); | 517 virtual blink::WebPresentationClient* presentationClient(); |
515 virtual void willStartUsingPeerConnectionHandler( | 518 virtual void willStartUsingPeerConnectionHandler( |
516 blink::WebLocalFrame* frame, | 519 blink::WebLocalFrame* frame, |
517 blink::WebRTCPeerConnectionHandler* handler); | 520 blink::WebRTCPeerConnectionHandler* handler); |
518 virtual blink::WebUserMediaClient* userMediaClient(); | 521 virtual blink::WebUserMediaClient* userMediaClient(); |
519 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); | 522 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); |
520 virtual blink::WebMIDIClient* webMIDIClient(); | 523 virtual blink::WebMIDIClient* webMIDIClient(); |
521 virtual bool willCheckAndDispatchMessageEvent( | 524 virtual bool willCheckAndDispatchMessageEvent( |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 bool contains_media_player_; | 985 bool contains_media_player_; |
983 #endif | 986 #endif |
984 | 987 |
985 // True if this RenderFrame has ever played media. | 988 // True if this RenderFrame has ever played media. |
986 bool has_played_media_; | 989 bool has_played_media_; |
987 | 990 |
988 // The devtools agent for this frame; only created for main frame and | 991 // The devtools agent for this frame; only created for main frame and |
989 // local roots. | 992 // local roots. |
990 DevToolsAgent* devtools_agent_; | 993 DevToolsAgent* devtools_agent_; |
991 | 994 |
| 995 WakeLockDispatcher* wakelock_dispatcher_; |
| 996 |
992 // The geolocation dispatcher attached to this frame, lazily initialized. | 997 // The geolocation dispatcher attached to this frame, lazily initialized. |
993 GeolocationDispatcher* geolocation_dispatcher_; | 998 GeolocationDispatcher* geolocation_dispatcher_; |
994 | 999 |
995 // The push messaging dispatcher attached to this frame, lazily initialized. | 1000 // The push messaging dispatcher attached to this frame, lazily initialized. |
996 PushMessagingDispatcher* push_messaging_dispatcher_; | 1001 PushMessagingDispatcher* push_messaging_dispatcher_; |
997 | 1002 |
998 // The presentation dispatcher implementation attached to this frame, lazily | 1003 // The presentation dispatcher implementation attached to this frame, lazily |
999 // initialized. | 1004 // initialized. |
1000 PresentationDispatcher* presentation_dispatcher_; | 1005 PresentationDispatcher* presentation_dispatcher_; |
1001 | 1006 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 #endif | 1043 #endif |
1039 | 1044 |
1040 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1045 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1041 | 1046 |
1042 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1047 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1043 }; | 1048 }; |
1044 | 1049 |
1045 } // namespace content | 1050 } // namespace content |
1046 | 1051 |
1047 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1052 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |