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

Unified Diff: chrome/common/instant_types.h

Issue 10732002: Upstream rewrite of Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extreme nits. Created 8 years, 5 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/views/omnibox/omnibox_view_win.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/instant_types.h
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h
index 46638f92b879eed307eddf7950f174b7638b51ed..543e7221f789be387bca48d51772bded99afcfaf 100644
--- a/chrome/common/instant_types.h
+++ b/chrome/common/instant_types.h
@@ -5,16 +5,20 @@
#ifndef CHROME_COMMON_INSTANT_TYPES_H_
#define CHROME_COMMON_INSTANT_TYPES_H_
-// Enum describing the ways instant suggest text can be completed.
+#include <string>
+
+// Ways that the Instant suggested text is autocompleted into the omnibox.
enum InstantCompleteBehavior {
- // Complete the suggestion now.
+ // Autocomplete the suggestion immediately.
INSTANT_COMPLETE_NOW,
- // Complete the suggestion after a delay.
+ // Autocomplete the suggestion after a delay.
INSTANT_COMPLETE_DELAYED,
- // Never complete the suggestion.
- INSTANT_COMPLETE_NEVER
+ // Do not autocomplete the suggestion. The suggestion may still be displayed
+ // in the omnibox, but not made a part of the omnibox text by default (e.g.,
+ // by displaying the suggestion as non-highlighted, non-selected gray text).
+ INSTANT_COMPLETE_NEVER,
};
#endif // CHROME_COMMON_INSTANT_TYPES_H_
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_win.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698