OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/keyboard_codes.h" | 5 #include "app/keyboard_codes.h" |
6 #include "base/process_util.h" | 6 #include "base/process_util.h" |
7 #include "base/string_number_conversions.h" | 7 #include "base/string_number_conversions.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/tab_contents/tab_contents.h" | 10 #include "chrome/browser/tab_contents/tab_contents.h" |
11 #include "chrome/browser/tabs/tab_strip_model.h" | 11 #include "chrome/browser/tabs/tab_strip_model.h" |
12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/browser/ui/find_bar/find_bar_controller.h" | 13 #include "chrome/browser/ui/find_bar/find_bar_controller.h" |
14 #include "chrome/browser/views/find_bar_host.h" | 14 #include "chrome/browser/ui/view_ids.h" |
15 #include "chrome/browser/views/frame/browser_view.h" | 15 #include "chrome/browser/ui/views/find_bar_host.h" |
16 #include "chrome/browser/view_ids.h" | 16 #include "chrome/browser/ui/views/frame/browser_view.h" |
17 #include "chrome/test/in_process_browser_test.h" | 17 #include "chrome/test/in_process_browser_test.h" |
18 #include "chrome/test/ui_test_utils.h" | 18 #include "chrome/test/ui_test_utils.h" |
19 #include "net/test/test_server.h" | 19 #include "net/test/test_server.h" |
20 #include "views/focus/focus_manager.h" | 20 #include "views/focus/focus_manager.h" |
21 #include "views/view.h" | 21 #include "views/view.h" |
22 | 22 |
23 #if defined(OS_WIN) | 23 #if defined(OS_WIN) |
24 #include <windows.h> | 24 #include <windows.h> |
25 #include <Psapi.h> | 25 #include <Psapi.h> |
26 #endif | 26 #endif |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 ASSERT_TRUE(ui_test_utils::SendKeyPressSync( | 243 ASSERT_TRUE(ui_test_utils::SendKeyPressSync( |
244 browser(), app::VKEY_F3, false, false, false, false)); | 244 browser(), app::VKEY_F3, false, false, false, false)); |
245 | 245 |
246 // After the Find box has been reopened, it should still have no prepopulate | 246 // After the Find box has been reopened, it should still have no prepopulate |
247 // value. | 247 // value. |
248 Checkpoint("GetFindBarText", start_time); | 248 Checkpoint("GetFindBarText", start_time); |
249 EXPECT_EQ(string16(), GetFindBarText()); | 249 EXPECT_EQ(string16(), GetFindBarText()); |
250 | 250 |
251 Checkpoint("Test completed", start_time); | 251 Checkpoint("Test completed", start_time); |
252 } | 252 } |
OLD | NEW |