Chromium Code Reviews| 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_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_H_ | 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 179 FormData autofill_query_form_; | 179 FormData autofill_query_form_; |
| 180 FormFieldData autofill_query_field_; | 180 FormFieldData autofill_query_field_; |
| 181 | 181 |
| 182 // Should we display a warning if Autofill is disabled? | 182 // Should we display a warning if Autofill is disabled? |
| 183 bool display_warning_if_disabled_; | 183 bool display_warning_if_disabled_; |
| 184 | 184 |
| 185 // Have we already shown Autofill suggestions for the field the user is | 185 // Have we already shown Autofill suggestions for the field the user is |
| 186 // currently editing? Used to keep track of state for metrics logging. | 186 // currently editing? Used to keep track of state for metrics logging. |
| 187 bool has_shown_autofill_popup_for_current_edit_; | 187 bool has_shown_autofill_popup_for_current_edit_; |
| 188 | 188 |
| 189 // The RenderViewHost that this object has been registered with as a | |
| 190 // keyboard listener. | |
| 191 content::RenderViewHost* registered_keyboard_listener_with_; | |
|
Ilya Sherman
2013/02/13 21:58:12
If this is only needed for tests, then you should
csharp
2013/02/13 22:16:04
I'm not if this is only needed for tests. It was o
Ilya Sherman
2013/02/14 06:19:18
As far as I understand, it really shouldn't be pos
Ilya Sherman
2013/02/15 05:57:55
After digging through the WebContents code a bunch
csharp
2013/02/15 14:52:27
Ok, I revert to this handling and file a bug to be
| |
| 192 | |
| 189 // The current data list values. | 193 // The current data list values. |
| 190 std::vector<string16> data_list_values_; | 194 std::vector<string16> data_list_values_; |
| 191 std::vector<string16> data_list_labels_; | 195 std::vector<string16> data_list_labels_; |
| 192 std::vector<string16> data_list_icons_; | 196 std::vector<string16> data_list_icons_; |
| 193 std::vector<int> data_list_unique_ids_; | 197 std::vector<int> data_list_unique_ids_; |
| 194 | 198 |
| 195 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); | 199 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); |
| 196 }; | 200 }; |
| 197 | 201 |
| 198 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_H_ | 202 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_H_ |
| OLD | NEW |