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

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

Issue 2888283005: VR: Fix HTTP warning staying visible after exiting WebVR. (Closed)
Patch Set: Remove CCT TODO and add a test for it; fix EXPECTs on booleans; cleanup. Created 3 years, 7 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.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;

Powered by Google App Engine
This is Rietveld 408576698