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

Unified Diff: cc/ContentLayerChromium.h

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/CanvasLayerTextureUpdater.cpp ('k') | cc/ContentLayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ContentLayerChromium.h
diff --git a/cc/ContentLayerChromium.h b/cc/ContentLayerChromium.h
index b8ac4627bf9b7dcbd3fbccf1c3d08207a63a6c73..687dbd4ef66765b4057c8e1d4c8bc2f04c1fb671 100644
--- a/cc/ContentLayerChromium.h
+++ b/cc/ContentLayerChromium.h
@@ -1,67 +1,6 @@
-// Copyright 2010 The Chromium Authors. All rights reserved.
+// 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.
-
-#ifndef ContentLayerChromium_h
-#define ContentLayerChromium_h
-
-#if USE(ACCELERATED_COMPOSITING)
-
-#include "base/basictypes.h"
-#include "LayerPainterChromium.h"
-#include "TiledLayerChromium.h"
-
-class SkCanvas;
-
-namespace cc {
-
-class ContentLayerChromiumClient;
-class FloatRect;
-class IntRect;
-class LayerTextureUpdater;
-
-class ContentLayerPainter : public LayerPainterChromium {
-public:
- static PassOwnPtr<ContentLayerPainter> create(ContentLayerChromiumClient*);
-
- virtual void paint(SkCanvas*, const IntRect& contentRect, FloatRect& opaque) OVERRIDE;
-
-private:
- explicit ContentLayerPainter(ContentLayerChromiumClient*);
-
- ContentLayerChromiumClient* m_client;
-
- DISALLOW_COPY_AND_ASSIGN(ContentLayerPainter);
-};
-
-// A layer that renders its contents into an SkCanvas.
-class ContentLayerChromium : public TiledLayerChromium {
-public:
- static scoped_refptr<ContentLayerChromium> create(ContentLayerChromiumClient*);
-
- void clearClient() { m_client = 0; }
-
- virtual bool drawsContent() const OVERRIDE;
- virtual void setTexturePriorities(const CCPriorityCalculator&) OVERRIDE;
- virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRenderingStats&) OVERRIDE;
- virtual bool needMoreUpdates() OVERRIDE;
-
- virtual void setContentsOpaque(bool) OVERRIDE;
-
-protected:
- explicit ContentLayerChromium(ContentLayerChromiumClient*);
- virtual ~ContentLayerChromium();
-
-private:
- virtual LayerTextureUpdater* textureUpdater() const OVERRIDE;
- virtual void createTextureUpdaterIfNeeded() OVERRIDE;
-
- ContentLayerChromiumClient* m_client;
- RefPtr<LayerTextureUpdater> m_textureUpdater;
-};
-
-}
-#endif // USE(ACCELERATED_COMPOSITING)
-
-#endif
+// Temporary forwarding header
+#include "cc/content_layer.h"
« no previous file with comments | « cc/CanvasLayerTextureUpdater.cpp ('k') | cc/ContentLayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698