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

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

Issue 2688813004: Enable scrolling of UI elements. (Closed)
Patch Set: Sent scroll events to latest scrolling target 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_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 6ce20e7009bc086f0d9eed3888a8a1d06af9a559..ba25c730250a87c8b1fa9df9ebd1e90526ded7c0 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -166,6 +166,7 @@ class VrShellGl : public device::mojom::VRVSyncProvider {
gvr::Vec3f target_point_;
const ContentRectangle* target_element_ = nullptr;
InputTarget current_input_target_ = InputTarget::NONE;
+ InputTarget current_scroll_target = InputTarget::NONE;
int ui_tex_css_width_ = 0;
int ui_tex_css_height_ = 0;
int content_tex_css_width_ = 0;
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('j') | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698