| Index: chrome/browser/android/vr_shell/ui_interface.h
|
| diff --git a/chrome/browser/android/vr_shell/ui_interface.h b/chrome/browser/android/vr_shell/ui_interface.h
|
| index cc825c3f5ad225a6c128357af140a7a821915a89..85b2c86232bdad9ccc3ab84c6d0f691c70e4c48d 100644
|
| --- a/chrome/browser/android/vr_shell/ui_interface.h
|
| +++ b/chrome/browser/android/vr_shell/ui_interface.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_
|
| #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| #include "base/values.h"
|
|
|
| @@ -12,6 +14,8 @@ class GURL;
|
|
|
| namespace vr_shell {
|
|
|
| +class VrOmnibox;
|
| +
|
| class UiCommandHandler {
|
| public:
|
| virtual void SendCommandToUi(const base::Value& value) = 0;
|
| @@ -41,6 +45,10 @@ class UiInterface {
|
| void SetLoadProgress(double progress);
|
| void SetURL(const GURL& url);
|
|
|
| + // Omnibox input and output handling.
|
| + void HandleOmniboxInput(const base::DictionaryValue& input);
|
| + void SetOmniboxSuggestions(std::unique_ptr<base::Value> suggestions);
|
| +
|
| // Called by WebUI when starting VR.
|
| void OnDomContentsLoaded();
|
| void SetUiCommandHandler(UiCommandHandler* handler);
|
| @@ -56,6 +64,8 @@ class UiInterface {
|
| bool loaded_ = false;
|
| base::DictionaryValue updates_;
|
|
|
| + std::unique_ptr<VrOmnibox> omnibox_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(UiInterface);
|
| };
|
|
|
|
|