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

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: Ensure screen device profiles are matrix Created 5 years 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..2f6cbc375d910a825a1982e78ad65f1857247a7d
--- /dev/null
+++ b/third_party/WebKit/Source/platform/graphics/ColorSpaceFilter.h
@@ -0,0 +1,23 @@
+// 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 "wtf/PassRefPtr.h"
+#include "wtf/text/WTFString.h"
+
+class SkColorFilter;
+
+namespace blink {
+
+class ColorSpaceProfile;
+
+PassRefPtr<SkColorFilter> createColorSpaceFilter(ColorSpaceProfile* source, ColorSpaceProfile* target);
+PassRefPtr<SkColorFilter> colorSpaceFlattenableFilter(SkColorFilter*);
+String colorSpaceFilterKey(SkColorFilter*);
+
+}
+
+#endif // ColorSpaceFilter_h

Powered by Google App Engine
This is Rietveld 408576698