| 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> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
| 18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
| 19 #include "cc/base/region.h" | 19 #include "cc/base/region.h" |
| 20 #include "cc/layers/content_layer_client.h" | 20 #include "cc/layers/content_layer_client.h" |
| 21 #include "cc/layers/layer.h" |
| 21 #include "cc/layers/layer_client.h" | 22 #include "cc/layers/layer_client.h" |
| 22 #include "cc/layers/surface_layer.h" | 23 #include "cc/layers/surface_layer.h" |
| 23 #include "cc/layers/texture_layer_client.h" | 24 #include "cc/layers/texture_layer_client.h" |
| 24 #include "cc/resources/texture_mailbox.h" | 25 #include "cc/resources/texture_mailbox.h" |
| 25 #include "cc/surfaces/sequence_surface_reference_factory.h" | 26 #include "cc/surfaces/sequence_surface_reference_factory.h" |
| 26 #include "third_party/skia/include/core/SkColor.h" | 27 #include "third_party/skia/include/core/SkColor.h" |
| 27 #include "third_party/skia/include/core/SkRegion.h" | 28 #include "third_party/skia/include/core/SkRegion.h" |
| 28 #include "ui/compositor/compositor.h" | 29 #include "ui/compositor/compositor.h" |
| 29 #include "ui/compositor/layer_animation_delegate.h" | 30 #include "ui/compositor/layer_animation_delegate.h" |
| 30 #include "ui/compositor/layer_delegate.h" | 31 #include "ui/compositor/layer_delegate.h" |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 // The size of the frame or texture in DIP, set when SetShowDelegatedContent | 554 // The size of the frame or texture in DIP, set when SetShowDelegatedContent |
| 554 // or SetTextureMailbox was called. | 555 // or SetTextureMailbox was called. |
| 555 gfx::Size frame_size_in_dip_; | 556 gfx::Size frame_size_in_dip_; |
| 556 | 557 |
| 557 DISALLOW_COPY_AND_ASSIGN(Layer); | 558 DISALLOW_COPY_AND_ASSIGN(Layer); |
| 558 }; | 559 }; |
| 559 | 560 |
| 560 } // namespace ui | 561 } // namespace ui |
| 561 | 562 |
| 562 #endif // UI_COMPOSITOR_LAYER_H_ | 563 #endif // UI_COMPOSITOR_LAYER_H_ |
| OLD | NEW |