| 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 75967e3c7c8681d029c998cdd2b71ca1dc869cc6..350797f0380e0ace5c70292e411c51fdc84acb97 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,13 @@ class UrlBar : public TexturedElement {
|
| explicit UrlBar(int preferred_width);
|
| ~UrlBar() override;
|
|
|
| - void OnHoverEnter(const gfx::PointF& position) override;
|
| void OnHoverLeave() override;
|
| - void OnBeginFrame(const base::TimeTicks& begin_frame_time) override;
|
| + void OnHoverEnter(const gfx::PointF& position) override;
|
| + void OnMove(const gfx::PointF& position) override;
|
| + void OnButtonDown(const gfx::PointF& position) override;
|
| void OnButtonUp(const gfx::PointF& position) override;
|
| + bool HitTest(const gfx::PointF& point) const override;
|
| + void OnBeginFrame(const base::TimeTicks& begin_frame_time) override;
|
| void SetEnabled(bool enabled) override;
|
|
|
| void SetURL(const GURL& gurl);
|
| @@ -35,9 +38,12 @@ class UrlBar : public TexturedElement {
|
| private:
|
| void UpdateTexture() override;
|
| UiTexture* GetTexture() const override;
|
| + void OnStateUpdated(const gfx::PointF& position);
|
| +
|
| std::unique_ptr<UrlBarTexture> texture_;
|
| base::Callback<void()> back_button_callback_;
|
| bool enabled_ = false;
|
| + bool down_ = false;
|
| base::TimeTicks last_begin_frame_time_;
|
| base::TimeTicks last_update_time_;
|
|
|
|
|