OLD | NEW |
| (Empty) |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WEBKIT_GLUE_PLUGINS_COREGRAPHICS_PRIVATE_SYMBOLS_MAC_H_ | |
6 #define WEBKIT_GLUE_PLUGINS_COREGRAPHICS_PRIVATE_SYMBOLS_MAC_H_ | |
7 | |
8 // These are CoreGraphics SPI, verified to exist in both 10.5 and 10.6. | |
9 | |
10 #ifdef __cplusplus | |
11 extern "C" { | |
12 #endif | |
13 | |
14 // Copies the contents of the window with id |wid| into the given rect in the | |
15 // given context | |
16 OSStatus CGContextCopyWindowCaptureContentsToRect( | |
17 CGContextRef, CGRect, int cid, int wid, int unknown); | |
18 | |
19 // Returns the connection ID we need for the third argument to | |
20 // CGContextCopyWindowCaptureContentsToRect | |
21 int _CGSDefaultConnection(void); | |
22 | |
23 #ifdef __cplusplus | |
24 } // extern "C" | |
25 #endif | |
26 | |
27 #endif // WEBKIT_GLUE_PLUGINS_COREGRAPHICS_PRIVATE_SYMBOLS_MAC_H_ | |
OLD | NEW |