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