You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-22 22:17:48 +02:00
Update to CEF 121.3.2
This commit is contained in:
@ -173,8 +173,9 @@ type
|
||||
/// <summary>
|
||||
/// <para>Add a View that will be overlayed on the Window contents with absolute
|
||||
/// positioning and high z-order. Positioning is controlled by |docking_mode|
|
||||
/// as described below. The returned cef_overlay_controller_t object is used
|
||||
/// to control the overlay. Overlays are hidden by default.</para>
|
||||
/// as described below. Setting |can_activate| to true (1) will allow the
|
||||
/// overlay view to receive input focus. The returned cef_overlay_controller_t
|
||||
/// object is used to control the overlay. Overlays are hidden by default.</para>
|
||||
/// <para>With CEF_DOCKING_MODE_CUSTOM:</para>
|
||||
/// <code>
|
||||
/// 1. The overlay is initially hidden, sized to |view|'s preferred size,
|
||||
@ -200,7 +201,7 @@ type
|
||||
/// function last after all other child Views have been added so that the
|
||||
/// overlay displays as the top-most child of the Window.</para>
|
||||
/// </summary>
|
||||
function AddOverlayView(const view: ICefView; docking_mode: TCefDockingMode): ICefOverlayController;
|
||||
function AddOverlayView(const view: ICefView; docking_mode: TCefDockingMode; can_activate: boolean): ICefOverlayController;
|
||||
|
||||
/// <summary>
|
||||
/// Show a menu with contents |menu_model|. |screen_point| specifies the menu
|
||||
@ -435,11 +436,12 @@ begin
|
||||
Result := TCefImageRef.UnWrap(PCefWindow(FData)^.get_window_app_icon(PCefWindow(FData)));
|
||||
end;
|
||||
|
||||
function TCefWindowRef.AddOverlayView(const view: ICefView; docking_mode: TCefDockingMode): ICefOverlayController;
|
||||
function TCefWindowRef.AddOverlayView(const view: ICefView; docking_mode: TCefDockingMode; can_activate: boolean): ICefOverlayController;
|
||||
begin
|
||||
Result := TCefOverlayControllerRef.UnWrap(PCefWindow(FData)^.add_overlay_view(PCefWindow(FData),
|
||||
CefGetData(view),
|
||||
docking_mode));
|
||||
docking_mode,
|
||||
ord(can_activate)));
|
||||
end;
|
||||
|
||||
procedure TCefWindowRef.ShowMenu(const menu_model : ICefMenuModel;
|
||||
|
Reference in New Issue
Block a user