summaryrefslogtreecommitdiffstats
path: root/cc/scrollbar_layer_impl.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-22 23:09:55 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-22 23:09:55 +0000
commit96baf3e81b1df4b0836d70c3cded9795e63fa789 (patch)
tree4332d128a05777ae34641ca2f185b7b548330b8d /cc/scrollbar_layer_impl.h
parent1597399122fa6d8343dc6d5cdb771f95908c09b1 (diff)
downloadchromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.zip
chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.gz
chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.bz2
cc: Rename cc classes and members to match filenames
Fixed reland of https://chromiumcodereview.appspot.com/11189043/ TBR=jam@chromium.org,jamesr@chromium.org BUG=155413 Review URL: https://codereview.chromium.org/11231054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/scrollbar_layer_impl.h')
-rw-r--r--cc/scrollbar_layer_impl.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/cc/scrollbar_layer_impl.h b/cc/scrollbar_layer_impl.h
index 2851a41..4d0a0be 100644
--- a/cc/scrollbar_layer_impl.h
+++ b/cc/scrollbar_layer_impl.h
@@ -15,18 +15,18 @@ namespace cc {
class ScrollView;
-class CCScrollbarLayerImpl : public CCLayerImpl {
+class ScrollbarLayerImpl : public LayerImpl {
public:
- static scoped_ptr<CCScrollbarLayerImpl> create(int id);
- virtual ~CCScrollbarLayerImpl();
+ static scoped_ptr<ScrollbarLayerImpl> create(int id);
+ virtual ~ScrollbarLayerImpl();
- CCScrollbarGeometryFixedThumb* scrollbarGeometry() const { return m_geometry.get(); }
- void setScrollbarGeometry(scoped_ptr<CCScrollbarGeometryFixedThumb>);
+ ScrollbarGeometryFixedThumb* scrollbarGeometry() const { return m_geometry.get(); }
+ void setScrollbarGeometry(scoped_ptr<ScrollbarGeometryFixedThumb>);
void setScrollbarData(WebKit::WebScrollbar*);
- void setBackTrackResourceId(CCResourceProvider::ResourceId id) { m_backTrackResourceId = id; }
- void setForeTrackResourceId(CCResourceProvider::ResourceId id) { m_foreTrackResourceId = id; }
- void setThumbResourceId(CCResourceProvider::ResourceId id) { m_thumbResourceId = id; }
+ void setBackTrackResourceId(ResourceProvider::ResourceId id) { m_backTrackResourceId = id; }
+ void setForeTrackResourceId(ResourceProvider::ResourceId id) { m_foreTrackResourceId = id; }
+ void setThumbResourceId(ResourceProvider::ResourceId id) { m_thumbResourceId = id; }
float currentPos() const { return m_currentPos; }
void setCurrentPos(float currentPos) { m_currentPos = currentPos; }
@@ -39,18 +39,18 @@ public:
WebKit::WebScrollbar::Orientation orientation() const { return m_orientation; }
- virtual void appendQuads(CCQuadSink&, CCAppendQuadsData&) OVERRIDE;
+ virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE;
virtual void didLoseContext() OVERRIDE;
protected:
- explicit CCScrollbarLayerImpl(int id);
+ explicit ScrollbarLayerImpl(int id);
private:
// nested class only to avoid namespace problem
- class CCScrollbar : public WebKit::WebScrollbar {
+ class Scrollbar : public WebKit::WebScrollbar {
public:
- explicit CCScrollbar(CCScrollbarLayerImpl* owner) : m_owner(owner) { }
+ explicit Scrollbar(ScrollbarLayerImpl* owner) : m_owner(owner) { }
// WebScrollbar implementation
virtual bool isOverlay() const;
@@ -71,21 +71,21 @@ private:
virtual bool isCustomScrollbar() const;
private:
- CCScrollbarLayerImpl* m_owner;
+ ScrollbarLayerImpl* m_owner;
};
virtual const char* layerTypeAsString() const OVERRIDE;
- CCScrollbar m_scrollbar;
+ Scrollbar m_scrollbar;
- CCResourceProvider::ResourceId m_backTrackResourceId;
- CCResourceProvider::ResourceId m_foreTrackResourceId;
- CCResourceProvider::ResourceId m_thumbResourceId;
+ ResourceProvider::ResourceId m_backTrackResourceId;
+ ResourceProvider::ResourceId m_foreTrackResourceId;
+ ResourceProvider::ResourceId m_thumbResourceId;
- scoped_ptr<CCScrollbarGeometryFixedThumb> m_geometry;
+ scoped_ptr<ScrollbarGeometryFixedThumb> m_geometry;
- // Data to implement CCScrollbar
+ // Data to implement Scrollbar
WebKit::WebScrollbar::ScrollbarOverlayStyle m_scrollbarOverlayStyle;
WebKit::WebVector<WebKit::WebRect> m_tickmarks;
WebKit::WebScrollbar::Orientation m_orientation;