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

Side by Side Diff: chrome/browser/ui/search/instant_test_utils.h

Issue 17413017: InstantExtended: Don't create overlay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 return browser_->window()->GetLocationBar()->GetLocationEntry(); 81 return browser_->window()->GetLocationBar()->GetLocationEntry();
82 } 82 }
83 83
84 const GURL& instant_url() const { return instant_url_; } 84 const GURL& instant_url() const { return instant_url_; }
85 85
86 net::SpawnedTestServer& https_test_server() { return https_test_server_; } 86 net::SpawnedTestServer& https_test_server() { return https_test_server_; }
87 87
88 void KillInstantRenderView(); 88 void KillInstantRenderView();
89 89
90 void FocusOmnibox(); 90 void FocusOmnibox();
91 void FocusOmniboxAndWaitForInstantOverlaySupport(); 91 void FocusOmniboxAndWaitForInstantNTPSupport();
92 void FocusOmniboxAndWaitForInstantOverlayAndNTPSupport();
93 92
94 void SetOmniboxText(const std::string& text); 93 void SetOmniboxText(const std::string& text);
95 bool SetOmniboxTextAndWaitForOverlayToShow(const std::string& text); 94 bool SetOmniboxTextAndWaitForOverlayToShow(const std::string& text);
96 void SetOmniboxTextAndWaitForSuggestion(const std::string& text); 95 void SetOmniboxTextAndWaitForSuggestion(const std::string& text);
97 96
98 void PressEnterAndWaitForNavigation(); 97 void PressEnterAndWaitForNavigation();
99 98
100 bool GetBoolFromJS(content::WebContents* contents, 99 bool GetBoolFromJS(content::WebContents* contents,
101 const std::string& script, 100 const std::string& script,
102 bool* result) WARN_UNUSED_RESULT; 101 bool* result) WARN_UNUSED_RESULT;
(...skipping 27 matching lines...) Expand all
130 129
131 Browser* browser_; 130 Browser* browser_;
132 131
133 // HTTPS Testing server, started on demand. 132 // HTTPS Testing server, started on demand.
134 net::SpawnedTestServer https_test_server_; 133 net::SpawnedTestServer https_test_server_;
135 134
136 DISALLOW_COPY_AND_ASSIGN(InstantTestBase); 135 DISALLOW_COPY_AND_ASSIGN(InstantTestBase);
137 }; 136 };
138 137
139 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ 138 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc ('k') | chrome/browser/ui/search/instant_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698