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

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

Issue 2950173002: VR: System indicator rework. (Closed)
Patch Set: Address comments; increase size slightly for readability, now that position is dynamic. Created 3 years, 6 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.h
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.h b/chrome/browser/android/vr_shell/ui_scene_manager.h
index 8c7c187c2c9be45b8063ddd6b65b24d49f453561..06ec34e61aaeb525875880e206457eae9beced6d 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.h
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.h
@@ -51,6 +51,7 @@ class UiSceneManager {
// These methods are currently stubbed.
void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward);
+ void OnGLInitialized();
void OnAppButtonClicked();
void OnAppButtonGesturePerformed(UiInterface::Direction direction);
@@ -113,6 +114,8 @@ class UiSceneManager {
TransientUrlBar* transient_url_bar_ = nullptr;
LoadingIndicator* loading_indicator_ = nullptr;
+ std::vector<UiElement*> system_indicators_;
+
bool in_cct_;
bool web_vr_mode_;
bool web_vr_autopresented_ = false;

Powered by Google App Engine
This is Rietveld 408576698