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

Unified Diff: trunk/src/chrome/browser/ui/search/instant_test_utils.h

Issue 135903002: Revert 244407 "InstantExtended: remove dead code related to the ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/ui/search/instant_test_utils.h
===================================================================
--- trunk/src/chrome/browser/ui/search/instant_test_utils.h (revision 244428)
+++ trunk/src/chrome/browser/ui/search/instant_test_utils.h (working copy)
@@ -39,8 +39,7 @@
protected:
void SetupInstant(Browser* browser);
- void Init(const GURL& instant_url, const GURL& ntp_url,
- bool init_suggestions_url);
+ void Init(const GURL& instant_url, bool init_suggestions_url);
void SetInstantURL(const std::string& url);
@@ -67,6 +66,7 @@
void KillInstantRenderView();
void FocusOmnibox();
+ void FocusOmniboxAndWaitForInstantNTPSupport();
void SetOmniboxText(const std::string& text);
@@ -81,6 +81,7 @@
bool GetStringFromJS(content::WebContents* contents,
const std::string& script,
std::string* result) WARN_UNUSED_RESULT;
+ bool ExecuteScript(const std::string& script) WARN_UNUSED_RESULT;
bool CheckVisibilityIs(content::WebContents* contents,
bool expected) WARN_UNUSED_RESULT;
@@ -98,7 +99,6 @@
private:
GURL instant_url_;
- GURL ntp_url_;
Browser* browser_;
« no previous file with comments | « trunk/src/chrome/browser/ui/search/instant_page_unittest.cc ('k') | trunk/src/chrome/browser/ui/search/instant_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698