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

Issue 2500283003: Allow the VR omnibox to be transient. (Closed)

Created:
4 years, 1 month ago by cjgrant
Modified:
4 years, 1 month ago
Reviewers:
klausw, mthiesse, bajones, bshe
CC:
chromium-reviews, feature-vr-reviews_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow the VR omnibox to be transient. Let the omnibox appear when its content changes, show for a few seconds, then fade away. Any changes to page loading state or the URL extend the time for which the box stays visible. This fading behaviour can be disabled by setting the timeout to 0. Currently, CSS transitions are used to hide and drop the omnibox when it disappears. These transitions may appear choppy when content is loading. Hence, this change may be a stepping stone towards a native-driven transition. BUG=641508 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/dc4752355449dc6452ad51d45f534f633abad7f8 Cr-Commit-Position: refs/heads/master@{#433008}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rename timer method. #

Total comments: 9

Patch Set 3 : Address some nits; explain others. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -24 lines) Patch
M chrome/browser/resources/vr_shell/vr_shell_ui.css View 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 2 5 chunks +99 lines, -19 lines 2 comments Download

Messages

Total messages: 15 (4 generated)
cjgrant
Brandon and Klaus, this read-only omnibox is currently hidden in WebVR mode, but at this ...
4 years, 1 month ago (2016-11-15 19:24:53 UTC) #3
mthiesse
https://codereview.chromium.org/2500283003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2500283003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode301 chrome/browser/resources/vr_shell/vr_shell_ui.js:301: kickVisibilityTimer() { nit: resetVisibilityTimer()? https://codereview.chromium.org/2500283003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode323 chrome/browser/resources/vr_shell/vr_shell_ui.js:323: updateState() { Why ...
4 years, 1 month ago (2016-11-15 19:42:48 UTC) #4
cjgrant
https://codereview.chromium.org/2500283003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2500283003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode301 chrome/browser/resources/vr_shell/vr_shell_ui.js:301: kickVisibilityTimer() { On 2016/11/15 19:42:48, mthiesse wrote: > nit: ...
4 years, 1 month ago (2016-11-15 20:57:06 UTC) #5
bshe
lgtm with nits https://codereview.chromium.org/2500283003/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2500283003/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode259 chrome/browser/resources/vr_shell/vr_shell_ui.js:259: this.visibilityTimeout = VISIBILITY_TIMEOUT_MS; did you change ...
4 years, 1 month ago (2016-11-17 15:18:20 UTC) #6
cjgrant
https://codereview.chromium.org/2500283003/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2500283003/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode259 chrome/browser/resources/vr_shell/vr_shell_ui.js:259: this.visibilityTimeout = VISIBILITY_TIMEOUT_MS; On 2016/11/17 15:18:19, bshe wrote: > ...
4 years, 1 month ago (2016-11-17 20:17:43 UTC) #7
bshe
On 2016/11/17 20:17:43, cjgrant wrote: > https://codereview.chromium.org/2500283003/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js > File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): > > https://codereview.chromium.org/2500283003/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode259 > ...
4 years, 1 month ago (2016-11-17 20:39:57 UTC) #8
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/2500283003/40001
4 years, 1 month ago (2016-11-17 20:52:25 UTC) #10
amp
https://codereview.chromium.org/2500283003/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2500283003/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode254 chrome/browser/resources/vr_shell/vr_shell_ui.js:254: /** @const */ var VISIBILITY_TIMEOUT_MS = 3000; Not affecting ...
4 years, 1 month ago (2016-11-17 21:00:35 UTC) #11
cjgrant
https://codereview.chromium.org/2500283003/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2500283003/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode254 chrome/browser/resources/vr_shell/vr_shell_ui.js:254: /** @const */ var VISIBILITY_TIMEOUT_MS = 3000; On 2016/11/17 ...
4 years, 1 month ago (2016-11-17 21:13:12 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-17 23:13:14 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 23:19:03 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dc4752355449dc6452ad51d45f534f633abad7f8
Cr-Commit-Position: refs/heads/master@{#433008}

Powered by Google App Engine
This is Rietveld 408576698