]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/windows/include/internal/cef_types_win.h
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / windows / include / internal / cef_types_win.h
similarity index 68%
rename from dependencies64/cef/include/internal/cef_types_win.h
rename to dependencies64/cef/windows/include/internal/cef_types_win.h
index 8c4693cd6cabf2d0b02ff72bfd62b5e39839d137..0c23a7e7c6a3de107aed4cce7079579290e8393c 100644 (file)
 #define CEF_INCLUDE_INTERNAL_CEF_TYPES_WIN_H_
 #pragma once
 
-#include "include/internal/cef_build.h"
+#include "include/base/cef_build.h"
 
 #if defined(OS_WIN)
 #include <windows.h>
 #include "include/internal/cef_string.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 // Handle types.
 #define cef_cursor_handle_t HCURSOR
 #define cef_event_handle_t MSG*
 #define cef_window_handle_t HWND
-#define cef_text_input_context_t void*
+
+#define kNullCursorHandle NULL
+#define kNullEventHandle NULL
+#define kNullWindowHandle NULL
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 ///
 // Structure representing CefExecuteProcess arguments.
@@ -70,19 +73,29 @@ typedef struct _cef_window_info_t {
   cef_window_handle_t parent_window;
   HMENU menu;
 
-  // If window rendering is disabled no browser window will be created. Set
-  // |parent_window| to be used for identifying monitor info
-  // (MonitorFromWindow). If |parent_window| is not provided the main screen
-  // monitor will be used.
-  BOOL window_rendering_disabled;
+  ///
+  // Set to true (1) to create the browser using windowless (off-screen)
+  // rendering. No window will be created for the browser and all rendering will
+  // occur via the CefRenderHandler interface. The |parent_window| value will be
+  // used to identify monitor info and to act as the parent window for dialogs,
+  // context menus, etc. If |parent_window| is not provided then the main screen
+  // monitor will be used and some functionality that requires a parent window
+  // may not function correctly. In order to create windowless browsers the
+  // CefSettings.windowless_rendering_enabled value must be set to true.
+  ///
+  int windowless_rendering_enabled;
 
-  // Set to true to enable transparent painting.
-  // If window rendering is disabled and |transparent_painting| is set to true
-  // WebKit rendering will draw on a transparent background (RGBA=0x00000000).
-  // When this value is false the background will be white and opaque.
-  BOOL transparent_painting;
+  ///
+  // Set to true (1) to enable transparent painting in combination with
+  // windowless rendering. When this value is true a transparent background
+  // color will be used (RGBA=0x00000000). When this value is false the
+  // background will be white and opaque.
+  ///
+  int transparent_painting_enabled;
 
-  // Handle for the new browser window.
+  ///
+  // Handle for the new browser window. Only used with windowed rendering.
+  ///
   cef_window_handle_t window;
 } cef_window_info_t;