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