| Index: Source/core/dom/DocumentWakeLock.h
|
| diff --git a/Source/core/dom/DocumentWakeLock.h b/Source/core/dom/DocumentWakeLock.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bcb99c4a801e5ad16417c43a12c94b0ed60b1209
|
| --- /dev/null
|
| +++ b/Source/core/dom/DocumentWakeLock.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef DocumentWakeLock_h
|
| +#define DocumentWakeLock_h
|
| +
|
| +namespace blink {
|
| +
|
| +class Document;
|
| +
|
| +class DocumentWakeLock {
|
| +public:
|
| + static bool keepScreenAwake(Document&);
|
| + static void setKeepScreenAwake(Document&, bool);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // DocumentWakeLock_h
|
|
|