Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1345563002: Revert of Wake Lock API implementation (Chromium part) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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;
67 struct WebCompositionUnderline; 66 struct WebCompositionUnderline;
68 struct WebContextMenuData; 67 struct WebContextMenuData;
69 struct WebCursorInfo; 68 struct WebCursorInfo;
70 } 69 }
71 70
72 namespace gfx { 71 namespace gfx {
73 class Point; 72 class Point;
74 class Range; 73 class Range;
75 class Rect; 74 class Rect;
76 } 75 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 class RendererAccessibility; 107 class RendererAccessibility;
109 class RendererCdmManager; 108 class RendererCdmManager;
110 class RendererMediaPlayerManager; 109 class RendererMediaPlayerManager;
111 class RendererPpapiHost; 110 class RendererPpapiHost;
112 class RenderFrameObserver; 111 class RenderFrameObserver;
113 class RenderViewImpl; 112 class RenderViewImpl;
114 class RenderWidget; 113 class RenderWidget;
115 class RenderWidgetFullscreenPepper; 114 class RenderWidgetFullscreenPepper;
116 class ScreenOrientationDispatcher; 115 class ScreenOrientationDispatcher;
117 class UserMediaClientImpl; 116 class UserMediaClientImpl;
118 class WakeLockDispatcher;
119 struct CommonNavigationParams; 117 struct CommonNavigationParams;
120 struct CustomContextMenuContext; 118 struct CustomContextMenuContext;
121 struct FrameReplicationState; 119 struct FrameReplicationState;
122 struct NavigationParams; 120 struct NavigationParams;
123 struct RequestNavigationParams; 121 struct RequestNavigationParams;
124 struct ResourceResponseHead; 122 struct ResourceResponseHead;
125 struct StartNavigationParams; 123 struct StartNavigationParams;
126 struct StreamOverrideParameters; 124 struct StreamOverrideParameters;
127 class VRDispatcher; 125 class VRDispatcher;
128 126
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 int count, 502 int count,
505 bool final_update); 503 bool final_update);
506 virtual void reportFindInPageSelection(int request_id, 504 virtual void reportFindInPageSelection(int request_id,
507 int active_match_ordinal, 505 int active_match_ordinal,
508 const blink::WebRect& sel); 506 const blink::WebRect& sel);
509 virtual void requestStorageQuota(blink::WebLocalFrame* frame, 507 virtual void requestStorageQuota(blink::WebLocalFrame* frame,
510 blink::WebStorageQuotaType type, 508 blink::WebStorageQuotaType type,
511 unsigned long long requested_size, 509 unsigned long long requested_size,
512 blink::WebStorageQuotaCallbacks callbacks); 510 blink::WebStorageQuotaCallbacks callbacks);
513 virtual void willOpenWebSocket(blink::WebSocketHandle* handle); 511 virtual void willOpenWebSocket(blink::WebSocketHandle* handle);
514 virtual blink::WebWakeLockClient* wakeLockClient();
515 virtual blink::WebGeolocationClient* geolocationClient(); 512 virtual blink::WebGeolocationClient* geolocationClient();
516 virtual blink::WebPushClient* pushClient(); 513 virtual blink::WebPushClient* pushClient();
517 virtual blink::WebPresentationClient* presentationClient(); 514 virtual blink::WebPresentationClient* presentationClient();
518 virtual void willStartUsingPeerConnectionHandler( 515 virtual void willStartUsingPeerConnectionHandler(
519 blink::WebLocalFrame* frame, 516 blink::WebLocalFrame* frame,
520 blink::WebRTCPeerConnectionHandler* handler); 517 blink::WebRTCPeerConnectionHandler* handler);
521 virtual blink::WebUserMediaClient* userMediaClient(); 518 virtual blink::WebUserMediaClient* userMediaClient();
522 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); 519 virtual blink::WebEncryptedMediaClient* encryptedMediaClient();
523 virtual blink::WebMIDIClient* webMIDIClient(); 520 virtual blink::WebMIDIClient* webMIDIClient();
524 virtual bool willCheckAndDispatchMessageEvent( 521 virtual bool willCheckAndDispatchMessageEvent(
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 bool contains_media_player_; 982 bool contains_media_player_;
986 #endif 983 #endif
987 984
988 // True if this RenderFrame has ever played media. 985 // True if this RenderFrame has ever played media.
989 bool has_played_media_; 986 bool has_played_media_;
990 987
991 // The devtools agent for this frame; only created for main frame and 988 // The devtools agent for this frame; only created for main frame and
992 // local roots. 989 // local roots.
993 DevToolsAgent* devtools_agent_; 990 DevToolsAgent* devtools_agent_;
994 991
995 WakeLockDispatcher* wakelock_dispatcher_;
996
997 // The geolocation dispatcher attached to this frame, lazily initialized. 992 // The geolocation dispatcher attached to this frame, lazily initialized.
998 GeolocationDispatcher* geolocation_dispatcher_; 993 GeolocationDispatcher* geolocation_dispatcher_;
999 994
1000 // The push messaging dispatcher attached to this frame, lazily initialized. 995 // The push messaging dispatcher attached to this frame, lazily initialized.
1001 PushMessagingDispatcher* push_messaging_dispatcher_; 996 PushMessagingDispatcher* push_messaging_dispatcher_;
1002 997
1003 // The presentation dispatcher implementation attached to this frame, lazily 998 // The presentation dispatcher implementation attached to this frame, lazily
1004 // initialized. 999 // initialized.
1005 PresentationDispatcher* presentation_dispatcher_; 1000 PresentationDispatcher* presentation_dispatcher_;
1006 1001
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 #endif 1038 #endif
1044 1039
1045 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1040 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1046 1041
1047 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1042 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1048 }; 1043 };
1049 1044
1050 } // namespace content 1045 } // namespace content
1051 1046
1052 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1047 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698