Index: chrome/browser/ui/views/frame/browser_root_view.h |
diff --git a/chrome/browser/ui/views/frame/browser_root_view.h b/chrome/browser/ui/views/frame/browser_root_view.h |
index 6849bb064537a9fcdd0a2afcbf133fa5090f5333..14dfc719734d4a6b31e39e9ca8a14ed4a9aee471 100644 |
--- a/chrome/browser/ui/views/frame/browser_root_view.h |
+++ b/chrome/browser/ui/views/frame/browser_root_view.h |
@@ -39,6 +39,7 @@ class BrowserRootView : public views::internal::RootView { |
int OnPerformDrop(const ui::DropTargetEvent& event) override; |
const char* GetClassName() const override; |
bool OnMouseWheel(const ui::MouseWheelEvent& event) override; |
+ void OnMouseExited(const ui::MouseEvent& event) override; |
private: |
// ui::EventProcessor: |
@@ -68,6 +69,11 @@ class BrowserRootView : public views::internal::RootView { |
// to the tab strip. |
bool forwarding_to_tab_strip_; |
+ // Used to calculate partial offsets in scrolls that occur for a smooth |
+ // scroll device. |
+ int scroll_amount_x_; |
+ int scroll_amount_y_; |
+ |
DISALLOW_COPY_AND_ASSIGN(BrowserRootView); |
}; |