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

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

Issue 1393203004: Reland of Wake Lock API implementation (Chromium part) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix presubmit errors Created 5 years, 1 month 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 struct FrameMsg_TextTrackSettings_Params; 57 struct FrameMsg_TextTrackSettings_Params;
58 58
59 namespace blink { 59 namespace blink {
60 class WebGeolocationClient; 60 class WebGeolocationClient;
61 class WebMouseEvent; 61 class WebMouseEvent;
62 class WebContentDecryptionModule; 62 class WebContentDecryptionModule;
63 class WebMediaPlayer; 63 class WebMediaPlayer;
64 class WebPresentationClient; 64 class WebPresentationClient;
65 class WebPushClient; 65 class WebPushClient;
66 class WebSecurityOrigin; 66 class WebSecurityOrigin;
67 class WebWakeLockClient;
67 struct WebCompositionUnderline; 68 struct WebCompositionUnderline;
68 struct WebContextMenuData; 69 struct WebContextMenuData;
69 struct WebCursorInfo; 70 struct WebCursorInfo;
70 } 71 }
71 72
72 namespace gfx { 73 namespace gfx {
73 class Point; 74 class Point;
74 class Range; 75 class Range;
75 class Rect; 76 class Rect;
76 } 77 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 class RendererAccessibility; 113 class RendererAccessibility;
113 class RendererCdmManager; 114 class RendererCdmManager;
114 class RendererMediaPlayerManager; 115 class RendererMediaPlayerManager;
115 class RendererPpapiHost; 116 class RendererPpapiHost;
116 class RenderFrameObserver; 117 class RenderFrameObserver;
117 class RenderViewImpl; 118 class RenderViewImpl;
118 class RenderWidget; 119 class RenderWidget;
119 class RenderWidgetFullscreenPepper; 120 class RenderWidgetFullscreenPepper;
120 class ScreenOrientationDispatcher; 121 class ScreenOrientationDispatcher;
121 class UserMediaClientImpl; 122 class UserMediaClientImpl;
123 class WakeLockDispatcher;
122 struct CommonNavigationParams; 124 struct CommonNavigationParams;
123 struct CustomContextMenuContext; 125 struct CustomContextMenuContext;
124 struct FrameReplicationState; 126 struct FrameReplicationState;
125 struct NavigationParams; 127 struct NavigationParams;
126 struct RequestNavigationParams; 128 struct RequestNavigationParams;
127 struct ResourceResponseHead; 129 struct ResourceResponseHead;
128 struct StartNavigationParams; 130 struct StartNavigationParams;
129 struct StreamOverrideParameters; 131 struct StreamOverrideParameters;
130 class VRDispatcher; 132 class VRDispatcher;
131 133
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 int count, 515 int count,
514 bool final_update) override; 516 bool final_update) override;
515 void reportFindInPageSelection(int request_id, 517 void reportFindInPageSelection(int request_id,
516 int active_match_ordinal, 518 int active_match_ordinal,
517 const blink::WebRect& sel) override; 519 const blink::WebRect& sel) override;
518 void requestStorageQuota(blink::WebLocalFrame* frame, 520 void requestStorageQuota(blink::WebLocalFrame* frame,
519 blink::WebStorageQuotaType type, 521 blink::WebStorageQuotaType type,
520 unsigned long long requested_size, 522 unsigned long long requested_size,
521 blink::WebStorageQuotaCallbacks callbacks) override; 523 blink::WebStorageQuotaCallbacks callbacks) override;
522 void willOpenWebSocket(blink::WebSocketHandle* handle) override; 524 void willOpenWebSocket(blink::WebSocketHandle* handle) override;
525 blink::WebWakeLockClient* wakeLockClient() override;
523 blink::WebGeolocationClient* geolocationClient() override; 526 blink::WebGeolocationClient* geolocationClient() override;
524 blink::WebPushClient* pushClient() override; 527 blink::WebPushClient* pushClient() override;
525 blink::WebPresentationClient* presentationClient() override; 528 blink::WebPresentationClient* presentationClient() override;
526 void willStartUsingPeerConnectionHandler( 529 void willStartUsingPeerConnectionHandler(
527 blink::WebLocalFrame* frame, 530 blink::WebLocalFrame* frame,
528 blink::WebRTCPeerConnectionHandler* handler) override; 531 blink::WebRTCPeerConnectionHandler* handler) override;
529 blink::WebUserMediaClient* userMediaClient() override; 532 blink::WebUserMediaClient* userMediaClient() override;
530 blink::WebEncryptedMediaClient* encryptedMediaClient() override; 533 blink::WebEncryptedMediaClient* encryptedMediaClient() override;
531 blink::WebMIDIClient* webMIDIClient() override; 534 blink::WebMIDIClient* webMIDIClient() override;
532 bool willCheckAndDispatchMessageEvent( 535 bool willCheckAndDispatchMessageEvent(
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 bool contains_media_player_; 1013 bool contains_media_player_;
1011 #endif 1014 #endif
1012 1015
1013 // True if this RenderFrame has ever played media. 1016 // True if this RenderFrame has ever played media.
1014 bool has_played_media_; 1017 bool has_played_media_;
1015 1018
1016 // The devtools agent for this frame; only created for main frame and 1019 // The devtools agent for this frame; only created for main frame and
1017 // local roots. 1020 // local roots.
1018 DevToolsAgent* devtools_agent_; 1021 DevToolsAgent* devtools_agent_;
1019 1022
1023 WakeLockDispatcher* wakelock_dispatcher_;
1024
1020 // The geolocation dispatcher attached to this frame, lazily initialized. 1025 // The geolocation dispatcher attached to this frame, lazily initialized.
1021 GeolocationDispatcher* geolocation_dispatcher_; 1026 GeolocationDispatcher* geolocation_dispatcher_;
1022 1027
1023 // The push messaging dispatcher attached to this frame, lazily initialized. 1028 // The push messaging dispatcher attached to this frame, lazily initialized.
1024 PushMessagingDispatcher* push_messaging_dispatcher_; 1029 PushMessagingDispatcher* push_messaging_dispatcher_;
1025 1030
1026 // The presentation dispatcher implementation attached to this frame, lazily 1031 // The presentation dispatcher implementation attached to this frame, lazily
1027 // initialized. 1032 // initialized.
1028 PresentationDispatcher* presentation_dispatcher_; 1033 PresentationDispatcher* presentation_dispatcher_;
1029 1034
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 #endif 1071 #endif
1067 1072
1068 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1073 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1069 1074
1070 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1075 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1071 }; 1076 };
1072 1077
1073 } // namespace content 1078 } // namespace content
1074 1079
1075 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1080 #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