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_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // so we need to know the row. | 66 // so we need to know the row. |
67 virtual const gfx::FontList& GetNameFontListForRow(size_t index) const = 0; | 67 virtual const gfx::FontList& GetNameFontListForRow(size_t index) const = 0; |
68 virtual const gfx::FontList& subtext_font_list() const = 0; | 68 virtual const gfx::FontList& subtext_font_list() const = 0; |
69 #endif | 69 #endif |
70 | 70 |
71 // Returns the index of the selected line. A line is "selected" when it is | 71 // Returns the index of the selected line. A line is "selected" when it is |
72 // hovered or has keyboard focus. | 72 // hovered or has keyboard focus. |
73 virtual int selected_line() const = 0; | 73 virtual int selected_line() const = 0; |
74 | 74 |
75 protected: | 75 protected: |
76 virtual ~AutofillPopupController() {} | 76 ~AutofillPopupController() override {} |
77 }; | 77 }; |
78 | 78 |
79 } // namespace autofill | 79 } // namespace autofill |
80 | 80 |
81 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ | 81 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ |
OLD | NEW |