OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // Insert the data list values at the start of the given list, including | 110 // Insert the data list values at the start of the given list, including |
111 // any required separators. | 111 // any required separators. |
112 void InsertDataListValues(std::vector<base::string16>* values, | 112 void InsertDataListValues(std::vector<base::string16>* values, |
113 std::vector<base::string16>* labels, | 113 std::vector<base::string16>* labels, |
114 std::vector<base::string16>* icons, | 114 std::vector<base::string16>* icons, |
115 std::vector<int>* unique_ids); | 115 std::vector<int>* unique_ids); |
116 | 116 |
117 #if defined(OS_MACOSX) && !defined(OS_IOS) | 117 #if defined(OS_MACOSX) && !defined(OS_IOS) |
118 // Pings the renderer. | 118 // Pings the renderer. |
119 void PingRenderer(); | 119 void PingRenderer(); |
120 #endif | 120 #endif // defined(OS_MACOSX) && !defined(OS_IOS) |
121 | 121 |
122 AutofillManager* manager_; // weak. | 122 AutofillManager* manager_; // weak. |
123 | 123 |
124 // Provides driver-level context to the shared code of the component. Must | 124 // Provides driver-level context to the shared code of the component. Must |
125 // outlive this object. | 125 // outlive this object. |
126 AutofillDriver* driver_; // weak | 126 AutofillDriver* driver_; // weak |
127 | 127 |
128 // The ID of the last request sent for form field Autofill. Used to ignore | 128 // The ID of the last request sent for form field Autofill. Used to ignore |
129 // out of date responses. | 129 // out of date responses. |
130 int query_id_; | 130 int query_id_; |
(...skipping 20 matching lines...) Expand all Loading... |
151 std::vector<base::string16> data_list_labels_; | 151 std::vector<base::string16> data_list_labels_; |
152 | 152 |
153 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; | 153 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; |
154 | 154 |
155 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); | 155 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); |
156 }; | 156 }; |
157 | 157 |
158 } // namespace autofill | 158 } // namespace autofill |
159 | 159 |
160 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 160 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ |
OLD | NEW |