OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 // LockStateObserver: | 126 // LockStateObserver: |
127 void OnLockStateEvent(ash::LockStateObserver::EventType event) override; | 127 void OnLockStateEvent(ash::LockStateObserver::EventType event) override; |
128 | 128 |
129 // WidgetObserver: | 129 // WidgetObserver: |
130 void OnWidgetDestroying(views::Widget* widget) override; | 130 void OnWidgetDestroying(views::Widget* widget) override; |
131 | 131 |
132 // PowerManagerClient::Observer: | 132 // PowerManagerClient::Observer: |
133 void SuspendImminent() override; | 133 void SuspendImminent() override; |
134 void SuspendDone(const base::TimeDelta& sleep_duration) override; | 134 void SuspendDone(const base::TimeDelta& sleep_duration) override; |
135 void LidEventReceived(bool open, const base::TimeTicks& time) override; | 135 void LidEventReceived(PowerManagerClient::LidState state, |
| 136 const base::TimeTicks& time) override; |
136 | 137 |
137 // content::WebContentsObserver: | 138 // content::WebContentsObserver: |
138 void RenderProcessGone(base::TerminationStatus status) override; | 139 void RenderProcessGone(base::TerminationStatus status) override; |
139 | 140 |
140 // ash::ShellObserver: | 141 // ash::ShellObserver: |
141 void OnVirtualKeyboardStateChanged(bool activated, | 142 void OnVirtualKeyboardStateChanged(bool activated, |
142 ash::WmWindow* root_window) override; | 143 ash::WmWindow* root_window) override; |
143 | 144 |
144 // keyboard::KeyboardControllerObserver: | 145 // keyboard::KeyboardControllerObserver: |
145 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 146 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 bool is_observing_keyboard_ = false; | 197 bool is_observing_keyboard_ = false; |
197 | 198 |
198 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; | 199 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; |
199 | 200 |
200 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 201 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
201 }; | 202 }; |
202 | 203 |
203 } // namespace chromeos | 204 } // namespace chromeos |
204 | 205 |
205 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ | 206 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ |
OLD | NEW |