| 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" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "chrome/browser/autofill/password_autofill_manager.h" | 12 #include "chrome/browser/autofill/password_autofill_manager.h" |
| 13 #include "chrome/browser/ui/tab_contents/tab_contents.h" | 13 #include "chrome/browser/ui/tab_contents/tab_contents.h" |
| 14 #include "webkit/forms/form_data.h" | 14 #include "webkit/forms/form_data.h" |
| 15 #include "webkit/forms/form_field.h" | 15 #include "webkit/forms/form_field.h" |
| 16 #include "webkit/forms/password_form_dom_manager.h" | 16 #include "webkit/forms/password_form_dom_manager.h" |
| 17 | 17 |
| 18 class AutofillManager; | 18 class AutofillManager; |
| 19 | 19 |
| 20 namespace content { |
| 21 class WebContents; |
| 22 } |
| 23 |
| 20 namespace gfx { | 24 namespace gfx { |
| 21 class Rect; | 25 class Rect; |
| 22 } | 26 } |
| 23 | 27 |
| 24 namespace content { | 28 namespace content { |
| 25 class WebContents; | 29 class WebContents; |
| 26 } | 30 } |
| 27 | 31 |
| 28 // TODO(csharp): A lot of the logic in this class is copied from autofillagent. | 32 // TODO(csharp): A lot of the logic in this class is copied from autofillagent. |
| 29 // Once Autofill is moved out of WebKit this class should be the only home for | 33 // Once Autofill is moved out of WebKit this class should be the only home for |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 // The current data list values. | 199 // The current data list values. |
| 196 std::vector<string16> data_list_values_; | 200 std::vector<string16> data_list_values_; |
| 197 std::vector<string16> data_list_labels_; | 201 std::vector<string16> data_list_labels_; |
| 198 std::vector<string16> data_list_icons_; | 202 std::vector<string16> data_list_icons_; |
| 199 std::vector<int> data_list_unique_ids_; | 203 std::vector<int> data_list_unique_ids_; |
| 200 | 204 |
| 201 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); | 205 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); |
| 202 }; | 206 }; |
| 203 | 207 |
| 204 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_H_ | 208 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_EXTERNAL_DELEGATE_H_ |
| OLD | NEW |