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

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: Switch to using names instead of IDs 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..5447498be421974446b8180a9eaecda8dd605fc3 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 "device/vr/android/gvr/gvr_delegate.h"
#include "device/vr/vr_service.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -108,6 +110,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<std::string> element_names,
cjgrant 2017/03/29 21:16:06 const std::vector<std::string>&... Again, avoid t
bsheedy 2017/03/29 22:33:45 Done.
+ int callback_id,
+ const base::Callback<void(int, std::unique_ptr<base::DictionaryValue>)>
+ on_created);
private:
void GvrInit(gvr_context* gvr_api);

Powered by Google App Engine
This is Rietveld 408576698