Fix the duplicatedly commited composition text when switching IME.
[chromium-blink-merge.git] / chrome / browser / chromeos / dbus / chrome_display_power_service_provider_delegate.h
blob6f7f6446f323623a24c3d360e6a614b27df8a865
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"
10 namespace chromeos {
12 // Chrome's implementation of DisplayPowerServiceProvider::Delegate
13 class ChromeDisplayPowerServiceProviderDelegate
14 : public DisplayPowerServiceProvider::Delegate {
15 public:
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;
24 private:
25 DISALLOW_COPY_AND_ASSIGN(ChromeDisplayPowerServiceProviderDelegate);
28 } // namespace chromeos
30 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CHROME_DISPLAY_POWER_SERVICE_PROVIDER_DELEGATE_H_