Index: chrome/browser/android/vr_shell/vr_shell_gl.h |
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.h b/chrome/browser/android/vr_shell/vr_shell_gl.h |
index 2bba8c2585c2fc47f578e37936783c3d0ddf0387..3940c8c41c1cd965a82a1a8005a13463782e8f05 100644 |
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h |
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h |
@@ -7,6 +7,7 @@ |
#include <memory> |
#include <queue> |
+#include <string> |
#include <utility> |
#include <vector> |
@@ -15,6 +16,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "base/single_thread_task_runner.h" |
+#include "base/values.h" |
#include "chrome/browser/android/vr_shell/vr_controller_model.h" |
#include "device/vr/android/gvr/gvr_delegate.h" |
#include "device/vr/vr_service.mojom.h" |
@@ -111,6 +113,10 @@ class VrShellGl : public device::mojom::VRVSyncProvider { |
void SubmitWebVRFrame(int16_t frame_index, const gpu::MailboxHolder& mailbox); |
void SetSubmitClient( |
device::mojom::VRSubmitFrameClientPtrInfo submit_client_info); |
+ void CreateUiElementInfos( |
+ const std::vector<std::string>& element_names, |
+ const base::Callback<void(std::unique_ptr<base::DictionaryValue>)>& |
+ on_created); |
private: |
void GvrInit(gvr_context* gvr_api); |