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

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

Issue 2878543002: Refactor VR Shell Input. Locks input to click/scroll targets. (Closed)
Patch Set: Address comments 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 8c596f70e8892c4cba5018b763c16b52d006b829..3ce3d80f5bb5c2db31a87130dc7ed37e2d4eafc1 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
@@ -21,10 +21,11 @@ class UrlBar : public TexturedElement {
explicit UrlBar(int preferred_width);
~UrlBar() override;
- void OnHoverEnter() override;
+ void OnHoverEnter(gfx::PointF position) override;
void OnHoverLeave() override;
- void OnButtonUp() override;
+ void OnButtonUp(gfx::PointF position) override;
void SetEnabled(bool enabled);
+
void SetURL(const GURL& gurl);
void SetSecurityLevel(int level);
void SetBackButtonCallback(const base::Callback<void()>& callback);
« 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