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

Issue 2957173002: Update toast behavior and apperance according to UX requirement (Closed)

Created:
3 years, 5 months ago by bshe
Modified:
3 years, 5 months ago
Reviewers:
cjgrant, amp
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update toast behavior and apperance according to UX requirement BUG=736761 Review-Url: https://codereview.chromium.org/2957173002 Cr-Commit-Position: refs/heads/master@{#483281} Committed: https://chromium.googlesource.com/chromium/src/+/14d5ed2dd6b7ca8b6eea5875c9c64e142846e4b6

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Patch Set 3 : rebase #

Patch Set 4 : Minor cleanup #

Patch Set 5 : Set size to DMM. Scale will be used to correctly scale the toast #

Total comments: 10

Patch Set 6 : reviews #

Patch Set 7 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -27 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/color_scheme.cc View 2 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc View 1 2 3 4 5 3 chunks +20 lines, -15 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_elements/exclusive_screen_toast.h View 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_elements/exclusive_screen_toast.cc View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h View 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 2 3 4 5 6 4 chunks +33 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
bshe
Hey Chris. Do you mind to take a look? Thanks.
3 years, 5 months ago (2017-06-28 13:16:24 UTC) #4
cjgrant
https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc File chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc (right): https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc#newcode24 chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc:24: constexpr float kRadius = 0.004; Possibly kCornerRadius for clarity? ...
3 years, 5 months ago (2017-06-28 13:55:35 UTC) #7
amp
https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode439 chrome/browser/android/vr_shell/ui_scene_manager.cc:439: element->set_size({kToastWidthDMM, kToastHeightDMM, 1}); Don't the DMM need to be ...
3 years, 5 months ago (2017-06-28 16:47:21 UTC) #11
bshe
https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc File chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc (right): https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc#newcode24 chrome/browser/android/vr_shell/textures/exclusive_screen_toast_texture.cc:24: constexpr float kRadius = 0.004; On 2017/06/28 13:55:34, cjgrant ...
3 years, 5 months ago (2017-06-28 20:01:58 UTC) #12
cjgrant
https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode527 chrome/browser/android/vr_shell/ui_scene_manager.cc:527: if (fullscreen_ && !web_vr_mode_) { On 2017/06/28 20:01:58, bshe ...
3 years, 5 months ago (2017-06-28 20:24:51 UTC) #13
cjgrant
lgtm after existing comments are addressed
3 years, 5 months ago (2017-06-28 20:27:24 UTC) #14
bshe
https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2957173002/diff/80001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode527 chrome/browser/android/vr_shell/ui_scene_manager.cc:527: if (fullscreen_ && !web_vr_mode_) { On 2017/06/28 20:24:50, cjgrant ...
3 years, 5 months ago (2017-06-29 01:34:12 UTC) #15
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/2957173002/120001
3 years, 5 months ago (2017-06-29 01:34:48 UTC) #18
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 03:36:19 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/14d5ed2dd6b7ca8b6eea5875c9c6...

Powered by Google App Engine
This is Rietveld 408576698