Mac: Use NSView* instead of void* for cef_window_handle_t.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@183 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-02-02 16:30:24 +00:00
parent 02bd128046
commit af12107c33
3 changed files with 48 additions and 40 deletions

View File

@@ -34,13 +34,22 @@
#if defined(__APPLE__)
#include "cef_string.h"
// Window handle.
#ifdef __cplusplus
#ifdef __OBJC__
@class NSView;
#else
class NSView;
#endif
#define cef_window_handle_t NSView*
#else
#define cef_window_handle_t void*
#endif
#ifdef __cplusplus
extern "C" {
#endif
// Window handle.
#define cef_window_handle_t void*
// Class representing window information.
typedef struct _cef_window_info_t
{