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/infobars/confirm_infobar_delegate.h" | 8 #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 10 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
11 #include "chrome/common/chrome_notification_types.h" | 11 #include "chrome/common/chrome_notification_types.h" |
12 #include "chrome/test/base/in_process_browser_test.h" | 12 #include "chrome/test/base/in_process_browser_test.h" |
13 #include "chrome/test/base/ui_test_utils.h" | 13 #include "chrome/test/base/ui_test_utils.h" |
14 #include "components/autofill/browser/autofill_common_test.h" | |
15 #include "components/autofill/browser/autofill_external_delegate.h" | |
16 #include "components/autofill/browser/autofill_manager.h" | |
17 #include "components/autofill/browser/autofill_manager_test_delegate.h" | |
18 #include "components/autofill/browser/autofill_profile.h" | |
19 #include "components/autofill/browser/personal_data_manager.h" | |
20 #include "components/autofill/browser/personal_data_manager_observer.h" | |
21 #include "components/autofill/content/browser/autofill_driver_impl.h" | 14 #include "components/autofill/content/browser/autofill_driver_impl.h" |
| 15 #include "components/autofill/core/browser/autofill_common_test.h" |
| 16 #include "components/autofill/core/browser/autofill_external_delegate.h" |
| 17 #include "components/autofill/core/browser/autofill_manager.h" |
| 18 #include "components/autofill/core/browser/autofill_manager_test_delegate.h" |
| 19 #include "components/autofill/core/browser/autofill_profile.h" |
| 20 #include "components/autofill/core/browser/personal_data_manager.h" |
| 21 #include "components/autofill/core/browser/personal_data_manager_observer.h" |
22 #include "content/public/browser/notification_observer.h" | 22 #include "content/public/browser/notification_observer.h" |
23 #include "content/public/browser/notification_registrar.h" | 23 #include "content/public/browser/notification_registrar.h" |
24 #include "content/public/browser/notification_service.h" | 24 #include "content/public/browser/notification_service.h" |
25 #include "content/public/browser/render_view_host.h" | 25 #include "content/public/browser/render_view_host.h" |
26 #include "content/public/browser/web_contents.h" | 26 #include "content/public/browser/web_contents.h" |
27 #include "content/public/test/browser_test_utils.h" | 27 #include "content/public/test/browser_test_utils.h" |
28 #include "content/public/test/test_utils.h" | 28 #include "content/public/test/test_utils.h" |
29 #include "ui/base/keycodes/keyboard_codes.h" | 29 #include "ui/base/keycodes/keyboard_codes.h" |
30 | 30 |
31 using content::RenderViewHost; | 31 using content::RenderViewHost; |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 SendKeyToPopupAndWait(ui::VKEY_DOWN); | 349 SendKeyToPopupAndWait(ui::VKEY_DOWN); |
350 | 350 |
351 // Press tab to accept the autofill suggestions. | 351 // Press tab to accept the autofill suggestions. |
352 SendKeyToPopupAndWait(ui::VKEY_TAB); | 352 SendKeyToPopupAndWait(ui::VKEY_TAB); |
353 | 353 |
354 // The form should be filled. | 354 // The form should be filled. |
355 ExpectFilledTestForm(); | 355 ExpectFilledTestForm(); |
356 } | 356 } |
357 | 357 |
358 } // namespace autofill | 358 } // namespace autofill |
OLD | NEW |