| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 // UI element pointers (not owned by the scene manager). | 60 // UI element pointers (not owned by the scene manager). |
| 61 UiElement* permanent_security_warning_ = nullptr; | 61 UiElement* permanent_security_warning_ = nullptr; |
| 62 UiElement* transient_security_warning_ = nullptr; | 62 UiElement* transient_security_warning_ = nullptr; |
| 63 UiElement* main_content_ = nullptr; | 63 UiElement* main_content_ = nullptr; |
| 64 UrlBar* url_bar_ = nullptr; | 64 UrlBar* url_bar_ = nullptr; |
| 65 | 65 |
| 66 bool in_cct_; | 66 bool in_cct_; |
| 67 bool web_vr_mode_; | 67 bool web_vr_mode_; |
| 68 bool secure_origin_ = false; | 68 bool secure_origin_ = false; |
| 69 bool content_rendering_enabled_ = true; | |
| 70 | 69 |
| 71 int next_available_id_ = 1; | 70 int next_available_id_ = 1; |
| 72 | 71 |
| 73 std::vector<UiElement*> browser_ui_elements_; | 72 std::vector<UiElement*> browser_ui_elements_; |
| 74 | 73 |
| 75 base::OneShotTimer security_warning_timer_; | 74 base::OneShotTimer security_warning_timer_; |
| 76 | 75 |
| 77 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; | 76 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; |
| 78 | 77 |
| 79 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); | 78 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace vr_shell | 81 } // namespace vr_shell |
| 83 | 82 |
| 84 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ | 83 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ |
| OLD | NEW |