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

Unified Diff: chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.h

Issue 2434013002: Implement a means of letting native VR Shell control the HTML UI. (Closed)
Patch Set: Remove use of cr.define() Created 4 years, 2 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/vr_shell/vr_shell_ui_message_handler.h
diff --git a/chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.h b/chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.h
index 36d081170f7dab8bd9bb48ac46da312feb1f0cce..b7aebb1bb51115d8d1da4d1b4513f25f16128a7c 100644
--- a/chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.h
+++ b/chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.h
@@ -22,9 +22,12 @@ class VrShellUIMessageHandler : public content::WebUIMessageHandler {
VrShellUIMessageHandler();
~VrShellUIMessageHandler() override;
+ void SendCommandToUi(const base::Value& value);
+
private:
// content::WebUIMessageHandler:
void RegisterMessages() override;
+ void OnJavascriptAllowed() override;
void HandleDomLoaded(const base::ListValue* args);
void HandleUpdateScene(const base::ListValue* args);
« no previous file with comments | « chrome/browser/resources/vr_shell/vr_shell_ui.js ('k') | chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698