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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
18 #include "cc/animation/animation_events.h" | |
19 #include "cc/base/region.h" | 18 #include "cc/base/region.h" |
20 #include "cc/layers/content_layer_client.h" | 19 #include "cc/layers/content_layer_client.h" |
21 #include "cc/layers/layer_client.h" | 20 #include "cc/layers/layer_client.h" |
22 #include "cc/layers/surface_layer.h" | 21 #include "cc/layers/surface_layer.h" |
23 #include "cc/layers/texture_layer_client.h" | 22 #include "cc/layers/texture_layer_client.h" |
24 #include "cc/resources/texture_mailbox.h" | 23 #include "cc/resources/texture_mailbox.h" |
25 #include "cc/surfaces/surface_id.h" | 24 #include "cc/surfaces/surface_id.h" |
26 #include "third_party/skia/include/core/SkColor.h" | 25 #include "third_party/skia/include/core/SkColor.h" |
27 #include "third_party/skia/include/core/SkRegion.h" | 26 #include "third_party/skia/include/core/SkRegion.h" |
28 #include "ui/compositor/compositor.h" | 27 #include "ui/compositor/compositor.h" |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 // The size of the frame or texture in DIP, set when SetShowDelegatedContent | 529 // The size of the frame or texture in DIP, set when SetShowDelegatedContent |
531 // or SetTextureMailbox was called. | 530 // or SetTextureMailbox was called. |
532 gfx::Size frame_size_in_dip_; | 531 gfx::Size frame_size_in_dip_; |
533 | 532 |
534 DISALLOW_COPY_AND_ASSIGN(Layer); | 533 DISALLOW_COPY_AND_ASSIGN(Layer); |
535 }; | 534 }; |
536 | 535 |
537 } // namespace ui | 536 } // namespace ui |
538 | 537 |
539 #endif // UI_COMPOSITOR_LAYER_H_ | 538 #endif // UI_COMPOSITOR_LAYER_H_ |
OLD | NEW |