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

Side by Side Diff: chrome/browser/android/vr_shell/ui_scene_manager.h

Issue 2903673002: VR: Update UiSceneManager with screen capturing flag (Closed)
Patch Set: Indicators tests are added. Update the flags only when they change 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 UiElement* floor_ = nullptr; 87 UiElement* floor_ = nullptr;
88 UiElement* floor_grid_ = nullptr; 88 UiElement* floor_grid_ = nullptr;
89 UrlBar* url_bar_ = nullptr; 89 UrlBar* url_bar_ = nullptr;
90 LoadingIndicator* loading_indicator_ = nullptr; 90 LoadingIndicator* loading_indicator_ = nullptr;
91 91
92 bool in_cct_; 92 bool in_cct_;
93 bool web_vr_mode_; 93 bool web_vr_mode_;
94 bool secure_origin_ = false; 94 bool secure_origin_ = false;
95 bool fullscreen_ = false; 95 bool fullscreen_ = false;
96 bool is_exiting_ = false; 96 bool is_exiting_ = false;
97 bool audio_capturing_ = false;
98 bool video_capturing_ = false;
99 bool screen_capturing_ = false;
97 100
98 int next_available_id_ = 1; 101 int next_available_id_ = 1;
99 102
100 std::vector<UiElement*> content_elements_; 103 std::vector<UiElement*> content_elements_;
101 std::vector<UiElement*> control_elements_; 104 std::vector<UiElement*> control_elements_;
102 105
103 base::OneShotTimer security_warning_timer_; 106 base::OneShotTimer security_warning_timer_;
104 107
105 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; 108 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_;
106 109
107 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); 110 DISALLOW_COPY_AND_ASSIGN(UiSceneManager);
108 }; 111 };
109 112
110 } // namespace vr_shell 113 } // namespace vr_shell
111 114
112 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ 115 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698