Index: webkit/compositor_bindings/web_content_layer_impl.h |
diff --git a/webkit/compositor_bindings/web_content_layer_impl.h b/webkit/compositor_bindings/web_content_layer_impl.h |
deleted file mode 100644 |
index 58a59db05d8563d572411c4f04260b9abb743897..0000000000000000000000000000000000000000 |
--- a/webkit/compositor_bindings/web_content_layer_impl.h |
+++ /dev/null |
@@ -1,57 +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 WEBKIT_COMPOSITOR_BINDINGS_WEB_CONTENT_LAYER_IMPL_H_ |
-#define WEBKIT_COMPOSITOR_BINDINGS_WEB_CONTENT_LAYER_IMPL_H_ |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "cc/layers/content_layer_client.h" |
-#include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayer.h" |
-#include "webkit/compositor_bindings/web_layer_impl.h" |
-#include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" |
- |
-namespace cc { |
-class IntRect; |
-class FloatRect; |
-} |
- |
-namespace WebKit { class WebContentLayerClient; } |
- |
-namespace webkit { |
- |
-class WebContentLayerImpl : public WebKit::WebContentLayer, |
- public cc::ContentLayerClient { |
- public: |
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT explicit WebContentLayerImpl( |
- WebKit::WebContentLayerClient*); |
- |
- // WebContentLayer implementation. |
- virtual WebKit::WebLayer* layer(); |
- virtual void setDoubleSided(bool double_sided); |
- virtual void setUseLCDText(bool use_lcd_text); |
- virtual void setDrawCheckerboardForMissingTiles(bool checkerboard); |
- |
- protected: |
- virtual ~WebContentLayerImpl(); |
- |
- // ContentLayerClient implementation. |
- virtual void PaintContents(SkCanvas* canvas, |
- gfx::Rect clip, |
- gfx::RectF* opaque) OVERRIDE; |
- virtual void DidChangeLayerCanUseLCDText() OVERRIDE; |
- |
- scoped_ptr<WebLayerImpl> layer_; |
- WebKit::WebContentLayerClient* client_; |
- bool draws_content_; |
- |
- private: |
- bool can_use_lcd_text_; |
- bool ignore_lcd_text_change_; |
- |
- DISALLOW_COPY_AND_ASSIGN(WebContentLayerImpl); |
-}; |
- |
-} // namespace webkit |
- |
-#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_CONTENT_LAYER_IMPL_H_ |