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

Side by Side Diff: cc/layer_tree_host.h

Issue 11367080: cc: Remove all remaining use of WebCore Rect/Point/Size types from the compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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/layer_impl_unittest.cc ('k') | cc/layer_tree_host.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYER_TREE_HOST_H_ 5 #ifndef CC_LAYER_TREE_HOST_H_
6 #define CC_LAYER_TREE_HOST_H_ 6 #define CC_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 void setBackgroundColor(SkColor color) { m_backgroundColor = color; } 184 void setBackgroundColor(SkColor color) { m_backgroundColor = color; }
185 185
186 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; } 186 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; }
187 187
188 PrioritizedTextureManager* contentsTextureManager() const; 188 PrioritizedTextureManager* contentsTextureManager() const;
189 189
190 bool visible() const { return m_visible; } 190 bool visible() const { return m_visible; }
191 void setVisible(bool); 191 void setVisible(bool);
192 192
193 void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, base::TimeDelta duration); 193 void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnchor, flo at scale, base::TimeDelta duration);
194 194
195 void applyScrollAndScale(const ScrollAndScaleSet&); 195 void applyScrollAndScale(const ScrollAndScaleSet&);
196 gfx::PointF adjustEventPointForPinchZoom(const gfx::PointF&) const; 196 gfx::PointF adjustEventPointForPinchZoom(const gfx::PointF&) const;
197 void setImplTransform(const WebKit::WebTransformationMatrix&); 197 void setImplTransform(const WebKit::WebTransformationMatrix&);
198 198
199 void startRateLimiter(WebKit::WebGraphicsContext3D*); 199 void startRateLimiter(WebKit::WebGraphicsContext3D*);
200 void stopRateLimiter(WebKit::WebGraphicsContext3D*); 200 void stopRateLimiter(WebKit::WebGraphicsContext3D*);
201 201
202 // RateLimitClient implementation 202 // RateLimitClient implementation
203 virtual void rateLimit() OVERRIDE; 203 virtual void rateLimit() OVERRIDE;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 size_t m_partialTextureUpdateRequests; 283 size_t m_partialTextureUpdateRequests;
284 284
285 static bool s_needsFilterContext; 285 static bool s_needsFilterContext;
286 286
287 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 287 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
288 }; 288 };
289 289
290 } // namespace cc 290 } // namespace cc
291 291
292 #endif // CC_LAYER_TREE_HOST_H_ 292 #endif // CC_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/layer_impl_unittest.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698