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

Unified Diff: cc/quads/render_pass_draw_quad.h

Issue 16968002: Move implementation of WebFilterOperations into cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/quads/render_pass.h ('k') | cc/quads/render_pass_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/render_pass_draw_quad.h
diff --git a/cc/quads/render_pass_draw_quad.h b/cc/quads/render_pass_draw_quad.h
index 6d67917e89bd8d00962401993848ab84d49aa0b0..f0c76a9557211683f9455af0dd9c72ce14f21c0c 100644
--- a/cc/quads/render_pass_draw_quad.h
+++ b/cc/quads/render_pass_draw_quad.h
@@ -8,10 +8,10 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
+#include "cc/output/filter_operations.h"
#include "cc/quads/draw_quad.h"
#include "cc/quads/render_pass.h"
#include "cc/resources/resource_provider.h"
-#include "third_party/WebKit/public/platform/WebFilterOperations.h"
namespace cc {
@@ -27,9 +27,9 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
ResourceProvider::ResourceId mask_resource_id,
gfx::Rect contents_changed_since_last_frame,
gfx::RectF mask_uv_rect,
- const WebKit::WebFilterOperations& filters,
+ const FilterOperations& filters,
skia::RefPtr<SkImageFilter> filter,
- const WebKit::WebFilterOperations& background_filters);
+ const FilterOperations& background_filters);
void SetAll(const SharedQuadState* shared_quad_state,
gfx::Rect rect,
@@ -41,9 +41,9 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
ResourceProvider::ResourceId mask_resource_id,
gfx::Rect contents_changed_since_last_frame,
gfx::RectF mask_uv_rect,
- const WebKit::WebFilterOperations& filters,
+ const FilterOperations& filters,
skia::RefPtr<SkImageFilter> filter,
- const WebKit::WebFilterOperations& background_filters);
+ const FilterOperations& background_filters);
scoped_ptr<RenderPassDrawQuad> Copy(
const SharedQuadState* copied_shared_quad_state,
@@ -57,13 +57,13 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
// Deprecated post-processing filters, applied to the pixels in the render
// pass' texture.
- WebKit::WebFilterOperations filters;
+ FilterOperations filters;
// Post-processing filter applied to the pixels in the render pass' texture.
skia::RefPtr<SkImageFilter> filter;
// Post-processing filters, applied to the pixels showing through the
// background of the render pass, from behind it.
- WebKit::WebFilterOperations background_filters;
+ FilterOperations background_filters;
virtual void IterateResources(const ResourceIteratorCallback& callback)
OVERRIDE;
« no previous file with comments | « cc/quads/render_pass.h ('k') | cc/quads/render_pass_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698