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

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

Issue 2688113002: Make ViewRoot the top of the ViewAndroid tree (Closed)
Patch Set: - Created 3 years, 10 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 81c0ed93a506f108f34cc22ca34ea0ce49e6fb75..5b8b419cbe841c4a5194a661ac3ccbd398d07cee 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -33,7 +33,7 @@ class WebContents;
}
namespace ui {
-class WindowAndroid;
+class ViewRoot;
}
namespace vr_shell {
@@ -64,11 +64,12 @@ class VrMetricsHelper;
// must only be used on the UI thread.
class VrShell : public device::GvrDelegate, content::WebContentsObserver {
public:
- VrShell(JNIEnv* env, jobject obj,
+ 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