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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 1107333002: 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_delegate.h
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
index e4fa4fa56bdc17afab8f6ceb65c272ebd8ae53bc..8ce3d1d69d544fcd9869230210c973ef0cb337f7 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -29,6 +29,7 @@ class Message;
namespace content {
class GeolocationServiceContext;
class RenderFrameHost;
+class WakeLockServiceContext;
class WebContents;
struct AXEventNotificationDetails;
struct ContextMenuParams;
@@ -136,6 +137,9 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
// Gets the GeolocationServiceContext associated with this delegate.
virtual GeolocationServiceContext* GetGeolocationServiceContext();
+ // Gets the WakeLockServiceContext associated with this delegate.
+ virtual WakeLockServiceContext* GetWakeLockServiceContext();
+
// Notification that the frame wants to go into fullscreen mode.
// |origin| represents the origin of the frame that requests fullscreen.
virtual void EnterFullscreenMode(const GURL& origin) {}

Powered by Google App Engine
This is Rietveld 408576698