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

Unified Diff: public/platform/WebWakeLockClient.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, 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 side-by-side diff with in-line comments
Download patch
Index: public/platform/WebWakeLockClient.h
diff --git a/public/platform/WebWakeLockClient.h b/public/platform/WebWakeLockClient.h
new file mode 100644
index 0000000000000000000000000000000000000000..3417058066209edd38ae6c8dbd027754e08275fb
--- /dev/null
+++ b/public/platform/WebWakeLockClient.h
@@ -0,0 +1,19 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
mlamouri (slow - plz ping) 2015/04/28 08:00:26 Could you have that in public/platform/modules/wak
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebWakeLockClient_h
+#define WebWakeLockClient_h
+
+namespace blink {
+
+class WebWakeLockClient {
+public:
+ virtual ~WebWakeLockClient() { }
+
+ virtual void requestKeepScreenAwake(bool) = 0;
mlamouri (slow - plz ping) 2015/04/28 08:00:26 Usually, Blink interfaces are not using pure virtu
+};
+
+} // namespace blink
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698