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

Unified Diff: chrome/browser/instant/instant_test_utils.cc

Issue 11889003: Fixing ESC in instant-extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 10 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
« no previous file with comments | « chrome/browser/instant/instant_test_utils.h ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_test_utils.cc
diff --git a/chrome/browser/instant/instant_test_utils.cc b/chrome/browser/instant/instant_test_utils.cc
index 9b9396a7e230a133e4f567194993263b4d00a013..eb288bcef31f7bdcfab38934211325c931b6ccc0 100644
--- a/chrome/browser/instant/instant_test_utils.cc
+++ b/chrome/browser/instant/instant_test_utils.cc
@@ -137,3 +137,11 @@ bool InstantTestBase::CheckVisibilityIs(content::WebContents* contents,
return GetBoolFromJS(contents, "!document.webkitHidden", &actual) &&
actual == expected;
}
+
+bool InstantTestBase::HasUserInputInProgress() {
+ return omnibox()->model()->user_input_in_progress_;
+}
+
+bool InstantTestBase::HasTemporaryText() {
+ return omnibox()->model()->has_temporary_text_;
+}
« no previous file with comments | « chrome/browser/instant/instant_test_utils.h ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698