BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / chromeos / power / session_state_controller_delegate_chromeos.h
blob2f8a9eafd25e3451bcbb503ffd51124ff4126fed
1 // Copyright (c) 2012 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_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS_H_
8 #include "ash/wm/lock_state_controller.h"
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "base/memory/weak_ptr.h"
13 namespace chromeos {
15 class SessionStateControllerDelegateChromeos
16 : public ash::LockStateControllerDelegate {
17 public:
18 SessionStateControllerDelegateChromeos();
19 ~SessionStateControllerDelegateChromeos() override;
21 private:
22 // SessionStateControllerDelegate implementation.
23 void RequestLockScreen() override;
24 void RequestShutdown() override;
26 base::WeakPtrFactory<SessionStateControllerDelegateChromeos> weak_factory_;
28 DISALLOW_COPY_AND_ASSIGN(SessionStateControllerDelegateChromeos);
31 } // namespace chromeos
33 #endif // CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS_H_