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

Unified Diff: chrome/browser/instant/instant_controller.h

Issue 11415292: [Search] No longer reverting omnibox text on instant search (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: indent Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index 3830fa97f29b50fb744aa05a2e806255b5c06458..442d802a4c94d8b2781b8698a48cd64807bef34d 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -81,6 +81,9 @@ class InstantController {
// Returns true if the Instant preview is showing a search results preview.
bool IsPreviewingSearchResults() const;
+ // Returns true if an Instant-extended search is currently being done.
+ bool IsInstantExtendedSearch() const;
+
// If the preview is showing search results, commits the preview, calling
// CommitInstant() on the browser, and returns true. Else, returns false.
bool CommitIfPossible(InstantCommitType type);

Powered by Google App Engine
This is Rietveld 408576698