OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOCK_WINDOW_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOCK_WINDOW_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "ui/views/widget/widget.h" | |
10 #include "ui/views/widget/widget_delegate.h" | |
11 | |
12 namespace views { | |
13 class View; | |
14 class Widget; | |
15 } | |
16 | |
17 namespace chromeos { | |
18 | |
19 // Shows the widget for the lock screen. | |
20 class LockWindow : public views::Widget, public views::WidgetDelegate { | |
21 public: | |
22 LockWindow(); | |
23 ~LockWindow() override; | |
24 | |
25 private: | |
26 // views::WidgetDelegate: | |
27 views::View* GetInitiallyFocusedView() override; | |
28 views::Widget* GetWidget() override; | |
29 const views::Widget* GetWidget() const override; | |
30 | |
31 DISALLOW_COPY_AND_ASSIGN(LockWindow); | |
32 }; | |
33 | |
34 } // namespace chromeos | |
35 | |
36 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOCK_WINDOW_H_ | |
OLD | NEW |