1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-22 22:17:48 +02:00

Update to CEF 131.2.3

This commit is contained in:
Salvador Díaz Fau
2024-11-16 12:19:26 +01:00
parent 6256c2c35f
commit 87843f4b8f
184 changed files with 6022 additions and 4915 deletions

View File

@ -243,8 +243,16 @@ type
/// </summary>
function IsAccessibilityFocusable : boolean;
/// <summary>
/// Request keyboard focus. If this View is focusable it will become the
/// focused View.
/// Returns true (1) if this View has focus in the context of the containing
/// Window. Check both this function and ICefWindow.IsActive to determine
/// global keyboard focus.
/// </summary>
function HasFocus : boolean;
/// <summary>
/// Request focus for this View in the context of the containing Window. If
/// this View is focusable it will become the focused View. Any focus changes
/// while a Window is not active may be applied after that Window next becomes
/// active.
/// </summary>
procedure RequestFocus;
/// <summary>
@ -529,6 +537,11 @@ begin
Result := (PCefView(FData)^.is_accessibility_focusable(PCefView(FData)) <> 0);
end;
function TCefViewRef.HasFocus : boolean;
begin
Result := (PCefView(FData)^.has_focus(PCefView(FData)) <> 0);
end;
procedure TCefViewRef.RequestFocus;
begin
PCefView(FData)^.request_focus(PCefView(FData));