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 27 matching lines...) Expand all Loading... |
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 const gfx::Range& HelpTextLinkRange() = 0; | 45 virtual const gfx::Range& HelpTextLinkRange() = 0; |
46 | 46 |
47 protected: | 47 protected: |
48 virtual ~PasswordGenerationPopupController() {} | 48 ~PasswordGenerationPopupController() override {} |
49 }; | 49 }; |
50 | 50 |
51 } // namespace autofill | 51 } // namespace autofill |
52 | 52 |
53 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ | 53 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ |
OLD | NEW |