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

Issue 2435623003: Implement (but do not enable) HTML UI-driven WebVR security warnings. (Closed)

Created:
4 years, 2 months ago by cjgrant
Modified:
4 years, 2 months ago
Reviewers:
mthiesse, bshe
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement (but do not enable) HTML UI-driven WebVR security warnings. These will be enabled in a follow-on change that adjusts VR shell to render UI elements whether or not we're in WebVR mode. BUG=641508 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/07570419278e71a3bdaf60b581b18895d13942a7 Cr-Commit-Position: refs/heads/master@{#426897}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Refactor warnings into a class; constify constants. #

Patch Set 3 : Address more comments. #

Total comments: 2

Patch Set 4 : Fix CONST_CASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -31 lines) Patch
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 2 3 6 chunks +116 lines, -31 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
cjgrant
Michael, your previous advice to house menu buttons in a class could apply here too. ...
4 years, 2 months ago (2016-10-19 20:00:14 UTC) #3
cjgrant
Michael, your previous advice to house menu buttons in a class could apply here too. ...
4 years, 2 months ago (2016-10-19 20:00:15 UTC) #4
mthiesse
lgtm lgtm % nits https://codereview.chromium.org/2435623003/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/2435623003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#oldcode64 chrome/browser/resources/vr_shell/vr_shell_ui.js:64: class UiState { No preference ...
4 years, 2 months ago (2016-10-19 20:11:56 UTC) #5
bshe
https://codereview.chromium.org/2435623003/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/2435623003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode72 chrome/browser/resources/vr_shell/vr_shell_ui.js:72: var angleUp = 16.3 * Math.PI / 180.0; Should ...
4 years, 2 months ago (2016-10-20 18:01:53 UTC) #6
cjgrant
https://codereview.chromium.org/2435623003/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/2435623003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#oldcode64 chrome/browser/resources/vr_shell/vr_shell_ui.js:64: class UiState { On 2016/10/19 20:11:56, mthiesse wrote: > ...
4 years, 2 months ago (2016-10-21 17:40:49 UTC) #7
bshe
lgtm with nits https://codereview.chromium.org/2435623003/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/2435623003/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode148 chrome/browser/resources/vr_shell/vr_shell_ui.js:148: this.mode = mode; On 2016/10/21 17:40:48, ...
4 years, 2 months ago (2016-10-21 18:10:47 UTC) #8
cjgrant
As discussed offline, lets chat about the Javascript command details on Monday in-person. https://codereview.chromium.org/2435623003/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.js File ...
4 years, 2 months ago (2016-10-21 18:59:37 UTC) #9
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/2435623003/60001
4 years, 2 months ago (2016-10-21 19:00:33 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-21 21:46:42 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 21:52:07 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/07570419278e71a3bdaf60b581b18895d13942a7
Cr-Commit-Position: refs/heads/master@{#426897}

Powered by Google App Engine
This is Rietveld 408576698