]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/linux/include/capi/cef_display_handler_capi.h
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / linux / include / capi / cef_display_handler_capi.h
similarity index 80%
rename from dependencies64/cef/include/capi/cef_display_handler_capi.h
rename to dependencies64/cef/linux/include/capi/cef_display_handler_capi.h
index 847f646e39ad99bcf0a1690bb5444e7b04657684..6dc3fd0fd51844a561820e58190440ff5ba27e19 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2014 Marshall A. Greenblatt. All rights reserved.
+// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
 //
 // Redistribution and use in source and binary forms, with or without
 // modification, are permitted provided that the following conditions are
@@ -55,7 +55,7 @@ typedef struct _cef_display_handler_t {
   ///
   // Base structure.
   ///
-  cef_base_t base;
+  cef_base_ref_counted_t base;
 
   ///
   // Called when a frame's address has changed.
@@ -70,6 +70,23 @@ typedef struct _cef_display_handler_t {
   void (CEF_CALLBACK *on_title_change)(struct _cef_display_handler_t* self,
       struct _cef_browser_t* browser, const cef_string_t* title);
 
+  ///
+  // Called when the page icon changes.
+  ///
+  void (CEF_CALLBACK *on_favicon_urlchange)(struct _cef_display_handler_t* self,
+      struct _cef_browser_t* browser, cef_string_list_t icon_urls);
+
+  ///
+  // Called when web content in the page has toggled fullscreen mode. If
+  // |fullscreen| is true (1) the content will automatically be sized to fill
+  // the browser content area. If |fullscreen| is false (0) the content will
+  // automatically return to its original size and position. The client is
+  // responsible for resizing the browser if desired.
+  ///
+  void (CEF_CALLBACK *on_fullscreen_mode_change)(
+      struct _cef_display_handler_t* self, struct _cef_browser_t* browser,
+      int fullscreen);
+
   ///
   // Called when the browser is about to display a tooltip. |text| contains the
   // text that will be displayed in the tooltip. To handle the display of the
@@ -82,9 +99,8 @@ typedef struct _cef_display_handler_t {
       struct _cef_browser_t* browser, cef_string_t* text);
 
   ///
-  // Called when the browser receives a status message. |text| contains the text
-  // that will be displayed in the status message and |type| indicates the
-  // status message type.
+  // Called when the browser receives a status message. |value| contains the
+  // text that will be displayed in the status message.
   ///
   void (CEF_CALLBACK *on_status_message)(struct _cef_display_handler_t* self,
       struct _cef_browser_t* browser, const cef_string_t* value);