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

Issue 2624243002: VrShell: Allow native control of UI element opacity. (Closed)

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

Description

VrShell: Allow native control of UI element opacity. - Add support to ContentRectangle. - Inherit opacity from parent elements. - Update tests. - Drive omnibox opacity animations natively rather than via CSS. BUG=679761 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2624243002 Cr-Commit-Position: refs/heads/master@{#443034} Committed: https://chromium.googlesource.com/chromium/src/+/eebed48cece6143e1392afe5cd1bc25db67779e8

Patch Set 1 #

Total comments: 12

Patch Set 2 : for (auto nit : nits) nit.fix(); #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -46 lines) Patch
M chrome/browser/android/vr_shell/animation.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements.h View 1 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_elements.cc View 1 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.cc View 1 4 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_unittest.cc View 5 chunks +26 lines, -6 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.css View 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 3 chunks +13 lines, -19 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui_api.js View 4 chunks +24 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
cjgrant
https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode490 chrome/browser/android/vr_shell/vr_shell_gl.cc:490: if (!plane->visible || plane->computed_opacity == 0.0f || Checking opacity ...
3 years, 11 months ago (2017-01-11 16:45:47 UTC) #3
mthiesse
lgtm % nits https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc File chrome/browser/android/vr_shell/ui_scene.cc (left): https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc#oldcode354 chrome/browser/android/vr_shell/ui_scene.cc:354: void UiScene::ApplyRecursiveTransforms(const ContentRectangle& element, Unrelated, but ...
3 years, 11 months ago (2017-01-11 18:33:04 UTC) #4
cjgrant
https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc File chrome/browser/android/vr_shell/ui_scene.cc (left): https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc#oldcode354 chrome/browser/android/vr_shell/ui_scene.cc:354: void UiScene::ApplyRecursiveTransforms(const ContentRectangle& element, On 2017/01/11 18:33:04, mthiesse wrote: ...
3 years, 11 months ago (2017-01-11 18:53:07 UTC) #5
mthiesse
https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc File chrome/browser/android/vr_shell/ui_scene.cc (left): https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc#oldcode354 chrome/browser/android/vr_shell/ui_scene.cc:354: void UiScene::ApplyRecursiveTransforms(const ContentRectangle& element, On 2017/01/11 18:53:07, cjgrant wrote: ...
3 years, 11 months ago (2017-01-11 19:02:49 UTC) #6
bshe
On 2017/01/11 19:02:49, mthiesse wrote: > https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc > File chrome/browser/android/vr_shell/ui_scene.cc (left): > > https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc#oldcode354 > ...
3 years, 11 months ago (2017-01-11 20:19:25 UTC) #7
cjgrant
https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc File chrome/browser/android/vr_shell/ui_scene.cc (left): https://codereview.chromium.org/2624243002/diff/1/chrome/browser/android/vr_shell/ui_scene.cc#oldcode354 chrome/browser/android/vr_shell/ui_scene.cc:354: void UiScene::ApplyRecursiveTransforms(const ContentRectangle& element, On 2017/01/11 19:02:49, mthiesse wrote: ...
3 years, 11 months ago (2017-01-11 20:58:42 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/2624243002/20001
3 years, 11 months ago (2017-01-11 21:04:23 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 22:54:43 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/eebed48cece6143e1392afe5cd1b...

Powered by Google App Engine
This is Rietveld 408576698