| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ | 5 #ifndef CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ |
| 6 #define CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ | 6 #define CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_LINUX) | 10 #if defined(OS_LINUX) |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 | 279 |
| 280 // If a view is dragging, this returns it. Otherwise returns NULL. | 280 // If a view is dragging, this returns it. Otherwise returns NULL. |
| 281 View* GetDragView(); | 281 View* GetDragView(); |
| 282 | 282 |
| 283 // The view currently handing down - drag - up | 283 // The view currently handing down - drag - up |
| 284 View* mouse_pressed_handler_; | 284 View* mouse_pressed_handler_; |
| 285 | 285 |
| 286 // The view currently handling enter / exit | 286 // The view currently handling enter / exit |
| 287 View* mouse_move_handler_; | 287 View* mouse_move_handler_; |
| 288 | 288 |
| 289 // The last view to handle a mouse click, so that we can determine if |
| 290 // a double-click lands on the same view as its single-click part. |
| 291 View* last_click_handler_; |
| 292 |
| 289 // The host Widget | 293 // The host Widget |
| 290 Widget* widget_; | 294 Widget* widget_; |
| 291 | 295 |
| 292 // The rectangle that should be painted | 296 // The rectangle that should be painted |
| 293 gfx::Rect invalid_rect_; | 297 gfx::Rect invalid_rect_; |
| 294 | 298 |
| 295 // Whether the current invalid rect should be painted urgently. | 299 // Whether the current invalid rect should be painted urgently. |
| 296 bool invalid_rect_urgent_; | 300 bool invalid_rect_urgent_; |
| 297 | 301 |
| 298 // The task that we are using to trigger some non urgent painting or NULL | 302 // The task that we are using to trigger some non urgent painting or NULL |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 | 362 |
| 359 #ifndef NDEBUG | 363 #ifndef NDEBUG |
| 360 // True if we're currently processing paint. | 364 // True if we're currently processing paint. |
| 361 bool is_processing_paint_; | 365 bool is_processing_paint_; |
| 362 #endif | 366 #endif |
| 363 }; | 367 }; |
| 364 | 368 |
| 365 } // namespace views | 369 } // namespace views |
| 366 | 370 |
| 367 #endif // CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ | 371 #endif // CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ |
| OLD | NEW |