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

Issue 2647053002: Add initial VR interactive omnibox. (Closed)

Created:
3 years, 11 months ago by cjgrant
Modified:
3 years, 10 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add initial VR interactive omnibox. - It depends on the HTML-based virtual keyboard. - It can accept URL text entry and trigger navigation. - It offers suggestions based on text entered. - It allows navigation from suggestions. - It is NOT styled well. - It is NOT yet enabled in any mode. - It is NOT yet complete in any way. BUG=641508 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2647053002 Cr-Commit-Position: refs/heads/master@{#447086} Committed: https://chromium.googlesource.com/chromium/src/+/f0ef9a78b5c8879e904ea51c02fbb3e7a36af600

Patch Set 1 #

Total comments: 35

Patch Set 2 : Address comments. #

Patch Set 3 : More fixes. #

Patch Set 4 : Remove unnecessary headers, and fix additional lint warnings in affected files. #

Total comments: 3

Patch Set 5 : Fix profile_ pointer ownership; we don't own the profile. #

Patch Set 6 : Fix a nit; re-disable (was inadvertently enabled for testing). #

Total comments: 6

Patch Set 7 : Incorporate Biao's JS suggestions, Michael's nit. #

Patch Set 8 : Rebase to master for submission. #

Patch Set 9 : Rebase to ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -39 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_interface.h View 1 2 3 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_interface.cc View 1 2 3 4 5 2 chunks +17 lines, -1 line 0 comments Download
A chrome/browser/android/vr_shell/vr_omnibox.h View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/vr_omnibox.cc View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 4 5 6 7 8 3 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.css View 1 2 3 4 5 6 7 2 chunks +46 lines, -1 line 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.html View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 2 3 4 5 6 7 8 11 chunks +128 lines, -31 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui_api.js View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (8 generated)
cjgrant
3 years, 11 months ago (2017-01-20 17:22:28 UTC) #3
cjgrant
https://codereview.chromium.org/2647053002/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (left): https://codereview.chromium.org/2647053002/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#oldcode177 chrome/browser/resources/vr_shell/vr_shell_ui.js:177: this.reloadUiButton = new DomUiElement('#reload-ui-button'); The reloadUiButton rework in this ...
3 years, 11 months ago (2017-01-20 17:25:21 UTC) #4
mthiesse
https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.cc File chrome/browser/android/vr_shell/vr_omnibox.cc (right): https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.cc#newcode18 chrome/browser/android/vr_shell/vr_omnibox.cc:18: autocomplete_controller_(new AutocompleteController( s/new AutocompleteController(/base::MakeUnique<AutocompleteController>(/ https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.cc#newcode42 chrome/browser/android/vr_shell/vr_omnibox.cc:42: input_ = AutocompleteInput( ...
3 years, 11 months ago (2017-01-20 18:48:35 UTC) #5
bshe
https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.cc File chrome/browser/android/vr_shell/vr_omnibox.cc (right): https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.cc#newcode1 chrome/browser/android/vr_shell/vr_omnibox.cc:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 11 months ago (2017-01-23 16:24:37 UTC) #6
asimjour1
https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode411 chrome/browser/android/vr_shell/vr_shell.cc:411: case OMNIBOX_CONTENT: nit: OMNIBOX_CONTENT doesn't sound like an action. ...
3 years, 11 months ago (2017-01-23 18:25:59 UTC) #7
cjgrant
https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.cc File chrome/browser/android/vr_shell/vr_omnibox.cc (right): https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.cc#newcode1 chrome/browser/android/vr_shell/vr_omnibox.cc:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 11 months ago (2017-01-24 15:31:40 UTC) #8
cjgrant
https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.h File chrome/browser/android/vr_shell/vr_omnibox.h (right): https://codereview.chromium.org/2647053002/diff/1/chrome/browser/android/vr_shell/vr_omnibox.h#newcode9 chrome/browser/android/vr_shell/vr_omnibox.h:9: #include "base/strings/string16.h" On 2017/01/20 18:48:35, mthiesse wrote: > Looks ...
3 years, 11 months ago (2017-01-24 18:46:13 UTC) #11
cjgrant
https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/vr_shell.cc#newcode6 chrome/browser/android/vr_shell/vr_shell.cc:6: j Hah, yes, nothing to see here.
3 years, 11 months ago (2017-01-24 20:13:55 UTC) #12
mthiesse
lgtm https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/ui_interface.cc File chrome/browser/android/vr_shell/ui_interface.cc (right): https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/ui_interface.cc#newcode20 chrome/browser/android/vr_shell/ui_interface.cc:20: omnibox_.reset(new VrOmnibox(this)); nit: omnibox_ = base::MakeUnique<VrOmnibox>(this);
3 years, 11 months ago (2017-01-24 21:42:14 UTC) #13
mthiesse
On 2017/01/24 21:42:14, mthiesse wrote: > lgtm > > https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/ui_interface.cc > File chrome/browser/android/vr_shell/ui_interface.cc (right): > ...
3 years, 11 months ago (2017-01-24 21:42:46 UTC) #14
bshe
https://codereview.chromium.org/2647053002/diff/100001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2647053002/diff/100001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode518 chrome/browser/resources/vr_shell/vr_shell_ui.js:518: for (var i = 0; i < this.maxSuggestions; i++) ...
3 years, 11 months ago (2017-01-26 15:30:58 UTC) #15
cjgrant
https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/ui_interface.cc File chrome/browser/android/vr_shell/ui_interface.cc (right): https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/ui_interface.cc#newcode20 chrome/browser/android/vr_shell/ui_interface.cc:20: omnibox_.reset(new VrOmnibox(this)); On 2017/01/24 21:42:14, mthiesse wrote: > nit: ...
3 years, 11 months ago (2017-01-26 17:31:11 UTC) #16
bshe
On 2017/01/26 17:31:11, cjgrant wrote: > https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/ui_interface.cc > File chrome/browser/android/vr_shell/ui_interface.cc (right): > > https://codereview.chromium.org/2647053002/diff/60001/chrome/browser/android/vr_shell/ui_interface.cc#newcode20 > ...
3 years, 11 months ago (2017-01-26 17:45:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2647053002/160001
3 years, 10 months ago (2017-01-30 20:29:37 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-01-30 22:09:51 UTC) #23
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/f0ef9a78b5c8879e904ea51c02fb...

Powered by Google App Engine
This is Rietveld 408576698