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 |