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

Unified Diff: cc/RenderSurfaceChromium.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/RenderSurfaceChromium.h ('k') | cc/ScrollbarLayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/RenderSurfaceChromium.cpp
diff --git a/cc/RenderSurfaceChromium.cpp b/cc/RenderSurfaceChromium.cpp
deleted file mode 100644
index 320a3d8222ff5763e2369c882d01560a860dc4d8..0000000000000000000000000000000000000000
--- a/cc/RenderSurfaceChromium.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2010 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 "RenderSurfaceChromium.h"
-
-#include "CCMathUtil.h"
-#include "LayerChromium.h"
-#include <public/WebTransformationMatrix.h>
-
-using WebKit::WebTransformationMatrix;
-
-namespace cc {
-
-RenderSurfaceChromium::RenderSurfaceChromium(LayerChromium* owningLayer)
- : m_owningLayer(owningLayer)
- , m_drawOpacity(1)
- , m_drawOpacityIsAnimating(false)
- , m_targetSurfaceTransformsAreAnimating(false)
- , m_screenSpaceTransformsAreAnimating(false)
- , m_nearestAncestorThatMovesPixels(0)
-{
-}
-
-RenderSurfaceChromium::~RenderSurfaceChromium()
-{
-}
-
-FloatRect RenderSurfaceChromium::drawableContentRect() const
-{
- FloatRect drawableContentRect = CCMathUtil::mapClippedRect(m_drawTransform, m_contentRect);
- if (m_owningLayer->hasReplica())
- drawableContentRect.unite(CCMathUtil::mapClippedRect(m_replicaDrawTransform, m_contentRect));
- return drawableContentRect;
-}
-
-}
-#endif // USE(ACCELERATED_COMPOSITING)
« no previous file with comments | « cc/RenderSurfaceChromium.h ('k') | cc/ScrollbarLayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698