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

Unified Diff: cc/layers/layer.h

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to account for re-naming to PaintedScrollbarLayer. Created 7 years, 4 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
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index ff3ff20df0fb1247035208113b7643caf1566e3c..1673c75c246c93d906d32fcd1a410ca7f9e6345b 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -48,10 +48,10 @@ class LayerClient;
class LayerImpl;
class LayerTreeHost;
class LayerTreeImpl;
-class PaintedScrollbarLayer;
class PriorityCalculator;
class RenderingStatsInstrumentation;
class ResourceUpdateQueue;
+class ScrollbarLayerInterface;
struct AnimationEvent;
// Base class for composited layers. Special layer types are derived from
@@ -390,7 +390,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
virtual Region VisibleContentOpaqueRegion() const;
- virtual PaintedScrollbarLayer* ToScrollbarLayer();
+ virtual ScrollbarLayerInterface* ToScrollbarLayer();
gfx::Rect LayerRectToContentRect(const gfx::RectF& layer_rect) const;

Powered by Google App Engine
This is Rietveld 408576698