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

Unified Diff: cc/io_surface_layer.cc

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/io_surface_layer.cc
diff --git a/cc/io_surface_layer.cc b/cc/io_surface_layer.cc
index df125d10eacd0967ab98800d38907e66288aeefd..a96dcca7c16af7faa316a6ed8707b91ce96aa621 100644
--- a/cc/io_surface_layer.cc
+++ b/cc/io_surface_layer.cc
@@ -10,43 +10,43 @@
namespace cc {
-scoped_refptr<IOSurfaceLayerChromium> IOSurfaceLayerChromium::create()
+scoped_refptr<IOSurfaceLayer> IOSurfaceLayer::create()
{
- return make_scoped_refptr(new IOSurfaceLayerChromium());
+ return make_scoped_refptr(new IOSurfaceLayer());
}
-IOSurfaceLayerChromium::IOSurfaceLayerChromium()
- : LayerChromium()
+IOSurfaceLayer::IOSurfaceLayer()
+ : Layer()
, m_ioSurfaceId(0)
{
}
-IOSurfaceLayerChromium::~IOSurfaceLayerChromium()
+IOSurfaceLayer::~IOSurfaceLayer()
{
}
-void IOSurfaceLayerChromium::setIOSurfaceProperties(uint32_t ioSurfaceId, const IntSize& size)
+void IOSurfaceLayer::setIOSurfaceProperties(uint32_t ioSurfaceId, const IntSize& size)
{
m_ioSurfaceId = ioSurfaceId;
m_ioSurfaceSize = size;
setNeedsCommit();
}
-scoped_ptr<CCLayerImpl> IOSurfaceLayerChromium::createCCLayerImpl()
+scoped_ptr<LayerImpl> IOSurfaceLayer::createLayerImpl()
{
- return CCIOSurfaceLayerImpl::create(m_layerId).PassAs<CCLayerImpl>();
+ return IOSurfaceLayerImpl::create(m_layerId).PassAs<LayerImpl>();
}
-bool IOSurfaceLayerChromium::drawsContent() const
+bool IOSurfaceLayer::drawsContent() const
{
- return m_ioSurfaceId && LayerChromium::drawsContent();
+ return m_ioSurfaceId && Layer::drawsContent();
}
-void IOSurfaceLayerChromium::pushPropertiesTo(CCLayerImpl* layer)
+void IOSurfaceLayer::pushPropertiesTo(LayerImpl* layer)
{
- LayerChromium::pushPropertiesTo(layer);
+ Layer::pushPropertiesTo(layer);
- CCIOSurfaceLayerImpl* textureLayer = static_cast<CCIOSurfaceLayerImpl*>(layer);
+ IOSurfaceLayerImpl* textureLayer = static_cast<IOSurfaceLayerImpl*>(layer);
textureLayer->setIOSurfaceProperties(m_ioSurfaceId, m_ioSurfaceSize);
}
« cc/active_animation.h ('K') | « cc/io_surface_layer.h ('k') | cc/io_surface_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698