Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Side by Side Diff: ash/login/ui/lock_window.h

Issue 2867173003: cros: Move LockWindow from chrome to ash (Closed)
Patch Set: Reorder patches so view -> ui lands first Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/login/ui/lock_screen.cc ('k') | ash/login/ui/lock_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « ash/login/ui/lock_screen.cc ('k') | ash/login/ui/lock_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698