| 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_events.h" | 15 #include "cc/animation_events.h" |
| 16 #include "cc/base/scoped_ptr_vector.h" |
| 16 #include "cc/content_layer_client.h" | 17 #include "cc/content_layer_client.h" |
| 17 #include "cc/layer_animation_event_observer.h" | 18 #include "cc/layer_animation_event_observer.h" |
| 18 #include "cc/scoped_ptr_vector.h" | |
| 19 #include "cc/texture_layer_client.h" | 19 #include "cc/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 |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 // The size of the delegated frame in DIP, set when SetDelegatedFrame was | 454 // The size of the delegated frame in DIP, set when SetDelegatedFrame was |
| 455 // called. | 455 // called. |
| 456 gfx::Size delegated_frame_size_in_dip_; | 456 gfx::Size delegated_frame_size_in_dip_; |
| 457 | 457 |
| 458 DISALLOW_COPY_AND_ASSIGN(Layer); | 458 DISALLOW_COPY_AND_ASSIGN(Layer); |
| 459 }; | 459 }; |
| 460 | 460 |
| 461 } // namespace ui | 461 } // namespace ui |
| 462 | 462 |
| 463 #endif // UI_COMPOSITOR_LAYER_H_ | 463 #endif // UI_COMPOSITOR_LAYER_H_ |
| OLD | NEW |