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

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

Issue 2773903003: Add way to get native VR UI information from Java (Closed)
Patch Set: Cleanup Created 3 years, 9 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/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 7a035eb8b69efa6ff351e3f7ca1e5e02ce9183ea..d6238f689bd07bb2682aa3a67e99c9d6543510f2 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -15,6 +15,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 "device/vr/android/gvr/gvr_delegate.h"
#include "device/vr/vr_service.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -108,6 +109,11 @@ 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(
+ std::vector<int> element_ids,
+ int callback_id,
+ const base::Callback<void(int, std::unique_ptr<base::DictionaryValue>)>
+ onCreated);
private:
void GvrInit(gvr_context* gvr_api);

Powered by Google App Engine
This is Rietveld 408576698