Biao, here's an actual finished version of what I described on the whiteboard. If you ...
3 years, 5 months ago
(2017-06-26 20:34:19 UTC)
#2
Biao, here's an actual finished version of what I described on the whiteboard.
If you like this, I would also use it to remove timers from the transient URL
bar and security warnings before submitting.
cjgrant
https://codereview.chromium.org/2955023002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2955023002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode443 chrome/browser/android/vr_shell/ui_scene_manager.cc:443: presentation_toast_->transience()->EndVisibility(); Biao, please note the logic here. Basically, when ...
3 years, 5 months ago
(2017-06-26 20:39:35 UTC)
#3
https://codereview.chromium.org/2955023002/diff/1/chrome/browser/android/vr_s...
File chrome/browser/android/vr_shell/ui_scene_manager.cc (right):
https://codereview.chromium.org/2955023002/diff/1/chrome/browser/android/vr_s...
chrome/browser/android/vr_shell/ui_scene_manager.cc:443:
presentation_toast_->transience()->EndVisibility();
Biao, please note the logic here. Basically, when transitioning from webvr back
to full-screen, the toast stays enabled, but we want to hide it (at least, I
think we do). From the element's perspective, it is staying enabled, so it
would see no reason to hide itself.
There are other ways we could handle this. One of them is, before calling
ConfigureScene(), explicitly disable the toast. ConfigureScene() would then
re-enable it for fullscreen, but not kick the visibility timer.
https://codereview.chromium.org/2955023002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2955023002/diff/20001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode634 chrome/browser/android/vr_shell/ui_scene_manager.cc:634: // TODO: Also do this one! On 2017/06/27 14:57:09, ...
3 years, 5 months ago
(2017-06-27 15:15:55 UTC)
#5
Biao, PTAL after the rebase onto your "exclusive" file/class rename. Yash, please check the impact ...
3 years, 5 months ago
(2017-06-29 18:51:55 UTC)
#9
Biao, PTAL after the rebase onto your "exclusive" file/class rename.
Yash, please check the impact on auto-presentation, and feel free to weigh in on
the transience refactoring in general, of course.
ymalik
auto-presentation changes lgtm
3 years, 5 months ago
(2017-06-29 19:13:32 UTC)
#10
auto-presentation changes lgtm
cjgrant
The CQ bit was checked by cjgrant@chromium.org
3 years, 5 months ago
(2017-06-29 20:53:54 UTC)
#11
CQ is committing da patch. Bot data: {"patchset_id": 80001, "attempt_start_ts": 1498769634564510, "parent_rev": "9c98ed29555b35e3d3fcaa0e6fdeecbb87533dbc", "commit_rev": "27ed3b381ba509ef709ebc97860d006611bab291"}
3 years, 5 months ago
(2017-06-29 22:24:10 UTC)
#14
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1498769634564510,
"parent_rev": "9c98ed29555b35e3d3fcaa0e6fdeecbb87533dbc", "commit_rev":
"27ed3b381ba509ef709ebc97860d006611bab291"}
commit-bot: I haz the power
Description was changed from ========== VR: Factor transient timing out of UiSceneManager. - Add a ...
3 years, 5 months ago
(2017-06-29 22:24:24 UTC)
#15
Message was sent while issue was closed.
Description was changed from
==========
VR: Factor transient timing out of UiSceneManager.
- Add a class to manage transience. It can later be extended to handle
more interesting transience, like URL bars, which appear when
loading.
- Move presentation toast to use this new manager.
BUG=735163
==========
to
==========
VR: Factor transient timing out of UiSceneManager.
- Add a class to manage transience. It can later be extended to handle
more interesting transience, like URL bars, which appear when
loading.
- Move presentation toast to use this new manager.
BUG=735163
Review-Url: https://codereview.chromium.org/2955023002
Cr-Commit-Position: refs/heads/master@{#483515}
Committed:
https://chromium.googlesource.com/chromium/src/+/27ed3b381ba509ef709ebc97860d...
==========
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/27ed3b381ba509ef709ebc97860d006611bab291
3 years, 5 months ago
(2017-06-29 22:24:25 UTC)
#16
Issue 2955023002: VR: Factor transient timing out of UiSceneManager.
(Closed)
Created 3 years, 5 months ago by cjgrant
Modified 3 years, 5 months ago
Reviewers: bshe, ymalik
Base URL:
Comments: 25