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

Unified Diff: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h

Issue 882883006: Remove Client= relationship in omnibox.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
index 81763a1ed437221f58b151fe84764f2a62cce640..c60b7b272a26e6c6f82f081459885f3747f87063 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
@@ -42,7 +42,8 @@ class OmniboxUIHandler : public AutocompleteControllerDelegate,
int32_t cursor_position,
bool prevent_inline_autocomplete,
bool prefer_keyword,
- int32_t page_classification) override;
+ int32_t page_classification,
+ OmniboxPagePtr page) override;
private:
// Looks up whether the hostname is a typed host (i.e., has received
@@ -66,6 +67,9 @@ class OmniboxUIHandler : public AutocompleteControllerDelegate,
// The input used when starting the AutocompleteController.
AutocompleteInput input_;
+ // Handle back to the page by which we can pass results.
+ OmniboxPagePtr page_;
+
// The Profile* handed to us in our constructor.
Profile* profile_;
« no previous file with comments | « chrome/browser/ui/webui/omnibox/omnibox.mojom ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698