| 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 <memory> | 10 #include <memory> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "third_party/skia/include/core/SkColor.h" | 26 #include "third_party/skia/include/core/SkColor.h" |
| 27 #include "third_party/skia/include/core/SkRegion.h" | 27 #include "third_party/skia/include/core/SkRegion.h" |
| 28 #include "ui/compositor/compositor.h" | 28 #include "ui/compositor/compositor.h" |
| 29 #include "ui/compositor/layer_animation_delegate.h" | 29 #include "ui/compositor/layer_animation_delegate.h" |
| 30 #include "ui/compositor/layer_delegate.h" | 30 #include "ui/compositor/layer_delegate.h" |
| 31 #include "ui/compositor/layer_type.h" | 31 #include "ui/compositor/layer_type.h" |
| 32 #include "ui/gfx/geometry/rect.h" | 32 #include "ui/gfx/geometry/rect.h" |
| 33 #include "ui/gfx/image/image_skia.h" | 33 #include "ui/gfx/image/image_skia.h" |
| 34 #include "ui/gfx/transform.h" | 34 #include "ui/gfx/transform.h" |
| 35 | 35 |
| 36 class SkCanvas; | |
| 37 | |
| 38 namespace cc { | 36 namespace cc { |
| 39 class ContentLayer; | |
| 40 class CopyOutputRequest; | 37 class CopyOutputRequest; |
| 41 class Layer; | 38 class Layer; |
| 42 class NinePatchLayer; | 39 class NinePatchLayer; |
| 43 class ResourceUpdateQueue; | |
| 44 class SolidColorLayer; | 40 class SolidColorLayer; |
| 45 class SurfaceLayer; | 41 class SurfaceLayer; |
| 46 class TextureLayer; | 42 class TextureLayer; |
| 47 struct ReturnedResource; | 43 struct ReturnedResource; |
| 48 typedef std::vector<ReturnedResource> ReturnedResourceArray; | 44 typedef std::vector<ReturnedResource> ReturnedResourceArray; |
| 49 } | 45 } |
| 50 | 46 |
| 51 namespace ui { | 47 namespace ui { |
| 52 | 48 |
| 53 class Compositor; | 49 class Compositor; |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 // The size of the frame or texture in DIP, set when SetShowDelegatedContent | 537 // The size of the frame or texture in DIP, set when SetShowDelegatedContent |
| 542 // or SetTextureMailbox was called. | 538 // or SetTextureMailbox was called. |
| 543 gfx::Size frame_size_in_dip_; | 539 gfx::Size frame_size_in_dip_; |
| 544 | 540 |
| 545 DISALLOW_COPY_AND_ASSIGN(Layer); | 541 DISALLOW_COPY_AND_ASSIGN(Layer); |
| 546 }; | 542 }; |
| 547 | 543 |
| 548 } // namespace ui | 544 } // namespace ui |
| 549 | 545 |
| 550 #endif // UI_COMPOSITOR_LAYER_H_ | 546 #endif // UI_COMPOSITOR_LAYER_H_ |
| OLD | NEW |