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

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

Issue 2878083003: VR Shell: Allow UI elements to determine hit testing. (Closed)
Patch Set: Remove unrelated changes Created 3 years, 7 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/url_bar.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/url_bar.h b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
index ab6ea7e90f3d26b03d3b46c597b7ffe4eab2e104..75967e3c7c8681d029c998cdd2b71ca1dc869cc6 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
@@ -22,10 +22,10 @@ class UrlBar : public TexturedElement {
explicit UrlBar(int preferred_width);
~UrlBar() override;
- void OnHoverEnter(gfx::PointF position) override;
+ void OnHoverEnter(const gfx::PointF& position) override;
void OnHoverLeave() override;
void OnBeginFrame(const base::TimeTicks& begin_frame_time) override;
- void OnButtonUp(gfx::PointF position) override;
+ void OnButtonUp(const gfx::PointF& position) override;
void SetEnabled(bool enabled) override;
void SetURL(const GURL& gurl);
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/ui_element.cc ('k') | chrome/browser/android/vr_shell/ui_elements/url_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698