| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ |
| 6 #define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 // The point where the drag started in AppListItemView coordinates. | 267 // The point where the drag started in AppListItemView coordinates. |
| 268 gfx::Point drag_view_offset_; | 268 gfx::Point drag_view_offset_; |
| 269 | 269 |
| 270 // The point where the drag started in GridView coordinates. | 270 // The point where the drag started in GridView coordinates. |
| 271 gfx::Point drag_start_grid_view_; | 271 gfx::Point drag_start_grid_view_; |
| 272 | 272 |
| 273 // The location of |drag_view_| when the drag started. | 273 // The location of |drag_view_| when the drag started. |
| 274 gfx::Point drag_view_start_; | 274 gfx::Point drag_view_start_; |
| 275 | 275 |
| 276 // Page the drag started on. |
| 277 int drag_start_page_; |
| 278 |
| 276 #if defined(OS_WIN) && !defined(USE_AURA) | 279 #if defined(OS_WIN) && !defined(USE_AURA) |
| 277 // Created when a drag is started (ie: drag exceeds the drag threshold), but | 280 // Created when a drag is started (ie: drag exceeds the drag threshold), but |
| 278 // not Run() until supplied with a shortcut path. | 281 // not Run() until supplied with a shortcut path. |
| 279 scoped_refptr<SynchronousDrag> synchronous_drag_; | 282 scoped_refptr<SynchronousDrag> synchronous_drag_; |
| 280 #endif | 283 #endif |
| 281 | 284 |
| 282 Pointer drag_pointer_; | 285 Pointer drag_pointer_; |
| 283 Index drop_target_; | 286 Index drop_target_; |
| 284 | 287 |
| 285 // An application target drag and drop host which accepts dnd operations. | 288 // An application target drag and drop host which accepts dnd operations. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 303 int page_flip_delay_in_ms_; | 306 int page_flip_delay_in_ms_; |
| 304 | 307 |
| 305 views::BoundsAnimator bounds_animator_; | 308 views::BoundsAnimator bounds_animator_; |
| 306 | 309 |
| 307 DISALLOW_COPY_AND_ASSIGN(AppsGridView); | 310 DISALLOW_COPY_AND_ASSIGN(AppsGridView); |
| 308 }; | 311 }; |
| 309 | 312 |
| 310 } // namespace app_list | 313 } // namespace app_list |
| 311 | 314 |
| 312 #endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ | 315 #endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ |
| OLD | NEW |