| 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 ASH_SHELF_SHELF_VIEW_H_ | 5 #ifndef ASH_SHELF_SHELF_VIEW_H_ |
| 6 #define ASH_SHELF_SHELF_VIEW_H_ | 6 #define ASH_SHELF_SHELF_VIEW_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 | 428 |
| 429 // True when this ShelfView is used for Overflow Bubble. | 429 // True when this ShelfView is used for Overflow Bubble. |
| 430 bool overflow_mode_; | 430 bool overflow_mode_; |
| 431 | 431 |
| 432 // Holds a pointer to main ShelfView when a ShelfView is in overflow mode. | 432 // Holds a pointer to main ShelfView when a ShelfView is in overflow mode. |
| 433 ShelfView* main_shelf_; | 433 ShelfView* main_shelf_; |
| 434 | 434 |
| 435 // True when ripped item from overflow bubble is entered into Shelf. | 435 // True when ripped item from overflow bubble is entered into Shelf. |
| 436 bool dragged_off_from_overflow_to_shelf_; | 436 bool dragged_off_from_overflow_to_shelf_; |
| 437 | 437 |
| 438 // Record the position of each pointer down event. |
| 439 gfx::Point pointer_pressed_position_; |
| 440 |
| 441 // True if the pointer press position is the same with the previous one. |
| 442 bool pressed_on_same_position_; |
| 443 |
| 438 DISALLOW_COPY_AND_ASSIGN(ShelfView); | 444 DISALLOW_COPY_AND_ASSIGN(ShelfView); |
| 439 }; | 445 }; |
| 440 | 446 |
| 441 } // namespace ash | 447 } // namespace ash |
| 442 | 448 |
| 443 #endif // ASH_SHELF_SHELF_VIEW_H_ | 449 #endif // ASH_SHELF_SHELF_VIEW_H_ |
| OLD | NEW |