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

Unified Diff: cc/test/tiled_layer_test_common.h

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/test/tiled_layer_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/tiled_layer_test_common.h
diff --git a/cc/test/tiled_layer_test_common.h b/cc/test/tiled_layer_test_common.h
index ee54ca87982b1cff37d4e784a133f70b2ea1050a..e5018bb70e5d1e46203b1714a6480f87f648fcf5 100644
--- a/cc/test/tiled_layer_test_common.h
+++ b/cc/test/tiled_layer_test_common.h
@@ -90,14 +90,14 @@ public:
using cc::TiledLayer::numPaintedTiles;
using cc::TiledLayer::idlePaintRect;
- virtual void setNeedsDisplayRect(const gfx::RectF&) OVERRIDE;
+ virtual void SetNeedsDisplayRect(const gfx::RectF&) OVERRIDE;
const gfx::RectF& lastNeedsDisplayRect() const { return m_lastNeedsDisplayRect; }
- virtual void setTexturePriorities(const cc::PriorityCalculator&) OVERRIDE;
+ virtual void SetTexturePriorities(const cc::PriorityCalculator&) OVERRIDE;
virtual cc::PrioritizedResourceManager* resourceManager() const OVERRIDE;
FakeLayerUpdater* fakeLayerUpdater() { return m_fakeUpdater.get(); }
- gfx::RectF updateRect() { return m_updateRect; }
+ gfx::RectF updateRect() { return update_rect_; }
// Simulate calcDrawProperties.
void updateContentsScale(float idealContentsScale);
@@ -118,12 +118,11 @@ public:
explicit FakeTiledLayerWithScaledBounds(cc::PrioritizedResourceManager*);
void setContentBounds(const gfx::Size& contentBounds);
- virtual void calculateContentsScale(
- float idealContentsScale,
- bool animatingTransformToScreen,
- float* contentsScaleX,
- float* contentsScaleY,
- gfx::Size* contentBounds) OVERRIDE;
+ virtual void CalculateContentsScale(float idealContentsScale,
+ bool animatingTransformToScreen,
+ float* contentsScaleX,
+ float* contentsScaleY,
+ gfx::Size* contentBounds) OVERRIDE;
protected:
virtual ~FakeTiledLayerWithScaledBounds();
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/test/tiled_layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698