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_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 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "chrome/browser/ui/login/login_prompt.h" | 10 #include "chrome/browser/ui/login/login_prompt.h" |
10 #include "components/autofill/core/common/password_form.h" | 11 #include "components/autofill/core/common/password_form.h" |
11 #include "components/password_manager/core/browser/login_model.h" | 12 #include "components/password_manager/core/browser/login_model.h" |
12 #include "ui/views/view.h" | 13 #include "ui/views/view.h" |
13 | 14 |
14 namespace views { | 15 namespace views { |
15 class Label; | 16 class Label; |
16 class Textfield; | 17 class Textfield; |
17 } | 18 } |
18 | 19 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 views::Label* message_label_; | 59 views::Label* message_label_; |
59 | 60 |
60 // If not null, points to a model we need to notify of our own destruction | 61 // If not null, points to a model we need to notify of our own destruction |
61 // so it doesn't try and access this when its too late. | 62 // so it doesn't try and access this when its too late. |
62 password_manager::LoginModel* login_model_; | 63 password_manager::LoginModel* login_model_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(LoginView); | 65 DISALLOW_COPY_AND_ASSIGN(LoginView); |
65 }; | 66 }; |
66 | 67 |
67 #endif // CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ | 68 #endif // CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ |
OLD | NEW |