OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_INSTANT_TYPES_H_ | 5 #ifndef CHROME_COMMON_INSTANT_TYPES_H_ |
6 #define CHROME_COMMON_INSTANT_TYPES_H_ | 6 #define CHROME_COMMON_INSTANT_TYPES_H_ |
7 | 7 |
8 // Enum describing the ways instant suggest text can be completed. | 8 // Ways that the Instant suggested text is autocompleted into the omnibox. |
9 enum InstantCompleteBehavior { | 9 enum InstantCompleteBehavior { |
10 // Complete the suggestion now. | 10 // Autocomplete the suggestion immediately. |
11 INSTANT_COMPLETE_NOW, | 11 INSTANT_COMPLETE_NOW, |
12 | 12 |
13 // Complete the suggestion after a delay. | 13 // Autocomplete the suggestion after a delay. |
14 INSTANT_COMPLETE_DELAYED, | 14 INSTANT_COMPLETE_DELAYED, |
15 | 15 |
16 // Never complete the suggestion. | 16 // Do not autocomplete the suggestion. The suggestion may still be displayed |
17 INSTANT_COMPLETE_NEVER | 17 // in the omnibox, but not made a part of the omnibox text by default (e.g., |
| 18 // by displaying the suggestion as non-highlighted, non-selected gray text). |
| 19 INSTANT_COMPLETE_NEVER, |
18 }; | 20 }; |
19 | 21 |
20 #endif // CHROME_COMMON_INSTANT_TYPES_H_ | 22 #endif // CHROME_COMMON_INSTANT_TYPES_H_ |
OLD | NEW |