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

Unified Diff: webkit/compositor_bindings/web_layer_impl.h

Issue 11175009: Implement SkImageFilter support in the compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated to ToT (past the Great Renaming) 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/render_surface_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_layer_impl.h
diff --git a/webkit/compositor_bindings/web_layer_impl.h b/webkit/compositor_bindings/web_layer_impl.h
index 01a7bafdbfafe9f96fdcb6928a5bd37118d846e1..24304b3d644b6c2dffe3e5abae66f04b4272d486 100644
--- a/webkit/compositor_bindings/web_layer_impl.h
+++ b/webkit/compositor_bindings/web_layer_impl.h
@@ -12,6 +12,9 @@ namespace cc {
class Layer;
}
+// TODO(senorblanco): Remove this once WebKit changes have landed.
+class SkImageFilter;
+
namespace WebKit {
class WebLayerImpl : public WebLayer {
@@ -57,6 +60,7 @@ public:
virtual void setUseParentBackfaceVisibility(bool) OVERRIDE;
virtual void setBackgroundColor(WebColor) OVERRIDE;
virtual WebColor backgroundColor() const;
+ virtual void setFilter(SkImageFilter*);
virtual void setFilters(const WebFilterOperations&) OVERRIDE;
virtual void setBackgroundFilters(const WebFilterOperations&) OVERRIDE;
virtual void setDebugBorderColor(const WebColor&) OVERRIDE;
« no previous file with comments | « cc/render_surface_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698