| OLD | NEW |
| 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_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h" | 9 #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h" |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 virtual int GetMinimumWidth() = 0; | 35 virtual int GetMinimumWidth() = 0; |
| 36 | 36 |
| 37 // Accessors | 37 // Accessors |
| 38 virtual bool display_password() const = 0; | 38 virtual bool display_password() const = 0; |
| 39 virtual bool password_selected() const = 0; | 39 virtual bool password_selected() const = 0; |
| 40 virtual base::string16 password() const = 0; | 40 virtual base::string16 password() const = 0; |
| 41 | 41 |
| 42 // Translated strings | 42 // Translated strings |
| 43 virtual base::string16 SuggestedText() = 0; | 43 virtual base::string16 SuggestedText() = 0; |
| 44 virtual const base::string16& HelpText() = 0; | 44 virtual const base::string16& HelpText() = 0; |
| 45 virtual base::string16 AccessibleName() = 0; |
| 45 virtual const gfx::Range& HelpTextLinkRange() = 0; | 46 virtual const gfx::Range& HelpTextLinkRange() = 0; |
| 46 | 47 |
| 47 protected: | 48 protected: |
| 48 ~PasswordGenerationPopupController() override {} | 49 ~PasswordGenerationPopupController() override {} |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 } // namespace autofill | 52 } // namespace autofill |
| 52 | 53 |
| 53 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ | 54 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ |
| OLD | NEW |