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

Side by Side Diff: chrome/browser/instant/instant_browsertest.cc

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/stringprintf.h" 6 #include "base/stringprintf.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" 8 #include "chrome/browser/autocomplete/autocomplete_edit_view.h"
9 #include "chrome/browser/browser_list.h" 9 #include "chrome/browser/browser_list.h"
10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
12 #include "chrome/browser/instant/instant_controller.h" 11 #include "chrome/browser/instant/instant_controller.h"
13 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/renderer_host/render_view_host.h" 13 #include "chrome/browser/renderer_host/render_view_host.h"
15 #include "chrome/browser/search_engines/template_url.h" 14 #include "chrome/browser/search_engines/template_url.h"
16 #include "chrome/browser/search_engines/template_url_model.h" 15 #include "chrome/browser/search_engines/template_url_model.h"
17 #include "chrome/browser/tab_contents/tab_contents.h" 16 #include "chrome/browser/tab_contents/tab_contents.h"
18 #include "chrome/browser/ui/browser.h" 17 #include "chrome/browser/ui/browser.h"
19 #include "chrome/browser/ui/omnibox/location_bar.h" 18 #include "chrome/browser/ui/omnibox/location_bar.h"
20 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 19 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Check that the value is reflected and oncancel is called. 231 // Check that the value is reflected and oncancel is called.
233 EXPECT_NO_FATAL_FAILURE(CheckBoolValueFromJavascript( 232 EXPECT_NO_FATAL_FAILURE(CheckBoolValueFromJavascript(
234 true, "window.chrome.sv", contents)); 233 true, "window.chrome.sv", contents));
235 EXPECT_NO_FATAL_FAILURE(CheckStringValueFromJavascript( 234 EXPECT_NO_FATAL_FAILURE(CheckStringValueFromJavascript(
236 "abc", "window.chrome.searchBox.value", contents)); 235 "abc", "window.chrome.searchBox.value", contents));
237 EXPECT_NO_FATAL_FAILURE(CheckBoolValueFromJavascript( 236 EXPECT_NO_FATAL_FAILURE(CheckBoolValueFromJavascript(
238 false, "window.chrome.searchBox.verbatim", contents)); 237 false, "window.chrome.searchBox.verbatim", contents));
239 EXPECT_NO_FATAL_FAILURE(CheckIntValueFromJavascript( 238 EXPECT_NO_FATAL_FAILURE(CheckIntValueFromJavascript(
240 1, "window.oncancelcalls", contents)); 239 1, "window.oncancelcalls", contents));
241 } 240 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698