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

Side by Side Diff: chrome/browser/ui/webui/omnibox/omnibox.mojom

Issue 882883006: Remove Client= relationship in omnibox.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // The structures here roughly mirror those from autocomplete. 5 // The structures here roughly mirror those from autocomplete.
6 6
7 struct AutocompleteAdditionalInfo { 7 struct AutocompleteAdditionalInfo {
8 string key; 8 string key;
9 string value; 9 string value;
10 }; 10 };
(...skipping 29 matching lines...) Expand all
40 struct OmniboxResultMojo { 40 struct OmniboxResultMojo {
41 bool done; 41 bool done;
42 // Time delta since the request was started, in milliseconds. 42 // Time delta since the request was started, in milliseconds.
43 int32 time_since_omnibox_started_ms; 43 int32 time_since_omnibox_started_ms;
44 string host; 44 string host;
45 bool is_typed_host; 45 bool is_typed_host;
46 array<AutocompleteMatchMojo> combined_results; 46 array<AutocompleteMatchMojo> combined_results;
47 array<AutocompleteResultsForProviderMojo> results_by_provider; 47 array<AutocompleteResultsForProviderMojo> results_by_provider;
48 }; 48 };
49 49
50 [Client=OmniboxPage]
51 interface OmniboxUIHandlerMojo { 50 interface OmniboxUIHandlerMojo {
52 StartOmniboxQuery(string input_string, 51 StartOmniboxQuery(string input_string,
53 int32 cursor_position, 52 int32 cursor_position,
54 bool prevent_inline_autocomplete, 53 bool prevent_inline_autocomplete,
55 bool prefer_keyword, 54 bool prefer_keyword,
56 int32 page_classification); 55 int32 page_classification,
56 OmniboxPage page);
57 }; 57 };
58 58
59 interface OmniboxPage { 59 interface OmniboxPage {
60 HandleNewAutocompleteResult(OmniboxResultMojo result); 60 HandleNewAutocompleteResult(OmniboxResultMojo result);
61 }; 61 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/omnibox/omnibox.js ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698