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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 struct FrameMsg_NewFrame_WidgetParams; | 46 struct FrameMsg_NewFrame_WidgetParams; |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 class WebGeolocationClient; | 49 class WebGeolocationClient; |
50 class WebMouseEvent; | 50 class WebMouseEvent; |
51 class WebContentDecryptionModule; | 51 class WebContentDecryptionModule; |
52 class WebMediaPlayer; | 52 class WebMediaPlayer; |
53 class WebPresentationClient; | 53 class WebPresentationClient; |
54 class WebPushClient; | 54 class WebPushClient; |
55 class WebSecurityOrigin; | 55 class WebSecurityOrigin; |
| 56 class WebWakeLockClient; |
56 struct WebCompositionUnderline; | 57 struct WebCompositionUnderline; |
57 struct WebContextMenuData; | 58 struct WebContextMenuData; |
58 struct WebCursorInfo; | 59 struct WebCursorInfo; |
59 struct WebTransitionElementData; | 60 struct WebTransitionElementData; |
60 } | 61 } |
61 | 62 |
62 namespace gfx { | 63 namespace gfx { |
63 class Point; | 64 class Point; |
64 class Range; | 65 class Range; |
65 class Rect; | 66 class Rect; |
(...skipping 27 matching lines...) Expand all Loading... |
93 class RendererAccessibility; | 94 class RendererAccessibility; |
94 class RendererCdmManager; | 95 class RendererCdmManager; |
95 class RendererMediaPlayerManager; | 96 class RendererMediaPlayerManager; |
96 class RendererPpapiHost; | 97 class RendererPpapiHost; |
97 class RenderFrameObserver; | 98 class RenderFrameObserver; |
98 class RenderViewImpl; | 99 class RenderViewImpl; |
99 class RenderWidget; | 100 class RenderWidget; |
100 class RenderWidgetFullscreenPepper; | 101 class RenderWidgetFullscreenPepper; |
101 class ScreenOrientationDispatcher; | 102 class ScreenOrientationDispatcher; |
102 class UserMediaClientImpl; | 103 class UserMediaClientImpl; |
| 104 class WakeLockDispatcher; |
103 enum class SandboxFlags; | 105 enum class SandboxFlags; |
104 struct CommonNavigationParams; | 106 struct CommonNavigationParams; |
105 struct CustomContextMenuContext; | 107 struct CustomContextMenuContext; |
106 struct FrameReplicationState; | 108 struct FrameReplicationState; |
107 struct NavigationParams; | 109 struct NavigationParams; |
108 struct RequestNavigationParams; | 110 struct RequestNavigationParams; |
109 struct ResourceResponseHead; | 111 struct ResourceResponseHead; |
110 struct StartNavigationParams; | 112 struct StartNavigationParams; |
111 | 113 |
112 class CONTENT_EXPORT RenderFrameImpl | 114 class CONTENT_EXPORT RenderFrameImpl |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 int count, | 480 int count, |
479 bool final_update); | 481 bool final_update); |
480 virtual void reportFindInPageSelection(int request_id, | 482 virtual void reportFindInPageSelection(int request_id, |
481 int active_match_ordinal, | 483 int active_match_ordinal, |
482 const blink::WebRect& sel); | 484 const blink::WebRect& sel); |
483 virtual void requestStorageQuota(blink::WebLocalFrame* frame, | 485 virtual void requestStorageQuota(blink::WebLocalFrame* frame, |
484 blink::WebStorageQuotaType type, | 486 blink::WebStorageQuotaType type, |
485 unsigned long long requested_size, | 487 unsigned long long requested_size, |
486 blink::WebStorageQuotaCallbacks callbacks); | 488 blink::WebStorageQuotaCallbacks callbacks); |
487 virtual void willOpenWebSocket(blink::WebSocketHandle* handle); | 489 virtual void willOpenWebSocket(blink::WebSocketHandle* handle); |
| 490 virtual blink::WebWakeLockClient* wakeLockClient(); |
488 virtual blink::WebGeolocationClient* geolocationClient(); | 491 virtual blink::WebGeolocationClient* geolocationClient(); |
489 virtual blink::WebPushClient* pushClient(); | 492 virtual blink::WebPushClient* pushClient(); |
490 virtual blink::WebPresentationClient* presentationClient(); | 493 virtual blink::WebPresentationClient* presentationClient(); |
491 virtual void willStartUsingPeerConnectionHandler( | 494 virtual void willStartUsingPeerConnectionHandler( |
492 blink::WebLocalFrame* frame, | 495 blink::WebLocalFrame* frame, |
493 blink::WebRTCPeerConnectionHandler* handler); | 496 blink::WebRTCPeerConnectionHandler* handler); |
494 virtual blink::WebUserMediaClient* userMediaClient(); | 497 virtual blink::WebUserMediaClient* userMediaClient(); |
495 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); | 498 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); |
496 virtual blink::WebMIDIClient* webMIDIClient(); | 499 virtual blink::WebMIDIClient* webMIDIClient(); |
497 virtual bool willCheckAndDispatchMessageEvent( | 500 virtual bool willCheckAndDispatchMessageEvent( |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 #if defined(VIDEO_HOLE) | 872 #if defined(VIDEO_HOLE) |
870 // Whether or not this RenderFrameImpl contains a media player. Used to | 873 // Whether or not this RenderFrameImpl contains a media player. Used to |
871 // register as an observer for video-hole-specific events. | 874 // register as an observer for video-hole-specific events. |
872 bool contains_media_player_; | 875 bool contains_media_player_; |
873 #endif | 876 #endif |
874 | 877 |
875 // The devtools agent for this frame; only created for main frame and | 878 // The devtools agent for this frame; only created for main frame and |
876 // local roots. | 879 // local roots. |
877 DevToolsAgent* devtools_agent_; | 880 DevToolsAgent* devtools_agent_; |
878 | 881 |
| 882 WakeLockDispatcher* wakelock_dispatcher_; |
| 883 |
879 // The geolocation dispatcher attached to this frame, lazily initialized. | 884 // The geolocation dispatcher attached to this frame, lazily initialized. |
880 GeolocationDispatcher* geolocation_dispatcher_; | 885 GeolocationDispatcher* geolocation_dispatcher_; |
881 | 886 |
882 // The push messaging dispatcher attached to this frame, lazily initialized. | 887 // The push messaging dispatcher attached to this frame, lazily initialized. |
883 PushMessagingDispatcher* push_messaging_dispatcher_; | 888 PushMessagingDispatcher* push_messaging_dispatcher_; |
884 | 889 |
885 // The presentation dispatcher implementation attached to this frame, lazily | 890 // The presentation dispatcher implementation attached to this frame, lazily |
886 // initialized. | 891 // initialized. |
887 PresentationDispatcher* presentation_dispatcher_; | 892 PresentationDispatcher* presentation_dispatcher_; |
888 | 893 |
(...skipping 22 matching lines...) Expand all Loading... |
911 #endif | 916 #endif |
912 | 917 |
913 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 918 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
914 | 919 |
915 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 920 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
916 }; | 921 }; |
917 | 922 |
918 } // namespace content | 923 } // namespace content |
919 | 924 |
920 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 925 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |