OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
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 "chrome/browser/chromeos/login/login_display.h" | 13 #include "chrome/browser/chromeos/login/login_display.h" |
14 #include "chrome/browser/chromeos/login/screen_locker_delegate.h" | 14 #include "chrome/browser/chromeos/login/screen_locker_delegate.h" |
15 #include "chrome/browser/chromeos/login/webui_login_view.h" | 15 #include "chrome/browser/chromeos/login/webui_login_view.h" |
16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
18 #include "views/widget/widget.h" | 18 #include "ui/views/widget/widget.h" |
19 | 19 |
20 #if defined(TOOLKIT_USES_GTK) | 20 #if defined(TOOLKIT_USES_GTK) |
21 #include "views/widget/native_widget_gtk.h" | 21 #include "ui/views/widget/native_widget_gtk.h" |
22 #endif | 22 #endif |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 | 25 |
26 class ScreenLocker; | 26 class ScreenLocker; |
27 class WebUILoginDisplay; | 27 class WebUILoginDisplay; |
28 | 28 |
29 // This version of ScreenLockerDelegate displays a WebUI lock screen based on | 29 // This version of ScreenLockerDelegate displays a WebUI lock screen based on |
30 // the Oobe account picker screen. | 30 // the Oobe account picker screen. |
31 class WebUIScreenLocker : public WebUILoginView, | 31 class WebUIScreenLocker : public WebUILoginView, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 // Used for user image changed notifications. | 78 // Used for user image changed notifications. |
79 content::NotificationRegistrar registrar_; | 79 content::NotificationRegistrar registrar_; |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 81 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
82 }; | 82 }; |
83 | 83 |
84 } // namespace chromeos | 84 } // namespace chromeos |
85 | 85 |
86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
OLD | NEW |