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

Unified Diff: webkit/compositor_bindings/web_content_layer_impl.h

Issue 14651027: Move webkit/compositor_bindings into webkit/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
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_
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.cc ('k') | webkit/compositor_bindings/web_content_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698