Index: ui/app_list/views/apps_grid_view.h |
diff --git a/ui/app_list/views/apps_grid_view.h b/ui/app_list/views/apps_grid_view.h |
index ed570e2dac15e9daa7c7fb93b20ee3e1d80517e8..9c201641f15d6b7e198aba6ada63937f80087028 100644 |
--- a/ui/app_list/views/apps_grid_view.h |
+++ b/ui/app_list/views/apps_grid_view.h |
@@ -222,6 +222,10 @@ class APP_LIST_EXPORT AppsGridView : public views::View, |
// Cancels any context menus showing for app items on the current page. |
void CancelContextMenusOnCurrentPage(); |
+ // Returnes true if |point| lies within the bounds of this grid view plus a |
+ // buffer area surrounding it. |
+ bool IsPointWithinDragBuffer(const gfx::Point& point) const; |
+ |
// Overridden from views::ButtonListener: |
virtual void ButtonPressed(views::Button* sender, |
const ui::Event& event) OVERRIDE; |
@@ -273,6 +277,9 @@ class APP_LIST_EXPORT AppsGridView : public views::View, |
// The location of |drag_view_| when the drag started. |
gfx::Point drag_view_start_; |
+ // Page the drag started on. |
+ int drag_start_page_; |
+ |
#if defined(OS_WIN) && !defined(USE_AURA) |
// Created when a drag is started (ie: drag exceeds the drag threshold), but |
// not Run() until supplied with a shortcut path. |