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

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

Issue 1331533002: [poc] curve-filter Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Draw layered images with a recording GraphicContext Created 5 years, 1 month 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/GraphicsScreen.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsScreen.h b/third_party/WebKit/Source/platform/graphics/GraphicsScreen.h
new file mode 100644
index 0000000000000000000000000000000000000000..4a4f4cbd5e87eb90bf0767b8ca77e26b5a1cef0b
--- /dev/null
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsScreen.h
@@ -0,0 +1,25 @@
+// 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 GraphicsScreen_h
+#define GraphicsScreen_h
+
+#include "platform/graphics/ColorSpaceFilterCache.h"
+
+namespace blink {
+
+class ColorSpaceProfile;
+
+PLATFORM_EXPORT int64_t setCurrentScreenId(int64_t);
+PLATFORM_EXPORT int64_t currentScreenId();
+
+PLATFORM_EXPORT PassRefPtr<ColorSpaceProfile> screenColorProfile(int64_t);
+PLATFORM_EXPORT void setScreenColorProfile(int64_t, const char* profile, size_t);
+PLATFORM_EXPORT void removeScreenColorProfile(int64_t);
+
+PLATFORM_EXPORT bool imageColorProfilesEnabled();
+
+} // namespace blink
+
+#endif // GraphicsScreen_h

Powered by Google App Engine
This is Rietveld 408576698