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

Unified Diff: cc/content_layer_updater.h

Issue 12471007: Part 8 of cc/ directory shuffles: resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/content_layer_unittest.cc ('k') | cc/content_layer_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/content_layer_updater.h
diff --git a/cc/content_layer_updater.h b/cc/content_layer_updater.h
deleted file mode 100644
index b639102a129e45e1406fc8a1fc20a7337f399f24..0000000000000000000000000000000000000000
--- a/cc/content_layer_updater.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2011 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 CC_CONTENT_LAYER_UPDATER_H_
-#define CC_CONTENT_LAYER_UPDATER_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/layer_updater.h"
-#include "ui/gfx/rect.h"
-
-class SkCanvas;
-
-namespace cc {
-
-class LayerPainter;
-
-// Base class for BitmapContentLayerUpdater and
-// SkPictureContentLayerUpdater that reduces code duplication between
-// their respective paintContents implementations.
-class CC_EXPORT ContentLayerUpdater : public LayerUpdater {
- protected:
- explicit ContentLayerUpdater(scoped_ptr<LayerPainter> painter);
- virtual ~ContentLayerUpdater();
-
- void PaintContents(SkCanvas* canvas,
- gfx::Rect content_rect,
- float contents_width_scale,
- float contents_height_scale,
- gfx::Rect* resulting_opaque_rect,
- RenderingStats* stats);
- gfx::Rect content_rect() const { return content_rect_; }
-
- private:
- gfx::Rect content_rect_;
- scoped_ptr<LayerPainter> painter_;
-
- DISALLOW_COPY_AND_ASSIGN(ContentLayerUpdater);
-};
-
-} // namespace cc
-
-#endif // CC_CONTENT_LAYER_UPDATER_H_
« no previous file with comments | « cc/content_layer_unittest.cc ('k') | cc/content_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698