OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_WEBUI_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/wm/lock_state_observer.h" | 10 #include "ash/wm/lock_state_observer.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time/time.h" |
15 #include "chrome/browser/chromeos/login/lock_window.h" | 15 #include "chrome/browser/chromeos/login/lock_window.h" |
16 #include "chrome/browser/chromeos/login/login_display.h" | 16 #include "chrome/browser/chromeos/login/login_display.h" |
17 #include "chrome/browser/chromeos/login/screen_locker_delegate.h" | 17 #include "chrome/browser/chromeos/login/screen_locker_delegate.h" |
18 #include "chrome/browser/chromeos/login/webui_login_view.h" | 18 #include "chrome/browser/chromeos/login/webui_login_view.h" |
19 #include "chromeos/dbus/power_manager_client.h" | 19 #include "chromeos/dbus/power_manager_client.h" |
20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
22 #include "content/public/browser/web_contents_observer.h" | 22 #include "content/public/browser/web_contents_observer.h" |
23 #include "ui/views/widget/widget.h" | 23 #include "ui/views/widget/widget.h" |
24 #include "ui/views/widget/widget_observer.h" | 24 #include "ui/views/widget/widget_observer.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 base::TimeTicks lock_time_; | 136 base::TimeTicks lock_time_; |
137 | 137 |
138 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; | 138 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; |
139 | 139 |
140 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 140 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
141 }; | 141 }; |
142 | 142 |
143 } // namespace chromeos | 143 } // namespace chromeos |
144 | 144 |
145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
OLD | NEW |