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

Unified Diff: chrome/browser/android/vr_shell/ui_scene_manager.cc

Issue 2890563003: VR: Update UiSceneManager with audio/video capturing flags (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/ui_scene_manager.cc
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.cc b/chrome/browser/android/vr_shell/ui_scene_manager.cc
index 07473440f51ecc6e0dcce1ea41d85527d5de9985..9d9e130aa26ec8836d83c0c759080fe5ec698a74 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.cc
@@ -288,6 +288,18 @@ void UiSceneManager::ConfigureScene() {
-kBackgroundDistanceMultiplier);
}
+void UiSceneManager::SetAudioCapturingIndicator(bool is_capturing) {
+ audio_input_indicator_->set_visible(is_capturing);
cjgrant 2017/05/16 19:09:27 Should these members be called audio_capture_indic
acondor_ 2017/05/16 19:11:40 yes, my bad.
asimjour1 2017/05/16 20:13:55 Done.
+}
+
+void UiSceneManager::SetVideoCapturingIndicator(bool is_capturing) {
+ video_input_indicator_->set_visible(is_capturing);
+}
+
+void UiSceneManager::SetScreenCapturingIndicator(bool is_capturing) {
+ // TODO(asimjour) add the indicator and change the visibility here.
+}
+
void UiSceneManager::SetWebVrSecureOrigin(bool secure) {
secure_origin_ = secure;
ConfigureSecurityWarnings();

Powered by Google App Engine
This is Rietveld 408576698