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

Unified Diff: cc/output/render_surface_filters.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
Index: cc/output/render_surface_filters.h
diff --git a/cc/output/render_surface_filters.h b/cc/output/render_surface_filters.h
index 494204c71ff985d2e381f1c904911ef764e918fb..5ab78dc77e7438ac31abcba184531e2ec98e0054 100644
--- a/cc/output/render_surface_filters.h
+++ b/cc/output/render_surface_filters.h
@@ -16,20 +16,17 @@ namespace gfx {
class SizeF;
}
-namespace WebKit {
-class WebFilterOperations;
-}
-
namespace cc {
+class FilterOperations;
+
class CC_EXPORT RenderSurfaceFilters {
public:
- static SkBitmap Apply(const WebKit::WebFilterOperations& filters,
+ static SkBitmap Apply(const FilterOperations& filters,
unsigned texture_id,
gfx::SizeF size,
GrContext* gr_context);
- static WebKit::WebFilterOperations Optimize(
- const WebKit::WebFilterOperations& filters);
+ static FilterOperations Optimize(const FilterOperations& filters);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(RenderSurfaceFilters);

Powered by Google App Engine
This is Rietveld 408576698