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 #include "ui/aura/root_window.h" | 5 #include "ui/aura/root_window.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "ui/aura/root_window_observer.h" | 24 #include "ui/aura/root_window_observer.h" |
25 #include "ui/aura/window.h" | 25 #include "ui/aura/window.h" |
26 #include "ui/aura/window_delegate.h" | 26 #include "ui/aura/window_delegate.h" |
27 #include "ui/base/gestures/gesture_recognizer.h" | 27 #include "ui/base/gestures/gesture_recognizer.h" |
28 #include "ui/base/gestures/gesture_types.h" | 28 #include "ui/base/gestures/gesture_types.h" |
29 #include "ui/base/hit_test.h" | 29 #include "ui/base/hit_test.h" |
30 #include "ui/compositor/compositor.h" | 30 #include "ui/compositor/compositor.h" |
31 #include "ui/compositor/dip_util.h" | 31 #include "ui/compositor/dip_util.h" |
32 #include "ui/compositor/layer.h" | 32 #include "ui/compositor/layer.h" |
33 #include "ui/compositor/layer_animator.h" | 33 #include "ui/compositor/layer_animator.h" |
34 #include "ui/gfx/monitor.h" | 34 #include "ui/gfx/display.h" |
35 #include "ui/gfx/point3.h" | 35 #include "ui/gfx/point3.h" |
36 #include "ui/gfx/screen.h" | 36 #include "ui/gfx/screen.h" |
37 | 37 |
38 using std::vector; | 38 using std::vector; |
39 | 39 |
40 namespace aura { | 40 namespace aura { |
41 | 41 |
42 namespace { | 42 namespace { |
43 | 43 |
44 // These are the mouse events generated when a gesture goes unprocessed. | 44 // These are the mouse events generated when a gesture goes unprocessed. |
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1016 void RootWindow::UnlockCompositor() { | 1016 void RootWindow::UnlockCompositor() { |
1017 DCHECK(compositor_lock_); | 1017 DCHECK(compositor_lock_); |
1018 compositor_lock_ = NULL; | 1018 compositor_lock_ = NULL; |
1019 if (draw_on_compositor_unlock_) { | 1019 if (draw_on_compositor_unlock_) { |
1020 draw_on_compositor_unlock_ = false; | 1020 draw_on_compositor_unlock_ = false; |
1021 ScheduleDraw(); | 1021 ScheduleDraw(); |
1022 } | 1022 } |
1023 } | 1023 } |
1024 | 1024 |
1025 } // namespace aura | 1025 } // namespace aura |
OLD | NEW |