Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: cc/layers/draw_properties.h

Issue 1939143002: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_LAYERS_DRAW_PROPERTIES_H_ 5 #ifndef CC_LAYERS_DRAW_PROPERTIES_H_
6 #define CC_LAYERS_DRAW_PROPERTIES_H_ 6 #define CC_LAYERS_DRAW_PROPERTIES_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "cc/trees/occlusion.h" 12 #include "cc/trees/occlusion.h"
13 #include "third_party/skia/include/core/SkXfermode.h"
14 #include "ui/gfx/geometry/rect.h" 13 #include "ui/gfx/geometry/rect.h"
15 #include "ui/gfx/transform.h" 14 #include "ui/gfx/transform.h"
16 15
17 namespace cc { 16 namespace cc {
18 class RenderSurfaceImpl; 17 class RenderSurfaceImpl;
19 18
20 // Container for properties that layers need to compute before they can be 19 // Container for properties that layers need to compute before they can be
21 // drawn. 20 // drawn.
22 struct CC_EXPORT DrawProperties { 21 struct CC_EXPORT DrawProperties {
23 DrawProperties(); 22 DrawProperties();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 float maximum_animation_contents_scale; 70 float maximum_animation_contents_scale;
72 71
73 // The scale during the layer animation start at which content should be 72 // The scale during the layer animation start at which content should be
74 // rastered at to be crisp. 73 // rastered at to be crisp.
75 float starting_animation_contents_scale; 74 float starting_animation_contents_scale;
76 }; 75 };
77 76
78 } // namespace cc 77 } // namespace cc
79 78
80 #endif // CC_LAYERS_DRAW_PROPERTIES_H_ 79 #endif // CC_LAYERS_DRAW_PROPERTIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698