| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PASSWORD_CHANGED_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual ~PasswordChangedView() {} | 47 virtual ~PasswordChangedView() {} |
| 48 | 48 |
| 49 // views::DialogDelegate: | 49 // views::DialogDelegate: |
| 50 virtual bool Accept() OVERRIDE; | 50 virtual bool Accept() OVERRIDE; |
| 51 virtual int GetDialogButtons() const OVERRIDE; | 51 virtual int GetDialogButtons() const OVERRIDE; |
| 52 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 52 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 53 | 53 |
| 54 // views::WidgetDelegate: | 54 // views::WidgetDelegate: |
| 55 virtual View* GetInitiallyFocusedView() OVERRIDE; | 55 virtual View* GetInitiallyFocusedView() OVERRIDE; |
| 56 virtual ui::ModalType GetModalType() const OVERRIDE; | 56 virtual ui::ModalType GetModalType() const OVERRIDE; |
| 57 virtual views::View* GetContentsView() OVERRIDE; | |
| 58 | 57 |
| 59 // views::View: | 58 // views::View: |
| 60 virtual string16 GetWindowTitle() const OVERRIDE; | 59 virtual string16 GetWindowTitle() const OVERRIDE; |
| 61 | 60 |
| 62 // views::ButtonListener: | 61 // views::ButtonListener: |
| 63 virtual void ButtonPressed(views::Button* sender, | 62 virtual void ButtonPressed(views::Button* sender, |
| 64 const ui::Event& event) OVERRIDE; | 63 const ui::Event& event) OVERRIDE; |
| 65 | 64 |
| 66 // views::TextfieldController: | 65 // views::TextfieldController: |
| 67 virtual void ContentsChanged(views::Textfield* sender, | 66 virtual void ContentsChanged(views::Textfield* sender, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // Whether should show "Incorrect password" error message | 98 // Whether should show "Incorrect password" error message |
| 100 // i.e. dialog is opened second time after incorrect old password input try. | 99 // i.e. dialog is opened second time after incorrect old password input try. |
| 101 const bool show_invalid_old_password_error_; | 100 const bool show_invalid_old_password_error_; |
| 102 | 101 |
| 103 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView); | 102 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView); |
| 104 }; | 103 }; |
| 105 | 104 |
| 106 } // namespace chromeos | 105 } // namespace chromeos |
| 107 | 106 |
| 108 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ | 107 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ |
| OLD | NEW |