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

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

Issue 1883493003: [OnionSoup] Moving WakeLock Service to Blink (2/2): removing WebWakeLockClient and WakeLockDispatch… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 class SyncMessage; 77 class SyncMessage;
78 } 78 }
79 79
80 namespace blink { 80 namespace blink {
81 class WebGeolocationClient; 81 class WebGeolocationClient;
82 class WebMouseEvent; 82 class WebMouseEvent;
83 class WebContentDecryptionModule; 83 class WebContentDecryptionModule;
84 class WebPresentationClient; 84 class WebPresentationClient;
85 class WebPushClient; 85 class WebPushClient;
86 class WebSecurityOrigin; 86 class WebSecurityOrigin;
87 class WebWakeLockClient;
88 enum class WebCachePolicy; 87 enum class WebCachePolicy;
89 struct WebCompositionUnderline; 88 struct WebCompositionUnderline;
90 struct WebContextMenuData; 89 struct WebContextMenuData;
91 struct WebCursorInfo; 90 struct WebCursorInfo;
92 struct WebFindOptions; 91 struct WebFindOptions;
93 struct WebScreenInfo; 92 struct WebScreenInfo;
94 } 93 }
95 94
96 namespace gfx { 95 namespace gfx {
97 class Point; 96 class Point;
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 void reportFindInPageMatchCount(int request_id, 570 void reportFindInPageMatchCount(int request_id,
572 int count, 571 int count,
573 bool final_update) override; 572 bool final_update) override;
574 void reportFindInPageSelection(int request_id, 573 void reportFindInPageSelection(int request_id,
575 int active_match_ordinal, 574 int active_match_ordinal,
576 const blink::WebRect& sel) override; 575 const blink::WebRect& sel) override;
577 void requestStorageQuota(blink::WebStorageQuotaType type, 576 void requestStorageQuota(blink::WebStorageQuotaType type,
578 unsigned long long requested_size, 577 unsigned long long requested_size,
579 blink::WebStorageQuotaCallbacks callbacks) override; 578 blink::WebStorageQuotaCallbacks callbacks) override;
580 void willOpenWebSocket(blink::WebSocketHandle* handle) override; 579 void willOpenWebSocket(blink::WebSocketHandle* handle) override;
581 blink::WebWakeLockClient* wakeLockClient() override;
582 blink::WebGeolocationClient* geolocationClient() override; 580 blink::WebGeolocationClient* geolocationClient() override;
583 blink::WebPushClient* pushClient() override; 581 blink::WebPushClient* pushClient() override;
584 blink::WebPresentationClient* presentationClient() override; 582 blink::WebPresentationClient* presentationClient() override;
585 void willStartUsingPeerConnectionHandler( 583 void willStartUsingPeerConnectionHandler(
586 blink::WebRTCPeerConnectionHandler* handler) override; 584 blink::WebRTCPeerConnectionHandler* handler) override;
587 blink::WebUserMediaClient* userMediaClient() override; 585 blink::WebUserMediaClient* userMediaClient() override;
588 blink::WebEncryptedMediaClient* encryptedMediaClient() override; 586 blink::WebEncryptedMediaClient* encryptedMediaClient() override;
589 blink::WebMIDIClient* webMIDIClient() override; 587 blink::WebMIDIClient* webMIDIClient() override;
590 bool willCheckAndDispatchMessageEvent( 588 bool willCheckAndDispatchMessageEvent(
591 blink::WebLocalFrame* source_frame, 589 blink::WebLocalFrame* source_frame,
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 #if defined(VIDEO_HOLE) 1151 #if defined(VIDEO_HOLE)
1154 // Whether or not this RenderFrameImpl contains a media player. Used to 1152 // Whether or not this RenderFrameImpl contains a media player. Used to
1155 // register as an observer for video-hole-specific events. 1153 // register as an observer for video-hole-specific events.
1156 bool contains_media_player_; 1154 bool contains_media_player_;
1157 #endif 1155 #endif
1158 1156
1159 // The devtools agent for this frame; only created for main frame and 1157 // The devtools agent for this frame; only created for main frame and
1160 // local roots. 1158 // local roots.
1161 DevToolsAgent* devtools_agent_; 1159 DevToolsAgent* devtools_agent_;
1162 1160
1163 WakeLockDispatcher* wakelock_dispatcher_;
1164
1165 // The geolocation dispatcher attached to this frame, lazily initialized. 1161 // The geolocation dispatcher attached to this frame, lazily initialized.
1166 GeolocationDispatcher* geolocation_dispatcher_; 1162 GeolocationDispatcher* geolocation_dispatcher_;
1167 1163
1168 // The push messaging dispatcher attached to this frame, lazily initialized. 1164 // The push messaging dispatcher attached to this frame, lazily initialized.
1169 PushMessagingDispatcher* push_messaging_dispatcher_; 1165 PushMessagingDispatcher* push_messaging_dispatcher_;
1170 1166
1171 // The presentation dispatcher implementation attached to this frame, lazily 1167 // The presentation dispatcher implementation attached to this frame, lazily
1172 // initialized. 1168 // initialized.
1173 PresentationDispatcher* presentation_dispatcher_; 1169 PresentationDispatcher* presentation_dispatcher_;
1174 1170
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 FrameBlameContext* blame_context_; // Not owned. 1225 FrameBlameContext* blame_context_; // Not owned.
1230 1226
1231 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1227 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1232 1228
1233 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1229 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1234 }; 1230 };
1235 1231
1236 } // namespace content 1232 } // namespace content
1237 1233
1238 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1234 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698