1// Copyright 2013 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5package org.chromium.content.browser; 6 7import org.chromium.base.CalledByNative; 8import org.chromium.ui.base.ViewAndroid; 9 10class PowerSaveBlocker { 11 @CalledByNative 12 private static void applyBlock(ViewAndroid view) { 13 view.incrementKeepScreenOnCount(); 14 } 15 16 @CalledByNative 17 private static void removeBlock(ViewAndroid view) { 18 view.decrementKeepScreenOnCount(); 19 } 20} 21