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_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" | 12 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" |
13 #include "chrome/browser/ui/autofill/popup_controller_common.h" | 13 #include "chrome/browser/ui/autofill/popup_controller_common.h" |
14 #include "ui/gfx/font_list.h" | 14 #include "ui/gfx/font_list.h" |
15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/gfx/rect_f.h" | 16 #include "ui/gfx/geometry/rect_f.h" |
17 | 17 |
18 namespace autofill { | 18 namespace autofill { |
19 | 19 |
20 class AutofillPopupDelegate; | 20 class AutofillPopupDelegate; |
21 class AutofillPopupView; | 21 class AutofillPopupView; |
22 | 22 |
23 // This class is a controller for an AutofillPopupView. It implements | 23 // This class is a controller for an AutofillPopupView. It implements |
24 // AutofillPopupController to allow calls from AutofillPopupView. The | 24 // AutofillPopupController to allow calls from AutofillPopupView. The |
25 // other, public functions are available to its instantiator. | 25 // other, public functions are available to its instantiator. |
26 class AutofillPopupControllerImpl : public AutofillPopupController { | 26 class AutofillPopupControllerImpl : public AutofillPopupController { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // The line that is currently selected by the user. | 190 // The line that is currently selected by the user. |
191 // |kNoSelection| indicates that no line is currently selected. | 191 // |kNoSelection| indicates that no line is currently selected. |
192 int selected_line_; | 192 int selected_line_; |
193 | 193 |
194 base::WeakPtrFactory<AutofillPopupControllerImpl> weak_ptr_factory_; | 194 base::WeakPtrFactory<AutofillPopupControllerImpl> weak_ptr_factory_; |
195 }; | 195 }; |
196 | 196 |
197 } // namespace autofill | 197 } // namespace autofill |
198 | 198 |
199 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ | 199 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ |
OLD | NEW |