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

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

Issue 352873002: [wip] image color correction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/platform/graphics/GraphicsScreen.h
diff --git a/Source/platform/fonts/FontCacheClient.h b/Source/platform/graphics/GraphicsScreen.h
similarity index 78%
copy from Source/platform/fonts/FontCacheClient.h
copy to Source/platform/graphics/GraphicsScreen.h
index 2ee8682fc93351f76d4de49d01c6514f5a30c288..cfde78443bc55ed6f3b487eac010e6648a6bb469 100644
--- a/Source/platform/fonts/FontCacheClient.h
+++ b/Source/platform/graphics/GraphicsScreen.h
@@ -28,23 +28,23 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FontCacheClient_h
-#define FontCacheClient_h
+#ifndef GraphicsScreen_h
+#define GraphicsScreen_h
#include "platform/PlatformExport.h"
-#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
+#include "wtf/PassRefPtr.h"
namespace WebCore {
-class PLATFORM_EXPORT FontCacheClient : public RefCountedWillBeGarbageCollectedFinalized<FontCacheClient> {
-public:
- virtual ~FontCacheClient() { }
+class ColorSpaceProfile;
- virtual void fontCacheInvalidated() = 0;
- virtual void trace(Visitor*) { }
-};
+PLATFORM_EXPORT PassRefPtr<ColorSpaceProfile> screenColorProfile(long long);
+PLATFORM_EXPORT void setScreenColorProfile(long long, const char* profile, size_t);
+PLATFORM_EXPORT void removeScreenColorProfile(long long);
+
+PLATFORM_EXPORT void setCurrentScreenId(long long);
+PLATFORM_EXPORT long long currentScreenId();
} // namespace WebCore
-#endif // FontCacheClient_h
+#endif // GraphicsScreen_h

Powered by Google App Engine
This is Rietveld 408576698