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

Unified Diff: chrome/common/search/search_types.h

Issue 2888553002: Instant: small cleanups (Closed)
Patch Set: . Created 3 years, 7 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/ui/search/search_model_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/search/search_types.h
diff --git a/chrome/common/search/search_types.h b/chrome/common/search/search_types.h
index 9523bcb190de3027ee4f437573bb4593cdb2a486..207fe1ccd747453b41e646d56a1bfa9d79eb2c2a 100644
--- a/chrome/common/search/search_types.h
+++ b/chrome/common/search/search_types.h
@@ -13,10 +13,13 @@ struct SearchMode {
// The default state means anything but the following states.
MODE_DEFAULT,
- // On the NTP page and the NTP is ready to be displayed.
+ // On the NTP, and the user has *not* typed anything into the Omnibox.
MODE_NTP,
// The Omnibox is modified in some way, either on the NTP or not.
+ // TODO(treib): Get rid of this. It's only used to detect the "input in
+ // progress" state for the NTP, which should be done in a less roundabout
+ // way. crbug.com/627747
MODE_SEARCH_SUGGESTIONS,
};
« no previous file with comments | « chrome/browser/ui/search/search_model_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698