OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "base/memory/ref_counted.h" | 5 #include "base/memory/ref_counted.h" |
6 #include "base/memory/scoped_ptr.h" | 6 #include "base/memory/scoped_ptr.h" |
7 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 7 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 8 #include "chrome/browser/chrome_notification_types.h" |
8 #include "chrome/browser/infobars/confirm_infobar_delegate.h" | 9 #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
9 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 12 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
12 #include "chrome/common/chrome_notification_types.h" | |
13 #include "chrome/test/base/in_process_browser_test.h" | 13 #include "chrome/test/base/in_process_browser_test.h" |
14 #include "chrome/test/base/ui_test_utils.h" | 14 #include "chrome/test/base/ui_test_utils.h" |
15 #include "components/autofill/content/browser/autofill_driver_impl.h" | 15 #include "components/autofill/content/browser/autofill_driver_impl.h" |
16 #include "components/autofill/core/browser/autofill_common_test.h" | 16 #include "components/autofill/core/browser/autofill_common_test.h" |
17 #include "components/autofill/core/browser/autofill_external_delegate.h" | 17 #include "components/autofill/core/browser/autofill_external_delegate.h" |
18 #include "components/autofill/core/browser/autofill_manager.h" | 18 #include "components/autofill/core/browser/autofill_manager.h" |
19 #include "components/autofill/core/browser/autofill_manager_test_delegate.h" | 19 #include "components/autofill/core/browser/autofill_manager_test_delegate.h" |
20 #include "components/autofill/core/browser/autofill_profile.h" | 20 #include "components/autofill/core/browser/autofill_profile.h" |
21 #include "components/autofill/core/browser/personal_data_manager.h" | 21 #include "components/autofill/core/browser/personal_data_manager.h" |
22 #include "components/autofill/core/browser/personal_data_manager_observer.h" | 22 #include "components/autofill/core/browser/personal_data_manager_observer.h" |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 SendKeyToPopupAndWait(ui::VKEY_DOWN); | 351 SendKeyToPopupAndWait(ui::VKEY_DOWN); |
352 | 352 |
353 // Press tab to accept the autofill suggestions. | 353 // Press tab to accept the autofill suggestions. |
354 SendKeyToPopupAndWait(ui::VKEY_TAB); | 354 SendKeyToPopupAndWait(ui::VKEY_TAB); |
355 | 355 |
356 // The form should be filled. | 356 // The form should be filled. |
357 ExpectFilledTestForm(); | 357 ExpectFilledTestForm(); |
358 } | 358 } |
359 | 359 |
360 } // namespace autofill | 360 } // namespace autofill |
OLD | NEW |