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

Unified Diff: public/web/WebFrameClient.h

Issue 1084923002: Wake Lock API implementation (Blink part) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « public/platform/modules/wake_lock/WebWakeLockClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 146e3e8aa9054495df93d91ccc18adee63712128..3e3a4c93bfd97ccdf057d929980dd6220ee7ad71 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -91,6 +91,7 @@ class WebURL;
class WebURLResponse;
class WebUserMediaClient;
class WebVRClient;
+class WebWakeLockClient;
class WebWorkerContentSettingsClientProxy;
struct WebColorSuggestion;
struct WebConsoleMessage;
@@ -516,6 +517,9 @@ public:
// A WebSocket object is going to open a new WebSocket connection.
virtual void willOpenWebSocket(WebSocketHandle*) { }
+ // Wake Lock -----------------------------------------------------
+
+ virtual WebWakeLockClient* wakeLockClient() { return 0; }
// Geolocation ---------------------------------------------------------
« no previous file with comments | « public/platform/modules/wake_lock/WebWakeLockClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698