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

Unified Diff: chrome/browser/android/vr_shell/vr_shell.h

Issue 2878893003: VR: Poll media access flags (Closed)
Patch Set: VR: Poll media access flags 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/vr_shell.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index 20572ccda6663f2427176b5138158358514b22e6..00b3143484ffba6262aaf6e544637be52fd87034 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -181,6 +181,8 @@ class VrShell : public device::PresentingGvrDelegate,
void ProcessTabArray(JNIEnv* env, jobjectArray tabs, bool incognito);
+ void PollMediaAccessFlag();
+
bool vr_shell_enabled_;
std::unique_ptr<UiInterface> ui_;
@@ -206,6 +208,9 @@ class VrShell : public device::PresentingGvrDelegate,
bool reprojected_rendering_;
jobject content_surface_ = nullptr;
+ bool is_capturing_audio_ = false;
+ bool is_capturing_video_ = false;
+ bool is_capturing_screen_ = false;
// TODO(mthiesse): Remove the need for this to be stored here.
// crbug.com/674594
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | chrome/browser/android/vr_shell/vr_shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698