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