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

Unified Diff: third_party/WebKit/Source/platform/graphics/ColorSpaceFilter.h

Issue 1331533002: [poc] curve-filter Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix CanvasRenderingContext2D::createPattern crash for #40 Created 4 years, 11 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: third_party/WebKit/Source/platform/graphics/ColorSpaceFilter.h
diff --git a/third_party/WebKit/Source/platform/graphics/ColorSpaceFilter.h b/third_party/WebKit/Source/platform/graphics/ColorSpaceFilter.h
new file mode 100644
index 0000000000000000000000000000000000000000..bf3a89713b7681b5d193e0f3b762d55b3bbaa5e4
--- /dev/null
+++ b/third_party/WebKit/Source/platform/graphics/ColorSpaceFilter.h
@@ -0,0 +1,24 @@
+// Copyright 2015 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 ColorSpaceFilter_h
+#define ColorSpaceFilter_h
+
+#include "platform/PlatformExport.h"
+#include "wtf/PassRefPtr.h"
+#include "wtf/text/WTFString.h"
+
+class SkColorFilter;
+
+namespace blink {
+
+class ColorSpaceProfile;
+
+PLATFORM_EXPORT PassRefPtr<SkColorFilter> createColorSpaceFilter(ColorSpaceProfile* source, ColorSpaceProfile* target);
+PLATFORM_EXPORT PassRefPtr<SkColorFilter> colorSpaceFlattenableFilter(SkColorFilter*);
+PLATFORM_EXPORT String colorSpaceFilterKey(SkColorFilter*);
+
+}
+
+#endif // ColorSpaceFilter_h

Powered by Google App Engine
This is Rietveld 408576698