| 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 #include <vector> | 5 #include <vector> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 2857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2868 AutofillManager* autofill_manager) | 2868 AutofillManager* autofill_manager) |
| 2869 : AutofillExternalDelegate(wrapper, autofill_manager) {} | 2869 : AutofillExternalDelegate(wrapper, autofill_manager) {} |
| 2870 virtual ~MockAutofillExternalDelegate() {} | 2870 virtual ~MockAutofillExternalDelegate() {} |
| 2871 | 2871 |
| 2872 MOCK_METHOD5(OnQuery, void(int query_id, | 2872 MOCK_METHOD5(OnQuery, void(int query_id, |
| 2873 const webkit::forms::FormData& form, | 2873 const webkit::forms::FormData& form, |
| 2874 const webkit::forms::FormField& field, | 2874 const webkit::forms::FormField& field, |
| 2875 const gfx::Rect& bounds, | 2875 const gfx::Rect& bounds, |
| 2876 bool display_warning)); | 2876 bool display_warning)); |
| 2877 | 2877 |
| 2878 virtual void HideAutofillPopup() OVERRIDE {} | 2878 virtual void HideAutofillPopupInternal() OVERRIDE {} |
| 2879 | 2879 |
| 2880 virtual void ApplyAutofillSuggestions( | 2880 virtual void ApplyAutofillSuggestions( |
| 2881 const std::vector<string16>& autofill_values, | 2881 const std::vector<string16>& autofill_values, |
| 2882 const std::vector<string16>& autofill_labels, | 2882 const std::vector<string16>& autofill_labels, |
| 2883 const std::vector<string16>& autofill_icons, | 2883 const std::vector<string16>& autofill_icons, |
| 2884 const std::vector<int>& autofill_unique_ids, | 2884 const std::vector<int>& autofill_unique_ids, |
| 2885 int separator_index) OVERRIDE {} | 2885 int separator_index) OVERRIDE {} |
| 2886 | 2886 |
| 2887 virtual void OnQueryPlatformSpecific(int query_id, | 2887 virtual void OnQueryPlatformSpecific(int query_id, |
| 2888 const webkit::forms::FormData& form, | 2888 const webkit::forms::FormData& form, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2929 | 2929 |
| 2930 AutofillManager* autofill_manager = contents_wrapper()->autofill_manager(); | 2930 AutofillManager* autofill_manager = contents_wrapper()->autofill_manager(); |
| 2931 EXPECT_TRUE(autofill_manager->external_delegate()); | 2931 EXPECT_TRUE(autofill_manager->external_delegate()); |
| 2932 | 2932 |
| 2933 AutocompleteHistoryManager* autocomplete_history_manager = | 2933 AutocompleteHistoryManager* autocomplete_history_manager = |
| 2934 contents_wrapper()->autocomplete_history_manager(); | 2934 contents_wrapper()->autocomplete_history_manager(); |
| 2935 EXPECT_TRUE(autocomplete_history_manager->external_delegate()); | 2935 EXPECT_TRUE(autocomplete_history_manager->external_delegate()); |
| 2936 } | 2936 } |
| 2937 | 2937 |
| 2938 #endif // OS_ANDROID | 2938 #endif // OS_ANDROID |
| OLD | NEW |