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

Side by Side Diff: chrome/browser/ui/find_bar/find_bar_host_browsertest.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 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/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/browser/tab_contents/tab_contents_view.h" 12 #include "chrome/browser/tab_contents/tab_contents_view.h"
13 #include "chrome/browser/tabs/tab_strip_model.h" 13 #include "chrome/browser/tabs/tab_strip_model.h"
14 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_navigator.h" 15 #include "chrome/browser/ui/browser_navigator.h"
16 #include "chrome/browser/ui/browser_window.h" 16 #include "chrome/browser/ui/browser_window.h"
17 #include "chrome/browser/ui/find_bar/find_bar.h" 17 #include "chrome/browser/ui/find_bar/find_bar.h"
18 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 18 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
19 #include "chrome/browser/ui/find_bar/find_notification_details.h" 19 #include "chrome/browser/ui/find_bar/find_notification_details.h"
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 1076
1077 TabContents* tab = browser()->GetSelectedTabContents(); 1077 TabContents* tab = browser()->GetSelectedTabContents();
1078 int ordinal = 0; 1078 int ordinal = 0;
1079 FindInPageWchar(tab, L"link", kFwd, kIgnoreCase, &ordinal); 1079 FindInPageWchar(tab, L"link", kFwd, kIgnoreCase, &ordinal);
1080 EXPECT_EQ(ordinal, 1); 1080 EXPECT_EQ(ordinal, 1);
1081 1081
1082 // End the find session, click on the link. 1082 // End the find session, click on the link.
1083 tab->StopFinding(FindBarController::kActivateSelection); 1083 tab->StopFinding(FindBarController::kActivateSelection);
1084 EXPECT_TRUE(ui_test_utils::WaitForNavigationInCurrentTab(browser())); 1084 EXPECT_TRUE(ui_test_utils::WaitForNavigationInCurrentTab(browser()));
1085 } 1085 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/view_id_util_browsertest.mm ('k') | chrome/browser/ui/find_bar/find_bar_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698