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 <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/files/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" |
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1388 ASSERT_TRUE(content::ExecuteScript( | 1388 ASSERT_TRUE(content::ExecuteScript( |
1389 GetRenderViewHost(), | 1389 GetRenderViewHost(), |
1390 "document.querySelector('input').autocomplete = 'off';")); | 1390 "document.querySelector('input').autocomplete = 'off';")); |
1391 | 1391 |
1392 // Press the down arrow to select the suggestion and attempt to preview the | 1392 // Press the down arrow to select the suggestion and attempt to preview the |
1393 // autofilled form. | 1393 // autofilled form. |
1394 SendKeyToPopupAndWait(ui::VKEY_DOWN); | 1394 SendKeyToPopupAndWait(ui::VKEY_DOWN); |
1395 } | 1395 } |
1396 | 1396 |
1397 } // namespace autofill | 1397 } // namespace autofill |
OLD | NEW |