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/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 10 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
11 #include "chrome/test/base/testing_profile.h" | 11 #include "chrome/test/base/testing_profile.h" |
12 #include "components/autofill/browser/autofill_manager.h" | 12 #include "components/autofill/browser/autofill_manager.h" |
13 #include "components/autofill/browser/test_autofill_driver.h" | 13 #include "components/autofill/browser/test_autofill_driver.h" |
14 #include "components/autofill/browser/test_autofill_external_delegate.h" | 14 #include "components/autofill/browser/test_autofill_external_delegate.h" |
15 #include "components/autofill/browser/test_autofill_manager_delegate.h" | 15 #include "components/autofill/browser/test_autofill_manager_delegate.h" |
16 #include "components/autofill/common/form_data.h" | 16 #include "components/autofill/core/common/form_data.h" |
17 #include "components/autofill/common/form_field_data.h" | 17 #include "components/autofill/core/common/form_field_data.h" |
18 #include "components/autofill/common/password_form_fill_data.h" | 18 #include "components/autofill/core/common/password_form_fill_data.h" |
19 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" |
22 #include "ui/gfx/rect.h" | 22 #include "ui/gfx/rect.h" |
23 | 23 |
24 using testing::_; | 24 using testing::_; |
25 using WebKit::WebAutofillClient; | 25 using WebKit::WebAutofillClient; |
26 | 26 |
27 namespace autofill { | 27 namespace autofill { |
28 | 28 |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 EXPECT_CALL(manager_delegate_, HideAutofillPopup()); | 356 EXPECT_CALL(manager_delegate_, HideAutofillPopup()); |
357 | 357 |
358 external_delegate_->OnSuggestionsReturned(kQueryId, | 358 external_delegate_->OnSuggestionsReturned(kQueryId, |
359 autofill_items, | 359 autofill_items, |
360 autofill_items, | 360 autofill_items, |
361 autofill_items, | 361 autofill_items, |
362 autofill_ids); | 362 autofill_ids); |
363 } | 363 } |
364 | 364 |
365 } // namespace autofill | 365 } // namespace autofill |
OLD | NEW |