| 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_
|
|
|