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_; |