| Index: Source/core/dom/DocumentWakeLock.cpp
|
| diff --git a/Source/core/dom/DocumentWakeLock.cpp b/Source/core/dom/DocumentWakeLock.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..75458191c96c646aa04ce391b43a8276e10ff8ce
|
| --- /dev/null
|
| +++ b/Source/core/dom/DocumentWakeLock.cpp
|
| @@ -0,0 +1,22 @@
|
| +// 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.
|
| +
|
| +#include "config.h"
|
| +#include "core/dom/DocumentWakeLock.h"
|
| +
|
| +#include "core/dom/WakeLock.h"
|
| +
|
| +namespace blink {
|
| +
|
| +bool DocumentWakeLock::keepScreenAwake(Document& document)
|
| +{
|
| + return WakeLock::keepScreenAwake(document);
|
| +}
|
| +
|
| +void DocumentWakeLock::setKeepScreenAwake(Document& document, bool keepScreenAwake)
|
| +{
|
| + WakeLock::setKeepScreenAwake(document, keepScreenAwake);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|