| 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" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 | 12 |
| 13 namespace vr_shell { | 13 namespace vr_shell { |
| 14 | 14 |
| 15 struct UiElement; | 15 class UiElement; |
| 16 class UiScene; | 16 class UiScene; |
| 17 class VrBrowserInterface; | 17 class VrBrowserInterface; |
| 18 | 18 |
| 19 class UiSceneManager { | 19 class UiSceneManager { |
| 20 public: | 20 public: |
| 21 UiSceneManager(VrBrowserInterface* browser, UiScene* scene); | 21 UiSceneManager(VrBrowserInterface* browser, UiScene* scene); |
| 22 ~UiSceneManager(); | 22 ~UiSceneManager(); |
| 23 | 23 |
| 24 base::WeakPtr<UiSceneManager> GetWeakPtr(); | 24 base::WeakPtr<UiSceneManager> GetWeakPtr(); |
| 25 | 25 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 56 base::OneShotTimer security_warning_timer_; | 56 base::OneShotTimer security_warning_timer_; |
| 57 | 57 |
| 58 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; | 58 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; |
| 59 | 59 |
| 60 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); | 60 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace vr_shell | 63 } // namespace vr_shell |
| 64 | 64 |
| 65 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ | 65 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ |
| OLD | NEW |