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_COMPOSITOR_COMPOSITOR_H_ | 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_ |
6 #define UI_COMPOSITOR_COMPOSITOR_H_ | 6 #define UI_COMPOSITOR_COMPOSITOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "cc/trees/layer_tree_host_client.h" | 15 #include "cc/trees/layer_tree_host_client.h" |
16 #include "cc/trees/layer_tree_host_single_thread_client.h" | 16 #include "cc/trees/layer_tree_host_single_thread_client.h" |
17 #include "third_party/skia/include/core/SkColor.h" | 17 #include "third_party/skia/include/core/SkColor.h" |
18 #include "ui/compositor/compositor_export.h" | 18 #include "ui/compositor/compositor_export.h" |
19 #include "ui/compositor/compositor_observer.h" | 19 #include "ui/compositor/compositor_observer.h" |
20 #include "ui/compositor/layer_animator_collection.h" | 20 #include "ui/compositor/layer_animator_collection.h" |
| 21 #include "ui/gfx/geometry/vector2d.h" |
21 #include "ui/gfx/native_widget_types.h" | 22 #include "ui/gfx/native_widget_types.h" |
22 #include "ui/gfx/size.h" | 23 #include "ui/gfx/size.h" |
23 #include "ui/gfx/vector2d.h" | |
24 | 24 |
25 class SkBitmap; | 25 class SkBitmap; |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 class MessageLoopProxy; | 28 class MessageLoopProxy; |
29 class RunLoop; | 29 class RunLoop; |
30 } | 30 } |
31 | 31 |
32 namespace cc { | 32 namespace cc { |
33 class ContextProvider; | 33 class ContextProvider; |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 LayerAnimatorCollection layer_animator_collection_; | 301 LayerAnimatorCollection layer_animator_collection_; |
302 | 302 |
303 base::WeakPtrFactory<Compositor> schedule_draw_factory_; | 303 base::WeakPtrFactory<Compositor> schedule_draw_factory_; |
304 | 304 |
305 DISALLOW_COPY_AND_ASSIGN(Compositor); | 305 DISALLOW_COPY_AND_ASSIGN(Compositor); |
306 }; | 306 }; |
307 | 307 |
308 } // namespace ui | 308 } // namespace ui |
309 | 309 |
310 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 310 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
OLD | NEW |