You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Update to CEF 94.4.1
Added the keyboard handling modification to the OSRExternalPumpBrowser demo requested by mterrisse in issue #378 Fixed the wrong form icon in TinyBrowser demo.
This commit is contained in:
@ -84,6 +84,8 @@ type
|
||||
function GetSize : TCefSize;
|
||||
procedure SetPosition(const position_: TCefPoint);
|
||||
function GetPosition : TCefPoint;
|
||||
procedure SetInsets(const insets: TCefInsets);
|
||||
function GetInsets: TCefInsets;
|
||||
function GetPreferredSize : TCefSize;
|
||||
procedure SizeToPreferredSize;
|
||||
function GetMinimumSize : TCefSize;
|
||||
@ -243,6 +245,16 @@ begin
|
||||
Result := PCefView(FData)^.get_position(PCefView(FData));
|
||||
end;
|
||||
|
||||
procedure TCefViewRef.SetInsets(const insets: TCefInsets);
|
||||
begin
|
||||
PCefView(FData)^.set_insets(PCefView(FData), @insets);
|
||||
end;
|
||||
|
||||
function TCefViewRef.GetInsets: TCefInsets;
|
||||
begin
|
||||
Result := PCefView(FData)^.get_insets(PCefView(FData));
|
||||
end;
|
||||
|
||||
function TCefViewRef.GetPreferredSize : TCefSize;
|
||||
begin
|
||||
Result := PCefView(FData)^.get_preferred_size(PCefView(FData));
|
||||
|
Reference in New Issue
Block a user