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

Issue 2903673002: VR: Update UiSceneManager with screen capturing flag (Closed)

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

Description

VR: Update UiSceneManager with screen capturing flag UiSceneManager is updated to receive the screen capturing flag and show the indicator accordingly. BUG=722836 Review-Url: https://codereview.chromium.org/2903673002 Cr-Commit-Position: refs/heads/master@{#475061} Committed: https://chromium.googlesource.com/chromium/src/+/5a12ab7ad16ad3e801b3182270b1e5b2956f7dc9

Patch Set 1 #

Total comments: 1

Patch Set 2 : VR: Update UiSceneManager with screen capturing flag #

Patch Set 3 : UI webvr unittest is added #

Total comments: 14

Patch Set 4 : VR: Update UiSceneManager with screen capturing flag #

Total comments: 4

Patch Set 5 : VR: Update UiSceneManager with screen capturing flag #

Total comments: 4

Patch Set 6 : VR: Update UiSceneManager with screen capturing flag #

Patch Set 7 : Indicators tests are added. Update the flags only when they change #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -6 lines) Patch
M chrome/browser/android/vr_shell/ui_scene_manager.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 2 3 4 5 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +64 lines, -0 lines 3 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 4 5 1 chunk +15 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
asimjour1
PTAL
3 years, 7 months ago (2017-05-23 19:02:43 UTC) #2
cjgrant
https://codereview.chromium.org/2903673002/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/2903673002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode362 chrome/browser/android/vr_shell/ui_scene_manager.cc:362: screen_capture_indicator_->set_visible(enabled); I think you need to cover the WebVR ...
3 years, 7 months ago (2017-05-23 19:16:24 UTC) #3
asimjour1
PTAL
3 years, 6 months ago (2017-05-25 21:24:06 UTC) #4
asimjour1
PTAL
3 years, 6 months ago (2017-05-25 22:37:57 UTC) #5
cjgrant
Adam, please see my comments on the unit test. Feel free to disagree. :) https://codereview.chromium.org/2903673002/diff/40001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc ...
3 years, 6 months ago (2017-05-25 23:02:56 UTC) #7
amp
https://codereview.chromium.org/2903673002/diff/40001/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/2903673002/diff/40001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc#newcode203 chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc:203: TEST_F(UiSceneManagerTest, UiUpdatesForWebVRChanges) { On 2017/05/25 23:02:56, cjgrant wrote: > ...
3 years, 6 months ago (2017-05-25 23:18:05 UTC) #8
asimjour1
https://codereview.chromium.org/2903673002/diff/40001/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/2903673002/diff/40001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc#newcode203 chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc:203: TEST_F(UiSceneManagerTest, UiUpdatesForWebVRChanges) { On 2017/05/25 23:02:56, cjgrant wrote: > ...
3 years, 6 months ago (2017-05-25 23:33:32 UTC) #9
cjgrant
lgtm with a couple last nits. https://codereview.chromium.org/2903673002/diff/40001/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/2903673002/diff/40001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc#newcode244 chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc:244: // Exit webvr ...
3 years, 6 months ago (2017-05-26 00:58:02 UTC) #10
cjgrant
Correction, not LGTM. See comments. https://codereview.chromium.org/2903673002/diff/60001/chrome/browser/android/vr_shell/ui_scene_manager.cc File chrome/browser/android/vr_shell/ui_scene_manager.cc (right): https://codereview.chromium.org/2903673002/diff/60001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode398 chrome/browser/android/vr_shell/ui_scene_manager.cc:398: audio_capture_indicator_->set_visible(enabled && !web_vr_mode_); Actually, ...
3 years, 6 months ago (2017-05-26 01:09:26 UTC) #11
cjgrant
https://codereview.chromium.org/2903673002/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/2903673002/diff/80001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode346 chrome/browser/android/vr_shell/ui_scene_manager.cc:346: if (web_vr) { More detailed explanation: The way this ...
3 years, 6 months ago (2017-05-26 14:08:15 UTC) #12
asimjour1
https://codereview.chromium.org/2903673002/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/2903673002/diff/80001/chrome/browser/android/vr_shell/ui_scene_manager.cc#newcode346 chrome/browser/android/vr_shell/ui_scene_manager.cc:346: if (web_vr) { On 2017/05/26 14:08:15, cjgrant wrote: > ...
3 years, 6 months ago (2017-05-26 17:01:00 UTC) #13
amp
lgtm https://codereview.chromium.org/2903673002/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/2903673002/diff/120001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc#newcode232 chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc:232: } Should we test that transitioning out of ...
3 years, 6 months ago (2017-05-26 17:26:01 UTC) #14
cjgrant
lgtm Thanks for retooling the tests Amir! https://codereview.chromium.org/2903673002/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/2903673002/diff/120001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc#newcode232 chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc:232: } On ...
3 years, 6 months ago (2017-05-26 17:33:35 UTC) #17
amp
https://codereview.chromium.org/2903673002/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/2903673002/diff/120001/chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc#newcode232 chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc:232: } On 2017/05/26 17:33:35, cjgrant wrote: > On 2017/05/26 ...
3 years, 6 months ago (2017-05-26 17:55:30 UTC) #18
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/2903673002/120001
3 years, 6 months ago (2017-05-26 18:15:55 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-05-26 18:21:14 UTC) #26
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/5a12ab7ad16ad3e801b3182270b1...

Powered by Google App Engine
This is Rietveld 408576698