OLD | NEW |
1 // Copyright (c) 2006-2008 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_UI_VIEWS_LOGIN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/task.h" | 9 #include "base/task.h" |
10 #include "chrome/browser/ui/login/login_model.h" | 10 #include "chrome/browser/ui/login/login_model.h" |
11 #include "views/view.h" | 11 #include "ui/views/view.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 class Label; | 14 class Label; |
15 class Textfield; | 15 class Textfield; |
16 class LoginModel; | 16 class LoginModel; |
17 } // namespace views | 17 } // namespace views |
18 | 18 |
19 // This class is responsible for displaying the contents of a login window | 19 // This class is responsible for displaying the contents of a login window |
20 // for HTTP/FTP authentication. | 20 // for HTTP/FTP authentication. |
21 class LoginView : public views::View, public LoginModelObserver { | 21 class LoginView : public views::View, public LoginModelObserver { |
(...skipping 28 matching lines...) Expand all Loading... |
50 views::Label* message_label_; | 50 views::Label* message_label_; |
51 | 51 |
52 // If not null, points to a model we need to notify of our own destruction | 52 // If not null, points to a model we need to notify of our own destruction |
53 // so it doesn't try and access this when its too late. | 53 // so it doesn't try and access this when its too late. |
54 LoginModel* login_model_; | 54 LoginModel* login_model_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(LoginView); | 56 DISALLOW_COPY_AND_ASSIGN(LoginView); |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ | 59 #endif // CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ |
OLD | NEW |