Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: chrome/browser/autofill/autofill_interactive_uitest.cc

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <string> 5 #include <string>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/rand_util.h" 12 #include "base/rand_util.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "chrome/browser/autofill/personal_data_manager_factory.h" 18 #include "chrome/browser/autofill/personal_data_manager_factory.h"
19 #include "chrome/browser/chrome_notification_types.h" 19 #include "chrome/browser/chrome_notification_types.h"
20 #include "chrome/browser/infobars/confirm_infobar_delegate.h" 20 #include "chrome/browser/infobars/confirm_infobar_delegate.h"
21 #include "chrome/browser/infobars/infobar.h"
22 #include "chrome/browser/infobars/infobar_service.h" 21 #include "chrome/browser/infobars/infobar_service.h"
23 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/browser/translate/translate_infobar_delegate.h" 23 #include "chrome/browser/translate/translate_infobar_delegate.h"
25 #include "chrome/browser/translate/translate_service.h" 24 #include "chrome/browser/translate/translate_service.h"
26 #include "chrome/browser/translate/translate_tab_helper.h" 25 #include "chrome/browser/translate/translate_tab_helper.h"
27 #include "chrome/browser/ui/browser.h" 26 #include "chrome/browser/ui/browser.h"
28 #include "chrome/browser/ui/browser_window.h" 27 #include "chrome/browser/ui/browser_window.h"
29 #include "chrome/browser/ui/tabs/tab_strip_model.h" 28 #include "chrome/browser/ui/tabs/tab_strip_model.h"
30 #include "chrome/common/render_messages.h" 29 #include "chrome/common/render_messages.h"
31 #include "chrome/test/base/in_process_browser_test.h" 30 #include "chrome/test/base/in_process_browser_test.h"
32 #include "chrome/test/base/test_switches.h" 31 #include "chrome/test/base/test_switches.h"
33 #include "chrome/test/base/ui_test_utils.h" 32 #include "chrome/test/base/ui_test_utils.h"
34 #include "components/autofill/content/browser/content_autofill_driver.h" 33 #include "components/autofill/content/browser/content_autofill_driver.h"
35 #include "components/autofill/core/browser/autofill_manager.h" 34 #include "components/autofill/core/browser/autofill_manager.h"
36 #include "components/autofill/core/browser/autofill_manager_test_delegate.h" 35 #include "components/autofill/core/browser/autofill_manager_test_delegate.h"
37 #include "components/autofill/core/browser/autofill_profile.h" 36 #include "components/autofill/core/browser/autofill_profile.h"
38 #include "components/autofill/core/browser/autofill_test_utils.h" 37 #include "components/autofill/core/browser/autofill_test_utils.h"
39 #include "components/autofill/core/browser/personal_data_manager.h" 38 #include "components/autofill/core/browser/personal_data_manager.h"
40 #include "components/autofill/core/browser/personal_data_manager_observer.h" 39 #include "components/autofill/core/browser/personal_data_manager_observer.h"
41 #include "components/autofill/core/browser/validation.h" 40 #include "components/autofill/core/browser/validation.h"
41 #include "components/infobars/core/infobar.h"
42 #include "content/public/browser/navigation_controller.h" 42 #include "content/public/browser/navigation_controller.h"
43 #include "content/public/browser/notification_observer.h" 43 #include "content/public/browser/notification_observer.h"
44 #include "content/public/browser/notification_registrar.h" 44 #include "content/public/browser/notification_registrar.h"
45 #include "content/public/browser/notification_service.h" 45 #include "content/public/browser/notification_service.h"
46 #include "content/public/browser/render_view_host.h" 46 #include "content/public/browser/render_view_host.h"
47 #include "content/public/browser/render_widget_host.h" 47 #include "content/public/browser/render_widget_host.h"
48 #include "content/public/browser/web_contents.h" 48 #include "content/public/browser/web_contents.h"
49 #include "content/public/test/browser_test_utils.h" 49 #include "content/public/test/browser_test_utils.h"
50 #include "content/public/test/test_renderer_host.h" 50 #include "content/public/test/test_renderer_host.h"
51 #include "content/public/test/test_utils.h" 51 #include "content/public/test/test_utils.h"
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 ASSERT_TRUE(content::ExecuteScript( 1233 ASSERT_TRUE(content::ExecuteScript(
1234 GetRenderViewHost(), 1234 GetRenderViewHost(),
1235 "document.querySelector('input').autocomplete = 'off';")); 1235 "document.querySelector('input').autocomplete = 'off';"));
1236 1236
1237 // Press the down arrow to select the suggestion and attempt to preview the 1237 // Press the down arrow to select the suggestion and attempt to preview the
1238 // autofilled form. 1238 // autofilled form.
1239 SendKeyToPopupAndWait(ui::VKEY_DOWN); 1239 SendKeyToPopupAndWait(ui::VKEY_DOWN);
1240 } 1240 }
1241 1241
1242 } // namespace autofill 1242 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_delegate.cc ('k') | chrome/browser/chrome_quota_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698