| Index: chrome/browser/resources/vr_shell/vr_shell_ui_api.js
|
| diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui_api.js b/chrome/browser/resources/vr_shell/vr_shell_ui_api.js
|
| index bc1709cd4bd3ff9a34600aa25d5b4e42db934e23..0a91d5955c565242b45330aa2c53dd3367706fd7 100644
|
| --- a/chrome/browser/resources/vr_shell/vr_shell_ui_api.js
|
| +++ b/chrome/browser/resources/vr_shell/vr_shell_ui_api.js
|
| @@ -66,6 +66,9 @@ api.Action = {
|
| 'ZOOM_OUT': 3,
|
| 'ZOOM_IN': 4,
|
| 'RELOAD_UI': 5,
|
| + 'KEY_EVENT': 6,
|
| + 'LOAD_URL': 7,
|
| + 'OMNIBOX_CONTENT': 8,
|
| };
|
|
|
| /**
|
| @@ -82,9 +85,10 @@ api.Mode = {
|
| /**
|
| * Triggers an Action.
|
| * @param {api.Action} action
|
| + * @param {Object} parameters
|
| */
|
| -api.doAction = function(action) {
|
| - chrome.send('doAction', [action]);
|
| +api.doAction = function(action, parameters) {
|
| + chrome.send('doAction', [action, parameters]);
|
| };
|
|
|
| /**
|
|
|