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_LAYER_H_ | 5 #ifndef UI_COMPOSITOR_LAYER_H_ |
6 #define UI_COMPOSITOR_LAYER_H_ | 6 #define UI_COMPOSITOR_LAYER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
15 #include "cc/animation/animation_events.h" | 15 #include "cc/animation/animation_events.h" |
16 #include "cc/animation/layer_animation_event_observer.h" | 16 #include "cc/animation/layer_animation_event_observer.h" |
17 #include "cc/base/scoped_ptr_vector.h" | 17 #include "cc/base/scoped_ptr_vector.h" |
18 #include "cc/content_layer_client.h" | 18 #include "cc/layers/content_layer_client.h" |
19 #include "cc/texture_layer_client.h" | 19 #include "cc/layers/texture_layer_client.h" |
20 #include "third_party/skia/include/core/SkColor.h" | 20 #include "third_party/skia/include/core/SkColor.h" |
21 #include "third_party/skia/include/core/SkRegion.h" | 21 #include "third_party/skia/include/core/SkRegion.h" |
22 #include "ui/compositor/compositor.h" | 22 #include "ui/compositor/compositor.h" |
23 #include "ui/compositor/layer_animation_delegate.h" | 23 #include "ui/compositor/layer_animation_delegate.h" |
24 #include "ui/compositor/layer_delegate.h" | 24 #include "ui/compositor/layer_delegate.h" |
25 #include "ui/compositor/layer_type.h" | 25 #include "ui/compositor/layer_type.h" |
26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
27 #include "ui/gfx/transform.h" | 27 #include "ui/gfx/transform.h" |
28 | 28 |
29 class SkCanvas; | 29 class SkCanvas; |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 // The size of the delegated frame in DIP, set when SetDelegatedFrame was | 463 // The size of the delegated frame in DIP, set when SetDelegatedFrame was |
464 // called. | 464 // called. |
465 gfx::Size delegated_frame_size_in_dip_; | 465 gfx::Size delegated_frame_size_in_dip_; |
466 | 466 |
467 DISALLOW_COPY_AND_ASSIGN(Layer); | 467 DISALLOW_COPY_AND_ASSIGN(Layer); |
468 }; | 468 }; |
469 | 469 |
470 } // namespace ui | 470 } // namespace ui |
471 | 471 |
472 #endif // UI_COMPOSITOR_LAYER_H_ | 472 #endif // UI_COMPOSITOR_LAYER_H_ |
OLD | NEW |