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

Unified Diff: cc/IOSurfaceLayerChromium.cpp

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (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
« no previous file with comments | « cc/IOSurfaceLayerChromium.h ('k') | cc/ImageLayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/IOSurfaceLayerChromium.cpp
diff --git a/cc/IOSurfaceLayerChromium.cpp b/cc/IOSurfaceLayerChromium.cpp
deleted file mode 100644
index fe6d39a38da86b23180490756794cd1406069d8d..0000000000000000000000000000000000000000
--- a/cc/IOSurfaceLayerChromium.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-
-#if USE(ACCELERATED_COMPOSITING)
-
-#include "IOSurfaceLayerChromium.h"
-
-#include "CCIOSurfaceLayerImpl.h"
-
-namespace cc {
-
-scoped_refptr<IOSurfaceLayerChromium> IOSurfaceLayerChromium::create()
-{
- return make_scoped_refptr(new IOSurfaceLayerChromium());
-}
-
-IOSurfaceLayerChromium::IOSurfaceLayerChromium()
- : LayerChromium()
- , m_ioSurfaceId(0)
-{
-}
-
-IOSurfaceLayerChromium::~IOSurfaceLayerChromium()
-{
-}
-
-void IOSurfaceLayerChromium::setIOSurfaceProperties(uint32_t ioSurfaceId, const IntSize& size)
-{
- m_ioSurfaceId = ioSurfaceId;
- m_ioSurfaceSize = size;
- setNeedsCommit();
-}
-
-scoped_ptr<CCLayerImpl> IOSurfaceLayerChromium::createCCLayerImpl()
-{
- return CCIOSurfaceLayerImpl::create(m_layerId).PassAs<CCLayerImpl>();
-}
-
-bool IOSurfaceLayerChromium::drawsContent() const
-{
- return m_ioSurfaceId && LayerChromium::drawsContent();
-}
-
-void IOSurfaceLayerChromium::pushPropertiesTo(CCLayerImpl* layer)
-{
- LayerChromium::pushPropertiesTo(layer);
-
- CCIOSurfaceLayerImpl* textureLayer = static_cast<CCIOSurfaceLayerImpl*>(layer);
- textureLayer->setIOSurfaceProperties(m_ioSurfaceId, m_ioSurfaceSize);
-}
-
-}
-#endif // USE(ACCELERATED_COMPOSITING)
« no previous file with comments | « cc/IOSurfaceLayerChromium.h ('k') | cc/ImageLayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698