Chromium Code Reviews| Index: public/platform/mac/WebSandboxSupport.h |
| diff --git a/public/platform/mac/WebSandboxSupport.h b/public/platform/mac/WebSandboxSupport.h |
| index 242f31d1e13d888ffc05fafef03e8ea73497c0b1..c80a74b14ff642e45feee0e8edc98bb64199c5c3 100644 |
| --- a/public/platform/mac/WebSandboxSupport.h |
| +++ b/public/platform/mac/WebSandboxSupport.h |
| @@ -31,6 +31,7 @@ |
| #ifndef WebSandboxSupport_h |
| #define WebSandboxSupport_h |
| +typedef struct CGColorSpace* CGColorSpaceRef; |
| typedef struct CGFont* CGFontRef; |
| #ifdef __OBJC__ |
| @@ -54,6 +55,10 @@ public: |
| // |
| // Returns: true on success, false on error. |
| virtual bool loadFont(NSFont* srcFont, CGFontRef* out, uint32_t* fontID) = 0; |
| + |
| + // Returns the color space for the current display. The caller does not own |
|
Avi (use Gerrit)
2014/09/08 20:14:56
And by "current" you mean "main".
It's rather a b
Ken Russell (switch to Gerrit)
2014/09/08 21:34:57
Noel's actively working on adding per-screen color
Robert Sesek
2014/09/08 21:37:26
That's cool! This should make it easier to pipe do
|
| + // the result. |
| + virtual CGColorSpaceRef displayColorSpace() = 0; |
| }; |
| } // namespace blink |