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

Side by Side Diff: chrome/browser/ui/views/find_bar_host_interactive_uitest.cc

Issue 5046002: Cleanup: Include browser.h -> ui/browser.h [Part 2]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | chrome/browser/ui/views/first_run_bubble.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/string_util.h" 6 #include "base/string_util.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/browser.h"
9 #include "chrome/browser/find_bar_controller.h" 8 #include "chrome/browser/find_bar_controller.h"
10 #include "chrome/browser/tab_contents/tab_contents.h" 9 #include "chrome/browser/tab_contents/tab_contents.h"
11 #include "chrome/browser/tabs/tab_strip_model.h" 10 #include "chrome/browser/tabs/tab_strip_model.h"
11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/views/find_bar_host.h" 12 #include "chrome/browser/views/find_bar_host.h"
13 #include "chrome/browser/views/frame/browser_view.h" 13 #include "chrome/browser/views/frame/browser_view.h"
14 #include "chrome/browser/view_ids.h" 14 #include "chrome/browser/view_ids.h"
15 #include "chrome/test/in_process_browser_test.h" 15 #include "chrome/test/in_process_browser_test.h"
16 #include "chrome/test/ui_test_utils.h" 16 #include "chrome/test/ui_test_utils.h"
17 #include "net/test/test_server.h" 17 #include "net/test/test_server.h"
18 #include "views/focus/focus_manager.h" 18 #include "views/focus/focus_manager.h"
19 #include "views/view.h" 19 #include "views/view.h"
20 20
21 namespace { 21 namespace {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 browser(), app::VKEY_ESCAPE, false, false, false, false)); 168 browser(), app::VKEY_ESCAPE, false, false, false, false));
169 169
170 // Press F3 to trigger FindNext. 170 // Press F3 to trigger FindNext.
171 ASSERT_TRUE(ui_test_utils::SendKeyPressSync( 171 ASSERT_TRUE(ui_test_utils::SendKeyPressSync(
172 browser(), app::VKEY_F3, false, false, false, false)); 172 browser(), app::VKEY_F3, false, false, false, false));
173 173
174 // After the Find box has been reopened, it should still have no prepopulate 174 // After the Find box has been reopened, it should still have no prepopulate
175 // value. 175 // value.
176 EXPECT_EQ(string16(), GetFindBarText()); 176 EXPECT_EQ(string16(), GetFindBarText());
177 } 177 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | chrome/browser/ui/views/first_run_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698