OLD | NEW |
1 // Copyright (c) 2012 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 // Stores information about an omnibox interaction. | 5 // Stores information about an omnibox interaction. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 UNKNOWN_PROVIDER = 0; // Unknown provider (should not reach here) | 133 UNKNOWN_PROVIDER = 0; // Unknown provider (should not reach here) |
134 HISTORY_URL = 1; // URLs in history, or user-typed URLs | 134 HISTORY_URL = 1; // URLs in history, or user-typed URLs |
135 HISTORY_CONTENTS = 2; // Matches for page contents of pages in history | 135 HISTORY_CONTENTS = 2; // Matches for page contents of pages in history |
136 HISTORY_QUICK = 3; // Matches for recently or frequently visited pages | 136 HISTORY_QUICK = 3; // Matches for recently or frequently visited pages |
137 // in history | 137 // in history |
138 SEARCH = 4; // Search suggestions for the default search engine | 138 SEARCH = 4; // Search suggestions for the default search engine |
139 KEYWORD = 5; // Keyword-triggered searches | 139 KEYWORD = 5; // Keyword-triggered searches |
140 BUILTIN = 6; // Built-in URLs, such as chrome://version | 140 BUILTIN = 6; // Built-in URLs, such as chrome://version |
141 SHORTCUTS = 7; // Recently selected omnibox suggestions | 141 SHORTCUTS = 7; // Recently selected omnibox suggestions |
142 EXTENSION_APPS = 8; // Custom suggestions from extensions and/or apps | 142 EXTENSION_APPS = 8; // Custom suggestions from extensions and/or apps |
143 CONTACT = 9; // The user's contacts | 143 CONTACT = 9; // DEPRECATED. The user's contacts |
144 BOOKMARK = 10; // The user's bookmarks | 144 BOOKMARK = 10; // The user's bookmarks |
145 ZERO_SUGGEST = 11; // Suggestions based on the current page | 145 ZERO_SUGGEST = 11; // Suggestions based on the current page |
146 // This enum value is currently only used by Android GSA. It represents | 146 // This enum value is currently only used by Android GSA. It represents |
147 // a suggestion from the phone. | 147 // a suggestion from the phone. |
148 ON_DEVICE = 12; | 148 ON_DEVICE = 12; |
149 } | 149 } |
150 | 150 |
151 // The result set displayed on the completion popup | 151 // The result set displayed on the completion popup |
152 // Next tag: 6 | 152 // Next tag: 6 |
153 message Suggestion { | 153 message Suggestion { |
(...skipping 17 matching lines...) Expand all Loading... |
171 // default engine) | 171 // default engine) |
172 SEARCH_HISTORY = 8; // A past search (with the default engine) | 172 SEARCH_HISTORY = 8; // A past search (with the default engine) |
173 // containing the input | 173 // containing the input |
174 SEARCH_SUGGEST = 9; // A suggested search (with the default | 174 SEARCH_SUGGEST = 9; // A suggested search (with the default |
175 // engine) query that doesn't fall into one of | 175 // engine) query that doesn't fall into one of |
176 // the more specific suggestion categories | 176 // the more specific suggestion categories |
177 // below. | 177 // below. |
178 SEARCH_OTHER_ENGINE = 10; // A search with a non-default engine | 178 SEARCH_OTHER_ENGINE = 10; // A search with a non-default engine |
179 EXTENSION_APP = 11; // An Extension App with a title/url that | 179 EXTENSION_APP = 11; // An Extension App with a title/url that |
180 // contains the input | 180 // contains the input |
181 CONTACT = 12; // One of the user's contacts | 181 CONTACT = 12; // DEPRECATED. One of the user's contacts |
182 BOOKMARK_TITLE = 13; // A bookmark whose title contains the input. | 182 BOOKMARK_TITLE = 13; // A bookmark whose title contains the input. |
183 SEARCH_SUGGEST_ENTITY = 14; // A suggested search for an entity. | 183 SEARCH_SUGGEST_ENTITY = 14; // A suggested search for an entity. |
184 SEARCH_SUGGEST_INFINITE = 15; // A suggested search to complete the tail | 184 SEARCH_SUGGEST_INFINITE = 15; // A suggested search to complete the tail |
185 // of the query. | 185 // of the query. |
186 SEARCH_SUGGEST_PERSONALIZED = 16; // A personalized suggested search. | 186 SEARCH_SUGGEST_PERSONALIZED = 16; // A personalized suggested search. |
187 SEARCH_SUGGEST_PROFILE = 17; // A personalized suggested search for a | 187 SEARCH_SUGGEST_PROFILE = 17; // A personalized suggested search for a |
188 // Google+ profile. | 188 // Google+ profile. |
189 APP_RESULT = 18; // Result from an installed app | 189 APP_RESULT = 18; // Result from an installed app |
190 // (eg: a gmail email). | 190 // (eg: a gmail email). |
191 // Used by Android GSA for on-device | 191 // Used by Android GSA for on-device |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // See AutocompleteController::ResetSession() for more details on the | 235 // See AutocompleteController::ResetSession() for more details on the |
236 // definition of a session. | 236 // definition of a session. |
237 // See chrome/browser/autocomplete/search_provider.cc for a specific usage | 237 // See chrome/browser/autocomplete/search_provider.cc for a specific usage |
238 // example. | 238 // example. |
239 repeated fixed32 field_trial_triggered_in_session = 4; | 239 repeated fixed32 field_trial_triggered_in_session = 4; |
240 } | 240 } |
241 // A list of diagnostic information about each provider. Providers | 241 // A list of diagnostic information about each provider. Providers |
242 // will appear at most once in this list. | 242 // will appear at most once in this list. |
243 repeated ProviderInfo provider_info = 12; | 243 repeated ProviderInfo provider_info = 12; |
244 } | 244 } |
OLD | NEW |