| 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_AURA_ROOT_WINDOW_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_H_ |
| 6 #define UI_AURA_ROOT_WINDOW_H_ | 6 #define UI_AURA_ROOT_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 | 362 |
| 363 // Use to post mouse move event. | 363 // Use to post mouse move event. |
| 364 base::WeakPtrFactory<RootWindow> event_factory_; | 364 base::WeakPtrFactory<RootWindow> event_factory_; |
| 365 | 365 |
| 366 // Last location seen in a mouse event. | 366 // Last location seen in a mouse event. |
| 367 gfx::Point last_mouse_location_; | 367 gfx::Point last_mouse_location_; |
| 368 | 368 |
| 369 // ui::EventFlags containing the current state of the mouse buttons. | 369 // ui::EventFlags containing the current state of the mouse buttons. |
| 370 int mouse_button_flags_; | 370 int mouse_button_flags_; |
| 371 | 371 |
| 372 // Touch ids that are currently down. |
| 373 uint32 touch_ids_down_; |
| 374 |
| 372 // Last cursor set. Used for testing. | 375 // Last cursor set. Used for testing. |
| 373 gfx::NativeCursor last_cursor_; | 376 gfx::NativeCursor last_cursor_; |
| 374 | 377 |
| 375 // Is the cursor currently shown? Used for testing. | 378 // Is the cursor currently shown? Used for testing. |
| 376 bool cursor_shown_; | 379 bool cursor_shown_; |
| 377 | 380 |
| 378 ObserverList<RootWindowObserver> observers_; | 381 ObserverList<RootWindowObserver> observers_; |
| 379 | 382 |
| 380 // The capture window. When not-null, this window receives all the mouse and | 383 // The capture window. When not-null, this window receives all the mouse and |
| 381 // touch events. | 384 // touch events. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 404 bool draw_on_compositor_unlock_; | 407 bool draw_on_compositor_unlock_; |
| 405 | 408 |
| 406 int draw_trace_count_; | 409 int draw_trace_count_; |
| 407 | 410 |
| 408 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 411 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
| 409 }; | 412 }; |
| 410 | 413 |
| 411 } // namespace aura | 414 } // namespace aura |
| 412 | 415 |
| 413 #endif // UI_AURA_ROOT_WINDOW_H_ | 416 #endif // UI_AURA_ROOT_WINDOW_H_ |
| OLD | NEW |