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

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

Issue 2556973002: Allow specifying ColorBehavior to ImageSource (Closed)
Patch Set: Rebase Created 4 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/ColorBehavior.h
diff --git a/third_party/WebKit/Source/platform/graphics/ColorBehavior.h b/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
index b2de9e47a72727ff380468791c8da69e580dfa17..ea3c1a2423e1ec0bd0916d02fd56c988aacbe1db 100644
--- a/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
+++ b/third_party/WebKit/Source/platform/graphics/ColorBehavior.h
@@ -7,6 +7,7 @@
#include "platform/PlatformExport.h"
#include "public/platform/WebVector.h"
+#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkRefCnt.h"
class SkColorSpace;
@@ -57,6 +58,9 @@ class PLATFORM_EXPORT ColorBehavior {
// Transform to a target color space to be used by tests.
static ColorBehavior transformToTargetForTesting();
+ bool operator==(const ColorBehavior&) const;
+ bool operator!=(const ColorBehavior&) const;
+
private:
enum class Type {
Ignore,

Powered by Google App Engine
This is Rietveld 408576698