mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add off-screen rendering support for Mac OS-X (issue #540).
- Add patch for ninja build support on Mac OS-X. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@624 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -71,7 +71,6 @@ class CefCriticalSection {
|
||||
#define CefWindowHandle cef_window_handle_t
|
||||
#define CefCursorHandle cef_cursor_handle_t
|
||||
|
||||
|
||||
struct CefWindowInfoTraits {
|
||||
typedef cef_window_info_t struct_type;
|
||||
|
||||
@ -162,6 +161,26 @@ struct CefPrintInfoTraits {
|
||||
///
|
||||
typedef CefStructBase<CefPrintInfoTraits> CefPrintInfo;
|
||||
|
||||
|
||||
struct CefKeyInfoTraits {
|
||||
typedef cef_key_info_t struct_type;
|
||||
|
||||
static inline void init(struct_type* s) {}
|
||||
static inline void clear(struct_type* s) {}
|
||||
|
||||
static inline void set(const struct_type* src, struct_type* target,
|
||||
bool copy) {
|
||||
target->key = src->key;
|
||||
target->sysChar = src->sysChar;
|
||||
target->imeChar = src->imeChar;
|
||||
}
|
||||
};
|
||||
|
||||
///
|
||||
// Class representing key information.
|
||||
///
|
||||
typedef CefStructBase<CefKeyInfoTraits> CefKeyInfo;
|
||||
|
||||
#endif // OS_WIN
|
||||
|
||||
#endif // CEF_INCLUDE_INTERNAL_CEF_WIN_H_
|
||||
|
Reference in New Issue
Block a user