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

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

Issue 2595263002: Introduce ViewRoot forwarding input/view events to native (Closed)
Patch Set: rebased & ViewAndroud::Bounds Created 3 years, 11 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.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index ed30c1d3f14a9dd171046e76fa410ed0fc0228fa..ecb1867efeae48c944244ca2f7280b4c74accc39 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -29,7 +29,7 @@ class WebContents;
}
namespace ui {
-class WindowAndroid;
+class ViewRoot;
}
namespace vr_shell {
@@ -58,9 +58,9 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
public:
VrShell(JNIEnv* env, jobject obj,
content::WebContents* main_contents,
- ui::WindowAndroid* content_window,
+ ui::ViewRoot* content_view_root,
content::WebContents* ui_contents,
- ui::WindowAndroid* ui_window,
+ ui::ViewRoot* ui_view_root,
bool for_web_vr,
VrShellDelegate* delegate,
gvr_context* gvr_api,

Powered by Google App Engine
This is Rietveld 408576698