| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 VIEWS_WIDGET_ROOT_VIEW_H_ | 5 #ifndef VIEWS_WIDGET_ROOT_VIEW_H_ |
| 6 #define VIEWS_WIDGET_ROOT_VIEW_H_ | 6 #define VIEWS_WIDGET_ROOT_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 | 338 |
| 339 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the | 339 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the |
| 340 // view the drag started from. | 340 // view the drag started from. |
| 341 View* drag_view_; | 341 View* drag_view_; |
| 342 | 342 |
| 343 #if defined(TOUCH_UI) | 343 #if defined(TOUCH_UI) |
| 344 // The gesture_manager_ for this. | 344 // The gesture_manager_ for this. |
| 345 GestureManager* gesture_manager_; | 345 GestureManager* gesture_manager_; |
| 346 | 346 |
| 347 // The view currently handling touch events. | 347 // The view currently handling touch events. |
| 348 View *touch_pressed_handler_; | 348 View* touch_pressed_handler_; |
| 349 #endif | 349 #endif |
| 350 | 350 |
| 351 #ifndef NDEBUG | 351 #ifndef NDEBUG |
| 352 // True if we're currently processing paint. | 352 // True if we're currently processing paint. |
| 353 bool is_processing_paint_; | 353 bool is_processing_paint_; |
| 354 #endif | 354 #endif |
| 355 DISALLOW_COPY_AND_ASSIGN(RootView); | 355 DISALLOW_COPY_AND_ASSIGN(RootView); |
| 356 }; | 356 }; |
| 357 } // namespace views | 357 } // namespace views |
| 358 | 358 |
| 359 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ | 359 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ |
| OLD | NEW |