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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 | 392 |
393 bool synthesize_mouse_move_; | 393 bool synthesize_mouse_move_; |
394 bool waiting_on_compositing_end_; | 394 bool waiting_on_compositing_end_; |
395 bool draw_on_compositing_end_; | 395 bool draw_on_compositing_end_; |
396 | 396 |
397 bool defer_draw_scheduling_; | 397 bool defer_draw_scheduling_; |
398 | 398 |
399 // How many holds are outstanding. We try to defer dispatching mouse moves | 399 // How many holds are outstanding. We try to defer dispatching mouse moves |
400 // while the count is > 0. | 400 // while the count is > 0. |
401 int mouse_move_hold_count_; | 401 int mouse_move_hold_count_; |
402 bool should_hold_mouse_moves_; | |
403 scoped_ptr<MouseEvent> held_mouse_move_; | 402 scoped_ptr<MouseEvent> held_mouse_move_; |
404 | 403 |
405 CompositorLock* compositor_lock_; | 404 CompositorLock* compositor_lock_; |
406 bool draw_on_compositor_unlock_; | 405 bool draw_on_compositor_unlock_; |
407 | 406 |
408 int draw_trace_count_; | 407 int draw_trace_count_; |
409 | 408 |
410 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 409 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
411 }; | 410 }; |
412 | 411 |
413 } // namespace aura | 412 } // namespace aura |
414 | 413 |
415 #endif // UI_AURA_ROOT_WINDOW_H_ | 414 #endif // UI_AURA_ROOT_WINDOW_H_ |
OLD | NEW |