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/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/layers/content_layer_client.h" | 18 #include "cc/layers/content_layer_client.h" |
19 #include "cc/layers/texture_layer_client.h" | 19 #include "cc/layers/texture_layer_client.h" |
20 #include "cc/resources/texture_mailbox.h" | 20 #include "cc/resources/texture_mailbox.h" |
21 #include "third_party/skia/include/core/SkColor.h" | 21 #include "third_party/skia/include/core/SkColor.h" |
22 #include "third_party/skia/include/core/SkRegion.h" | 22 #include "third_party/skia/include/core/SkRegion.h" |
23 #include "ui/compositor/compositor.h" | 23 #include "ui/compositor/compositor.h" |
24 #include "ui/compositor/layer_animation_delegate.h" | 24 #include "ui/compositor/layer_animation_delegate.h" |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 // The size of the delegated frame in DIP, set when SetDelegatedFrame was | 486 // The size of the delegated frame in DIP, set when SetDelegatedFrame was |
487 // called. | 487 // called. |
488 gfx::Size delegated_frame_size_in_dip_; | 488 gfx::Size delegated_frame_size_in_dip_; |
489 | 489 |
490 DISALLOW_COPY_AND_ASSIGN(Layer); | 490 DISALLOW_COPY_AND_ASSIGN(Layer); |
491 }; | 491 }; |
492 | 492 |
493 } // namespace ui | 493 } // namespace ui |
494 | 494 |
495 #endif // UI_COMPOSITOR_LAYER_H_ | 495 #endif // UI_COMPOSITOR_LAYER_H_ |
OLD | NEW |