OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_ | 5 #ifndef CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_ |
6 #define CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_ | 6 #define CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <utility> | 10 #include <utility> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
12 #include "cc/layers/content_layer_client.h" | 14 #include "cc/layers/content_layer_client.h" |
13 #include "third_party/skia/include/core/SkPaint.h" | 15 #include "third_party/skia/include/core/SkPaint.h" |
14 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
15 #include "ui/gfx/geometry/rect_f.h" | 17 #include "ui/gfx/geometry/rect_f.h" |
16 #include "ui/gfx/transform.h" | 18 #include "ui/gfx/transform.h" |
17 | 19 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 SkCanvas* last_canvas_; | 102 SkCanvas* last_canvas_; |
101 PaintingControlSetting last_painting_control_; | 103 PaintingControlSetting last_painting_control_; |
102 size_t reported_memory_usage_; | 104 size_t reported_memory_usage_; |
103 gfx::Size bounds_; | 105 gfx::Size bounds_; |
104 bool bounds_set_; | 106 bool bounds_set_; |
105 }; | 107 }; |
106 | 108 |
107 } // namespace cc | 109 } // namespace cc |
108 | 110 |
109 #endif // CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_ | 111 #endif // CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_ |
OLD | NEW |