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" |
| 11 #include "base/string16.h" |
11 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
12 | 13 |
13 namespace gfx { | 14 namespace gfx { |
14 class Font; | 15 class Font; |
15 class Point; | 16 class Point; |
16 class Rect; | 17 class Rect; |
17 } | 18 } |
18 | 19 |
19 // This interface provides data to an AutofillPopupView. | 20 // This interface provides data to an AutofillPopupView. |
20 class AutofillPopupController { | 21 class AutofillPopupController { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 virtual int selected_line() const = 0; | 91 virtual int selected_line() const = 0; |
91 | 92 |
92 // Returns true if the delete icon of the selected line is currently hovered. | 93 // Returns true if the delete icon of the selected line is currently hovered. |
93 virtual bool delete_icon_hovered() const = 0; | 94 virtual bool delete_icon_hovered() const = 0; |
94 | 95 |
95 protected: | 96 protected: |
96 virtual ~AutofillPopupController() {} | 97 virtual ~AutofillPopupController() {} |
97 }; | 98 }; |
98 | 99 |
99 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ | 100 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ |
OLD | NEW |