Index: chrome/browser/android/vr_shell/ui_scene.h |
diff --git a/chrome/browser/android/vr_shell/ui_scene.h b/chrome/browser/android/vr_shell/ui_scene.h |
index 712f0e9ddc6125ea2b162c9488ff44846e4f4c46..b78b24ac73a67c995e5191700d7747c5320a8dbd 100644 |
--- a/chrome/browser/android/vr_shell/ui_scene.h |
+++ b/chrome/browser/android/vr_shell/ui_scene.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
+#include "chrome/browser/android/vr_shell/ui_elements/ui_element_identifiers.h" |
#include "device/vr/vr_types.h" |
namespace base { |
@@ -57,7 +58,8 @@ class UiScene { |
const std::vector<std::unique_ptr<UiElement>>& GetUiElements() const; |
- UiElement* GetUiElementById(int element_id); |
+ UiElement* GetUiElementById(int element_id) const; |
+ UiElement* GetUiElementByIdentifier(UiElementIdentifier identifier) const; |
std::vector<const UiElement*> GetWorldElements() const; |
std::vector<const UiElement*> GetHeadLockedElements() const; |