| OLD | NEW |
| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 VrBrowserInterface* browser_; | 68 VrBrowserInterface* browser_; |
| 69 UiScene* scene_; | 69 UiScene* scene_; |
| 70 | 70 |
| 71 // UI element pointers (not owned by the scene manager). | 71 // UI element pointers (not owned by the scene manager). |
| 72 UiElement* permanent_security_warning_ = nullptr; | 72 UiElement* permanent_security_warning_ = nullptr; |
| 73 UiElement* transient_security_warning_ = nullptr; | 73 UiElement* transient_security_warning_ = nullptr; |
| 74 UiElement* exit_warning_ = nullptr; | 74 UiElement* exit_warning_ = nullptr; |
| 75 UiElement* main_content_ = nullptr; | 75 UiElement* main_content_ = nullptr; |
| 76 UiElement* audio_capture_indicator_ = nullptr; | 76 UiElement* audio_capture_indicator_ = nullptr; |
| 77 UiElement* video_capture_indicator_ = nullptr; | 77 UiElement* video_capture_indicator_ = nullptr; |
| 78 UiElement* screen_capture_indicator_ = nullptr; |
| 78 UiElement* screen_dimmer_ = nullptr; | 79 UiElement* screen_dimmer_ = nullptr; |
| 79 UrlBar* url_bar_ = nullptr; | 80 UrlBar* url_bar_ = nullptr; |
| 80 LoadingIndicator* loading_indicator_ = nullptr; | 81 LoadingIndicator* loading_indicator_ = nullptr; |
| 81 | 82 |
| 82 bool in_cct_; | 83 bool in_cct_; |
| 83 bool web_vr_mode_; | 84 bool web_vr_mode_; |
| 84 bool secure_origin_ = false; | 85 bool secure_origin_ = false; |
| 85 bool fullscreen_ = false; | 86 bool fullscreen_ = false; |
| 86 bool is_exiting_ = false; | 87 bool is_exiting_ = false; |
| 87 | 88 |
| 88 int next_available_id_ = 1; | 89 int next_available_id_ = 1; |
| 89 | 90 |
| 90 std::vector<UiElement*> content_elements_; | 91 std::vector<UiElement*> content_elements_; |
| 91 std::vector<UiElement*> control_elements_; | 92 std::vector<UiElement*> control_elements_; |
| 92 | 93 |
| 93 base::OneShotTimer security_warning_timer_; | 94 base::OneShotTimer security_warning_timer_; |
| 94 | 95 |
| 95 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; | 96 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; |
| 96 | 97 |
| 97 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); | 98 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 } // namespace vr_shell | 101 } // namespace vr_shell |
| 101 | 102 |
| 102 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ | 103 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ |
| OLD | NEW |