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

Issue 2913633002: [vr] Clicking on the security icon should prompt the user to bail out of VR (Closed)

Created:
3 years, 6 months ago by ymalik
Modified:
3 years, 6 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[vr] Clicking on the security icon should prompt the user to bail out of VR BUG=726744 Review-Url: https://codereview.chromium.org/2913633002 Cr-Commit-Position: refs/heads/master@{#477546} Committed: https://chromium.googlesource.com/chromium/src/+/db30f9ca562c571e7233710f0e9f69a882a7045e

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 34

Patch Set 4 : added tests + cjgrant's comments #

Total comments: 4

Patch Set 5 : address amp's comments #

Total comments: 22

Patch Set 6 : rebase master #

Total comments: 2

Patch Set 7 : cjgrant's comments #

Total comments: 2

Patch Set 8 : nit #

Total comments: 4

Patch Set 9 : actions.xml nit #

Total comments: 4

Patch Set 10 : mthiesse nits #

Patch Set 11 : UX adjustments as per josh's feedback #

Patch Set 12 : presubmit fix #

Patch Set 13 : fix compile issues on arm #

Patch Set 14 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -36 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/page_info/PageInfoPopup.java View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +33 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 4 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/color_scheme.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/color_scheme.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +14 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/textures/exit_prompt_texture.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +174 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/textures/url_bar_texture.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/textures/url_bar_texture.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +15 lines, -4 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_elements/exit_prompt.h View 1 2 3 4 5 6 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_elements/exit_prompt.cc View 1 2 3 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_elements/exit_prompt_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +102 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/ui_element_debug_id.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/url_bar.h View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/url_bar.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +51 lines, -6 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +46 lines, -13 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_unsupported_mode.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 50 (23 generated)
cjgrant
An initial round of feedback. This is a big CL. I know you said it's ...
3 years, 6 months ago (2017-06-02 04:16:36 UTC) #3
amp
My color change is possibly going to need be merged depending on which makes it ...
3 years, 6 months ago (2017-06-02 20:37:02 UTC) #5
ymalik
Guys, PTAL I've added tests and addressed most of cjgrant@'s comments. Still have to address ...
3 years, 6 months ago (2017-06-02 21:14:32 UTC) #7
amp
https://codereview.chromium.org/2913633002/diff/60001/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2913633002/diff/60001/chrome/browser/android/vr_shell/color_scheme.cc#newcode70 chrome/browser/android/vr_shell/color_scheme.cc:70: incognito_scheme.button_background_hover = 0xFF8C8C8C; The normal background_hover and background_down (line ...
3 years, 6 months ago (2017-06-02 21:54:00 UTC) #8
ymalik
Folks, PTAL :) +ted for PageInfo changes https://codereview.chromium.org/2913633002/diff/40001/chrome/browser/android/vr_shell/color_scheme.h File chrome/browser/android/vr_shell/color_scheme.h (right): https://codereview.chromium.org/2913633002/diff/40001/chrome/browser/android/vr_shell/color_scheme.h#newcode35 chrome/browser/android/vr_shell/color_scheme.h:35: SkColor prompt_text; ...
3 years, 6 months ago (2017-06-04 04:08:57 UTC) #10
amp
lgtm https://codereview.chromium.org/2913633002/diff/40001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2913633002/diff/40001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode259 chrome/browser/android/vr_shell/ui_scene_manager.cc:259: background_elements_.push_back(element.get()); On 2017/06/04 04:08:56, ymalik wrote: > On ...
3 years, 6 months ago (2017-06-05 16:44:57 UTC) #11
cjgrant
https://codereview.chromium.org/2913633002/diff/80001/chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc File chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc (right): https://codereview.chromium.org/2913633002/diff/80001/chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc#newcode111 chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc:111: SkColor ExitPromptTexture::GetButtonColor(bool primary) const { With all the separate ...
3 years, 6 months ago (2017-06-05 17:33:53 UTC) #12
ymalik
cjgrant, PTAL :) https://codereview.chromium.org/2913633002/diff/80001/chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc File chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc (right): https://codereview.chromium.org/2913633002/diff/80001/chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc#newcode111 chrome/browser/android/vr_shell/textures/exit_prompt_texture.cc:111: SkColor ExitPromptTexture::GetButtonColor(bool primary) const { On ...
3 years, 6 months ago (2017-06-05 20:02:42 UTC) #13
ymalik
https://codereview.chromium.org/2913633002/diff/100001/chrome/browser/android/vr_shell/ui_scene_manager.h File chrome/browser/android/vr_shell/ui_scene_manager.h (right): https://codereview.chromium.org/2913633002/diff/100001/chrome/browser/android/vr_shell/ui_scene_manager.h#newcode56 chrome/browser/android/vr_shell/ui_scene_manager.h:56: friend class UiSceneManagerTest; On 2017/06/05 16:44:57, amp wrote: > ...
3 years, 6 months ago (2017-06-05 20:10:33 UTC) #14
cjgrant
lgtm with one last comment. https://codereview.chromium.org/2913633002/diff/120001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc File chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc (right): https://codereview.chromium.org/2913633002/diff/120001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc#newcode18 chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc:18: using UiElementDebugId::kContentQuad; Oops, I ...
3 years, 6 months ago (2017-06-05 20:47:17 UTC) #15
ymalik
https://codereview.chromium.org/2913633002/diff/120001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc File chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc (right): https://codereview.chromium.org/2913633002/diff/120001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc#newcode18 chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc:18: using UiElementDebugId::kContentQuad; On 2017/06/05 20:47:17, cjgrant wrote: > Oops, ...
3 years, 6 months ago (2017-06-06 02:14:09 UTC) #16
ymalik
+isherman for tools/metrics
3 years, 6 months ago (2017-06-06 02:16:46 UTC) #18
Ted C
On 2017/06/06 02:16:46, ymalik wrote: > +isherman for tools/metrics PageInfoPopup - lgtm
3 years, 6 months ago (2017-06-06 05:00:14 UTC) #19
Ilya Sherman
actions.xml lgtm % nits: https://codereview.chromium.org/2913633002/diff/140001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2913633002/diff/140001/tools/metrics/actions/actions.xml#newcode10805 tools/metrics/actions/actions.xml:10805: Page Info opened via the ...
3 years, 6 months ago (2017-06-06 05:40:49 UTC) #20
ymalik
https://codereview.chromium.org/2913633002/diff/140001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2913633002/diff/140001/tools/metrics/actions/actions.xml#newcode10805 tools/metrics/actions/actions.xml:10805: Page Info opened via the toolbar page info (i.e ...
3 years, 6 months ago (2017-06-06 15:19:59 UTC) #21
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/2913633002/160001
3 years, 6 months ago (2017-06-06 15:20:28 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/456678)
3 years, 6 months ago (2017-06-06 15:34:02 UTC) #26
ymalik
+Mike for android vr_shell
3 years, 6 months ago (2017-06-06 15:50:05 UTC) #28
mthiesse
lgtm % comments https://codereview.chromium.org/2913633002/diff/160001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (right): https://codereview.chromium.org/2913633002/diff/160001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode909 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:909: sInstance.showPageInfoPopup(); nit: drop the sInstance. https://codereview.chromium.org/2913633002/diff/160001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode909 ...
3 years, 6 months ago (2017-06-06 15:57:07 UTC) #29
ymalik
https://codereview.chromium.org/2913633002/diff/160001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (right): https://codereview.chromium.org/2913633002/diff/160001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode909 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:909: sInstance.showPageInfoPopup(); On 2017/06/06 15:57:07, mthiesse wrote: > Why not ...
3 years, 6 months ago (2017-06-06 16:15:44 UTC) #30
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/2913633002/200001
3 years, 6 months ago (2017-06-06 19:55:28 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/456968)
3 years, 6 months ago (2017-06-06 20:10:34 UTC) #35
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/2913633002/220001
3 years, 6 months ago (2017-06-06 20:51:02 UTC) #38
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/2913633002/240001
3 years, 6 months ago (2017-06-07 01:45:22 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/226711) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-07 01:47:35 UTC) #44
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/2913633002/260001
3 years, 6 months ago (2017-06-07 02:55:11 UTC) #47
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 04:25:41 UTC) #50
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/db30f9ca562c571e7233710f0e9f...

Powered by Google App Engine
This is Rietveld 408576698