Chromium Code Reviews| 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" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "components/autofill/core/browser/autofill_popup_delegate.h" | 13 #include "components/autofill/core/browser/autofill_popup_delegate.h" |
| 14 #include "components/autofill/core/browser/password_autofill_manager.h" | 14 #include "components/autofill/core/browser/password_autofill_manager.h" |
| 15 #include "components/autofill/core/common/form_data.h" | 15 #include "components/autofill/core/common/form_data.h" |
| 16 #include "components/autofill/core/common/form_field_data.h" | 16 #include "components/autofill/core/common/form_field_data.h" |
| 17 #include "components/autofill/core/common/password_form_fill_data.h" | 17 #include "components/autofill/core/common/password_form_fill_data.h" |
| 18 #include "ui/gfx/rect.h" | 18 #include "ui/gfx/rect.h" |
| 19 | 19 |
| 20 namespace gfx { | 20 namespace gfx { |
| 21 class Rect; | 21 class Rect; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace content { | |
|
blundell
2013/11/20 20:32:43
Kill.
jif-google
2013/11/21 16:46:02
I erroneously removed this forward declaration in
| |
| 25 class WebContents; | |
| 26 } | |
| 27 | |
| 24 namespace autofill { | 28 namespace autofill { |
| 25 | 29 |
| 26 class AutofillDriver; | 30 class AutofillDriver; |
| 27 class AutofillManager; | 31 class AutofillManager; |
| 28 | 32 |
| 29 // TODO(csharp): A lot of the logic in this class is copied from autofillagent. | 33 // TODO(csharp): A lot of the logic in this class is copied from autofillagent. |
| 30 // Once Autofill is moved out of WebKit this class should be the only home for | 34 // Once Autofill is moved out of WebKit this class should be the only home for |
| 31 // this logic. See http://crbug.com/51644 | 35 // this logic. See http://crbug.com/51644 |
| 32 | 36 |
| 33 // Delegate for in-browser Autocomplete and Autofill display and selection. | 37 // Delegate for in-browser Autocomplete and Autofill display and selection. |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 164 std::vector<base::string16> data_list_labels_; | 168 std::vector<base::string16> data_list_labels_; |
| 165 | 169 |
| 166 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; | 170 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; |
| 167 | 171 |
| 168 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); | 172 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); |
| 169 }; | 173 }; |
| 170 | 174 |
| 171 } // namespace autofill | 175 } // namespace autofill |
| 172 | 176 |
| 173 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 177 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ |
| OLD | NEW |