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

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

Issue 2434013002: Implement a means of letting native VR Shell control the HTML UI. (Closed)
Patch Set: Remove use of cr.define() Created 4 years, 2 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
« no previous file with comments | « chrome/browser/android/vr_shell/ui_interface.cc ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_shell.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index c5fc1b7d55959b062303bff24e218587387e7022..dce6bcb6a8df3748478887a4ad3dd3986a560eb8 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -28,6 +28,7 @@ class WindowAndroid;
namespace vr_shell {
+class UiInterface;
class UiScene;
class VrCompositor;
class VrController;
@@ -79,6 +80,7 @@ class VrShell : public device::GvrDelegate {
static base::WeakPtr<VrShell> GetWeakPtr(
const content::WebContents* web_contents);
UiScene* GetScene();
+ UiInterface* GetUiInterface();
void OnDomContentsLoaded();
// device::GvrDelegate implementation
@@ -141,6 +143,7 @@ class VrShell : public device::GvrDelegate {
float desktop_height_;
std::unique_ptr<UiScene> scene_;
+ std::unique_ptr<UiInterface> html_interface_;
std::unique_ptr<gvr::GvrApi> gvr_api_;
std::unique_ptr<gvr::BufferViewportList> buffer_viewport_list_;
« no previous file with comments | « chrome/browser/android/vr_shell/ui_interface.cc ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698