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 99.2.7
This commit is contained in:
@@ -66,15 +66,15 @@ uses
|
||||
uCEFTypes, uCEFInterfaces, uCEFBaseRefCounted, uCEFSchemeRegistrar;
|
||||
|
||||
const
|
||||
CEF_SUPPORTED_VERSION_MAJOR = 98;
|
||||
CEF_SUPPORTED_VERSION_MAJOR = 99;
|
||||
CEF_SUPPORTED_VERSION_MINOR = 2;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 1;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 7;
|
||||
CEF_SUPPORTED_VERSION_BUILD = 0;
|
||||
|
||||
CEF_CHROMEELF_VERSION_MAJOR = 98;
|
||||
CEF_CHROMEELF_VERSION_MAJOR = 99;
|
||||
CEF_CHROMEELF_VERSION_MINOR = 0;
|
||||
CEF_CHROMEELF_VERSION_RELEASE = 4758;
|
||||
CEF_CHROMEELF_VERSION_BUILD = 109;
|
||||
CEF_CHROMEELF_VERSION_RELEASE = 4844;
|
||||
CEF_CHROMEELF_VERSION_BUILD = 51;
|
||||
|
||||
{$IFDEF MSWINDOWS}
|
||||
LIBCEF_DLL = 'libcef.dll';
|
||||
|
||||
@@ -105,7 +105,7 @@ type
|
||||
procedure Print;
|
||||
procedure PrintToPdf(const path: ustring; settings: PCefPdfPrintSettings; const callback: ICefPdfPrintCallback);
|
||||
procedure PrintToPdfProc(const path: ustring; settings: PCefPdfPrintSettings; const callback: TOnPdfPrintFinishedProc);
|
||||
procedure Find(identifier: Integer; const searchText: ustring; forward_, matchCase, findNext: Boolean);
|
||||
procedure Find(const searchText: ustring; forward_, matchCase, findNext: Boolean);
|
||||
procedure StopFinding(clearSelection: Boolean);
|
||||
procedure ShowDevTools(const windowInfo: PCefWindowInfo; const client: ICefClient; const settings: PCefBrowserSettings; inspectElementAt: PCefPoint);
|
||||
procedure CloseDevTools;
|
||||
@@ -411,12 +411,12 @@ begin
|
||||
PCefBrowserHost(FData)^.drag_target_drop(PCefBrowserHost(FData), event);
|
||||
end;
|
||||
|
||||
procedure TCefBrowserHostRef.Find(identifier: Integer; const searchText: ustring; forward_, matchCase, findNext: Boolean);
|
||||
procedure TCefBrowserHostRef.Find(const searchText: ustring; forward_, matchCase, findNext: Boolean);
|
||||
var
|
||||
TempText : TCefString;
|
||||
begin
|
||||
TempText := CefString(searchText);
|
||||
PCefBrowserHost(FData)^.find(PCefBrowserHost(FData), identifier, @TempText, Ord(forward_), Ord(matchCase), Ord(findNext));
|
||||
PCefBrowserHost(FData)^.find(PCefBrowserHost(FData), @TempText, Ord(forward_), Ord(matchCase), Ord(findNext));
|
||||
end;
|
||||
|
||||
function TCefBrowserHostRef.GetBrowser: ICefBrowser;
|
||||
|
||||
@@ -781,7 +781,7 @@ type
|
||||
function ExecuteDevToolsMethod(message_id: integer; const method: ustring; const params: ICefDictionaryValue): Integer;
|
||||
function AddDevToolsMessageObserver(const observer: ICefDevToolsMessageObserver): ICefRegistration;
|
||||
|
||||
procedure Find(aIdentifier : integer; const aSearchText : ustring; aForward, aMatchCase, aFindNext : Boolean);
|
||||
procedure Find(const aSearchText : ustring; aForward, aMatchCase, aFindNext : Boolean);
|
||||
procedure StopFinding(aClearSelection : Boolean);
|
||||
|
||||
procedure Print;
|
||||
@@ -2212,10 +2212,10 @@ begin
|
||||
Result := AddBrowser(TempBrowser);
|
||||
end;
|
||||
|
||||
procedure TChromiumCore.Find(aIdentifier : integer; const aSearchText : ustring; aForward, aMatchCase, aFindNext : Boolean);
|
||||
procedure TChromiumCore.Find(const aSearchText : ustring; aForward, aMatchCase, aFindNext : Boolean);
|
||||
begin
|
||||
if Initialized then
|
||||
Browser.Host.Find(aIdentifier, aSearchText, aForward, aMatchCase, aFindNext);
|
||||
Browser.Host.Find(aSearchText, aForward, aMatchCase, aFindNext);
|
||||
end;
|
||||
|
||||
procedure TChromiumCore.StopFinding(aClearSelection : Boolean);
|
||||
|
||||
@@ -604,7 +604,7 @@ type
|
||||
procedure Print;
|
||||
procedure PrintToPdf(const path: ustring; settings: PCefPdfPrintSettings; const callback: ICefPdfPrintCallback);
|
||||
procedure PrintToPdfProc(const path: ustring; settings: PCefPdfPrintSettings; const callback: TOnPdfPrintFinishedProc);
|
||||
procedure Find(identifier: Integer; const searchText: ustring; forward_, matchCase, findNext: Boolean);
|
||||
procedure Find(const searchText: ustring; forward_, matchCase, findNext: Boolean);
|
||||
procedure StopFinding(clearSelection: Boolean);
|
||||
procedure ShowDevTools(const windowInfo: PCefWindowInfo; const client: ICefClient; const settings: PCefBrowserSettings; inspectElementAt: PCefPoint);
|
||||
procedure CloseDevTools;
|
||||
|
||||
@@ -2902,7 +2902,7 @@ type
|
||||
download_image : procedure(self: PCefBrowserHost; const image_url: PCefString; is_favicon: Integer; max_image_size: Cardinal; bypass_cache: Integer; callback: PCefDownloadImageCallback); stdcall;
|
||||
print : procedure(self: PCefBrowserHost); stdcall;
|
||||
print_to_pdf : procedure(self: PCefBrowserHost; const path: PCefString; const settings: PCefPdfPrintSettings; callback: PCefPdfPrintCallback); stdcall;
|
||||
find : procedure(self: PCefBrowserHost; identifier: Integer; const searchText: PCefString; forward_, matchCase, findNext: Integer); stdcall;
|
||||
find : procedure(self: PCefBrowserHost; const searchText: PCefString; forward_, matchCase, findNext: Integer); stdcall;
|
||||
stop_finding : procedure(self: PCefBrowserHost; clearSelection: Integer); stdcall;
|
||||
show_dev_tools : procedure(self: PCefBrowserHost; const windowInfo: PCefWindowInfo; client: PCefClient; const settings: PCefBrowserSettings; const inspect_element_at: PCefPoint); stdcall;
|
||||
close_dev_tools : procedure(self: PCefBrowserHost); stdcall;
|
||||
|
||||
Reference in New Issue
Block a user