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

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

Issue 1309393007: [poc] redecode Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: resetColorProfileForTesting rename 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..00c5a2bfc05760e7f62aa64905ae3467b55ae609
--- /dev/null
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsScreen.h
@@ -0,0 +1,26 @@
+// 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/PlatformExport.h"
+#include "wtf/PassRefPtr.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