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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/ui_element.cc

Issue 2840183003: VR: Route hover and click events to UI elements. (Closed)
Patch Set: Offer both OnButtonDown() and OnButtonUp(), rather than a combined OnClick() Created 3 years, 8 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/ui_elements/ui_element.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/ui_element.cc b/chrome/browser/android/vr_shell/ui_elements/ui_element.cc
index 42d4c37ea022a8ddd8564144e7dcb22fe4501fa0..0171e505cd854833796758bf52d7ac4f886853df 100644
--- a/chrome/browser/android/vr_shell/ui_elements/ui_element.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/ui_element.cc
@@ -112,6 +112,14 @@ void UiElement::Render(VrShellRenderer* renderer,
void UiElement::Initialize() {}
+void UiElement::OnHoverEnter() {}
+
+void UiElement::OnHoverLeave() {}
+
+void UiElement::OnButtonDown() {}
+
+void UiElement::OnButtonUp() {}
+
void UiElement::Animate(const base::TimeTicks& time) {
for (auto& it : animations) {
Animation& animation = *it;
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/ui_element.h ('k') | chrome/browser/android/vr_shell/vr_shell_gl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698