You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
Update to CEF 3.3202.1674.g2a991c4
This commit is contained in:
@@ -140,6 +140,9 @@ type
|
||||
procedure DragSourceSystemDragEnded;
|
||||
function GetVisibleNavigationEntry : ICefNavigationEntry;
|
||||
procedure SetAccessibilityState(accessibilityState: TCefState);
|
||||
procedure SetAutoResizeEnabled(enabled: boolean; const min_size, max_size: PCefSize);
|
||||
function GetExtension : ICefExtension;
|
||||
function IsBackgroundHost : boolean;
|
||||
|
||||
public
|
||||
class function UnWrap(data: Pointer): ICefBrowserHost;
|
||||
@@ -149,7 +152,8 @@ implementation
|
||||
|
||||
uses
|
||||
uCEFMiscFunctions, uCEFLibFunctions, uCEFDownloadImageCallBack, uCEFFrame, uCEFPDFPrintCallback,
|
||||
uCEFRunFileDialogCallback, uCEFRequestContext, uCEFNavigationEntryVisitor, uCEFNavigationEntry;
|
||||
uCEFRunFileDialogCallback, uCEFRequestContext, uCEFNavigationEntryVisitor, uCEFNavigationEntry,
|
||||
uCEFExtension;
|
||||
|
||||
function TCefBrowserRef.GetHost: ICefBrowserHost;
|
||||
begin
|
||||
@@ -369,6 +373,21 @@ begin
|
||||
PCefBrowserHost(FData).set_accessibility_state(FData, accessibilityState);
|
||||
end;
|
||||
|
||||
procedure TCefBrowserHostRef.SetAutoResizeEnabled(enabled: boolean; const min_size, max_size: PCefSize);
|
||||
begin
|
||||
PCefBrowserHost(FData).set_auto_resize_enabled(FData, Ord(enabled), min_size, max_size);
|
||||
end;
|
||||
|
||||
function TCefBrowserHostRef.GetExtension : ICefExtension;
|
||||
begin
|
||||
Result := TCefExtensionRef.UnWrap(PCefBrowserHost(FData).get_extension(FData));
|
||||
end;
|
||||
|
||||
function TCefBrowserHostRef.IsBackgroundHost : boolean;
|
||||
begin
|
||||
Result := PCefBrowserHost(FData).is_background_host(FData) <> 0;
|
||||
end;
|
||||
|
||||
procedure TCefBrowserHostRef.DragTargetDragEnter(const dragData: ICefDragData;
|
||||
const event: PCefMouseEvent; allowedOps: TCefDragOperations);
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user