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

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

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/layers/render_surface_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 5
6 #ifndef CC_LAYERS_RENDER_SURFACE_H_ 6 #ifndef CC_LAYERS_RENDER_SURFACE_H_
7 #define CC_LAYERS_RENDER_SURFACE_H_ 7 #define CC_LAYERS_RENDER_SURFACE_H_
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void SetReplicaScreenSpaceTransform( 61 void SetReplicaScreenSpaceTransform(
62 const gfx::Transform& replica_screen_space_transform) { 62 const gfx::Transform& replica_screen_space_transform) {
63 replica_screen_space_transform_ = replica_screen_space_transform; 63 replica_screen_space_transform_ = replica_screen_space_transform;
64 } 64 }
65 const gfx::Transform& replica_screen_space_transform() const { 65 const gfx::Transform& replica_screen_space_transform() const {
66 return replica_screen_space_transform_; 66 return replica_screen_space_transform_;
67 } 67 }
68 68
69 void SetTargetSurfaceTransformsAreAnimating(bool animating) { 69 void SetTargetSurfaceTransformsAreAnimating(bool animating) {
70 target_surface_transforms_are_animating_ = animating; 70 target_surface_transforms_are_animating_ = animating;
71 } 71 }
72 bool target_surface_transforms_are_animating() const { 72 bool target_surface_transforms_are_animating() const {
73 return target_surface_transforms_are_animating_; 73 return target_surface_transforms_are_animating_;
74 } 74 }
75 void SetScreenSpaceTransformsAreAnimating(bool animating) { 75 void SetScreenSpaceTransformsAreAnimating(bool animating) {
76 screen_space_transforms_are_animating_ = animating; 76 screen_space_transforms_are_animating_ = animating;
77 } 77 }
78 bool screen_space_transforms_are_animating() const { 78 bool screen_space_transforms_are_animating() const {
79 return screen_space_transforms_are_animating_; 79 return screen_space_transforms_are_animating_;
80 } 80 }
81 81
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // a blur). This can point to itself. 128 // a blur). This can point to itself.
129 RenderSurface* nearest_ancestor_that_moves_pixels_; 129 RenderSurface* nearest_ancestor_that_moves_pixels_;
130 130
131 // For LayerIteratorActions 131 // For LayerIteratorActions
132 int target_render_surface_layer_index_history_; 132 int target_render_surface_layer_index_history_;
133 int current_layer_index_history_; 133 int current_layer_index_history_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(RenderSurface); 135 DISALLOW_COPY_AND_ASSIGN(RenderSurface);
136 }; 136 };
137 137
138 } 138 } // namespace cc
139 #endif // CC_LAYERS_RENDER_SURFACE_H_ 139 #endif // CC_LAYERS_RENDER_SURFACE_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/layers/render_surface_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698