1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_CHROME_DISPLAY_POWER_SERVICE_PROVIDER_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_CHROME_DISPLAY_POWER_SERVICE_PROVIDER_DELEGATE_H_
8 #include "chromeos/dbus/services/display_power_service_provider.h"
12 // Chrome's implementation of DisplayPowerServiceProvider::Delegate
13 class ChromeDisplayPowerServiceProviderDelegate
14 : public DisplayPowerServiceProvider::Delegate
{
16 ChromeDisplayPowerServiceProviderDelegate();
17 ~ChromeDisplayPowerServiceProviderDelegate() override
;
19 // DisplayPowerServiceProvider::Delegate overrides:
20 void SetDisplayPower(DisplayPowerState power_state
,
21 const ResponseCallback
& callback
) override
;
22 void SetDimming(bool dimmed
) override
;
25 DISALLOW_COPY_AND_ASSIGN(ChromeDisplayPowerServiceProviderDelegate
);
28 } // namespace chromeos
30 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CHROME_DISPLAY_POWER_SERVICE_PROVIDER_DELEGATE_H_