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

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

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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) 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 "base/keyboard_codes.h" 5 #include "base/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 "chrome/browser/browser.h" 9 #include "chrome/browser/browser.h"
9 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/find_bar.h" 11 #include "chrome/browser/find_bar.h"
11 #include "chrome/browser/find_bar_controller.h" 12 #include "chrome/browser/find_bar_controller.h"
12 #include "chrome/browser/find_notification_details.h" 13 #include "chrome/browser/find_notification_details.h"
13 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profile.h"
14 #include "chrome/browser/renderer_host/render_view_host.h" 15 #include "chrome/browser/renderer_host/render_view_host.h"
15 #include "chrome/browser/tab_contents/tab_contents.h" 16 #include "chrome/browser/tab_contents/tab_contents.h"
16 #include "chrome/browser/tab_contents/tab_contents_view.h" 17 #include "chrome/browser/tab_contents/tab_contents_view.h"
17 #include "chrome/common/notification_service.h" 18 #include "chrome/common/notification_service.h"
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 1086
1086 TabContents* tab = browser()->GetSelectedTabContents(); 1087 TabContents* tab = browser()->GetSelectedTabContents();
1087 int ordinal = 0; 1088 int ordinal = 0;
1088 FindInPageWchar(tab, L"link", kFwd, kIgnoreCase, &ordinal); 1089 FindInPageWchar(tab, L"link", kFwd, kIgnoreCase, &ordinal);
1089 EXPECT_EQ(ordinal, 1); 1090 EXPECT_EQ(ordinal, 1);
1090 1091
1091 // End the find session, click on the link. 1092 // End the find session, click on the link.
1092 tab->StopFinding(FindBarController::kActivateSelection); 1093 tab->StopFinding(FindBarController::kActivateSelection);
1093 EXPECT_TRUE(ui_test_utils::WaitForNavigationInCurrentTab(browser())); 1094 EXPECT_TRUE(ui_test_utils::WaitForNavigationInCurrentTab(browser()));
1094 } 1095 }
OLDNEW
« no previous file with comments | « chrome/browser/find_backend_unittest.cc ('k') | chrome/browser/geolocation/access_token_store_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698