-// 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
///
// Base structure.
///
- cef_base_t base;
+ cef_base_ref_counted_t base;
///
// Called when a frame's address has changed.
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
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);