diff --git a/docs/cef4delphi.chm b/docs/cef4delphi.chm index 6f8279c7..13e9d7df 100644 Binary files a/docs/cef4delphi.chm and b/docs/cef4delphi.chm differ diff --git a/docs/html/AllIdentifiers.html b/docs/html/AllIdentifiers.html index 10aadc32..290aab33 100644 --- a/docs/html/AllIdentifiers.html +++ b/docs/html/AllIdentifiers.html @@ -10282,7 +10282,7 @@ Ranges: 300-399 HTTP errors 400-499 Cache errors 500-599 ? - 600-699 FTP errors + 600-699 <Obsolete: FTP errors> 700-799 Certificate manager errors 800-899 DNS resolver errors diff --git a/docs/html/AllTypes.html b/docs/html/AllTypes.html index 61fc226f..a6c01fed 100644 --- a/docs/html/AllTypes.html +++ b/docs/html/AllTypes.html @@ -1405,7 +1405,7 @@ Ranges: 300-399 HTTP errors 400-499 Cache errors 500-599 ? - 600-699 FTP errors + 600-699 <Obsolete: FTP errors> 700-799 Certificate manager errors 800-899 DNS resolver errors diff --git a/docs/html/cef4delphi.hhc b/docs/html/cef4delphi.hhc index 73d8f2b0..f7ee6c87 100644 --- a/docs/html/cef4delphi.hhc +++ b/docs/html/cef4delphi.hhc @@ -6014,10 +6014,6 @@
  • - - - -
  • @@ -6026,10 +6022,6 @@
  • - - - -
  • @@ -6038,10 +6030,6 @@
  • - - - -
  • @@ -6602,10 +6590,6 @@
  • - - - -
  • @@ -6760,10 +6744,6 @@
  • - - - -
  • @@ -7108,10 +7088,6 @@
  • - - - -
  • @@ -8130,10 +8106,6 @@
  • - - - -
  • @@ -92692,10 +92664,6 @@
  • - - - -
  • @@ -93252,10 +93220,6 @@
  • - - - -
  • @@ -93364,14 +93328,6 @@
  • - - - -
  • - - - -
  • @@ -94190,10 +94146,6 @@
  • - - - -
  • @@ -94314,10 +94266,6 @@
  • - - - -
  • @@ -96140,10 +96088,6 @@
  • - - - -
  • diff --git a/docs/html/cef4delphi.hhk b/docs/html/cef4delphi.hhk index 360387b9..444e7df4 100644 --- a/docs/html/cef4delphi.hhk +++ b/docs/html/cef4delphi.hhk @@ -114,16 +114,16 @@
  • - +
  • @@ -290,16 +290,16 @@
  • - +
  • @@ -2508,20 +2508,12 @@
  • - +
  • @@ -3702,16 +3702,16 @@
  • - +
  • @@ -17670,16 +17670,16 @@
  • - +
  • @@ -21314,16 +21314,16 @@
  • - +
  • @@ -24624,16 +24624,12 @@
  • - +
    • - - -
    • - - +
    • @@ -24641,7 +24637,11 @@
    • - + + +
    • + +
  • @@ -38524,16 +38524,16 @@
  • - +
    • - +
    • - +
  • @@ -38546,16 +38546,16 @@
  • - +
    • - +
    • - +
  • @@ -38618,16 +38618,16 @@
  • - +
    • - +
    • - +
  • @@ -39633,10 +39633,6 @@
  • - - - -
  • @@ -40197,10 +40193,6 @@
  • - - - -
  • @@ -40325,14 +40317,6 @@
  • - - - -
  • - - - -
  • @@ -40730,16 +40714,16 @@
  • - +
  • @@ -41407,10 +41391,6 @@
  • - - - -
  • @@ -41560,16 +41540,16 @@
  • - +
  • @@ -41640,16 +41620,16 @@
  • - +
  • @@ -41942,15 +41922,11 @@
  • - +
  • @@ -42011,14 +41991,6 @@
  • - - - -
  • - - - -
  • @@ -44513,11 +44485,11 @@
  • - +
  • - +
  • @@ -44836,16 +44808,16 @@
  • - +
  • @@ -45294,16 +45266,16 @@
  • - +
  • @@ -45364,16 +45336,16 @@
  • - +
  • diff --git a/docs/html/cef4delphi.log b/docs/html/cef4delphi.log index c8684d2d..0e527d65 100644 --- a/docs/html/cef4delphi.log +++ b/docs/html/cef4delphi.log @@ -929,11 +929,11 @@ automated.gif pasdoc.css Compile time: 0 minutes, 15 seconds -16,347 Topics -139,361 Local links +16,339 Topics +139,288 Local links 32 Internet links 5 Graphics -Created c:\Users\usuario\Documents\Embarcadero\Studio\Projects\CEF4Delphi\docs\cef4delphi.chm, 3,661,896 bytes -Compression decreased file by 23,395,725 bytes. +Created c:\Users\usuario\Documents\Embarcadero\Studio\Projects\CEF4Delphi\docs\cef4delphi.chm, 3,651,604 bytes +Compression decreased file by 23,392,595 bytes. diff --git a/docs/html/uCEFApplicationCore.html b/docs/html/uCEFApplicationCore.html index 11251d93..473ff45a 100644 --- a/docs/html/uCEFApplicationCore.html +++ b/docs/html/uCEFApplicationCore.html @@ -37,10 +37,10 @@

    Constants

    - + - + @@ -55,10 +55,10 @@ - + - + @@ -94,14 +94,14 @@

    Constants

    CEF_SUPPORTED_VERSION_MAJOR = 128;CEF_SUPPORTED_VERSION_MAJOR = 129;
    CEF_SUPPORTED_VERSION_MINOR = 4;CEF_SUPPORTED_VERSION_MINOR = 0;
    CEF_SUPPORTED_VERSION_RELEASE = 12;CEF_CHROMEELF_VERSION_MINOR = 0;
    CEF_CHROMEELF_VERSION_RELEASE = 6613;CEF_CHROMEELF_VERSION_RELEASE = 6668;
    CEF_CHROMEELF_VERSION_BUILD = 138;CEF_CHROMEELF_VERSION_BUILD = 101;
    LIBCEF_DLL = 'libcef.dll';
    - +
    CEF_SUPPORTED_VERSION_MAJOR = 128;CEF_SUPPORTED_VERSION_MAJOR = 129;

    This item has no description.

    - + @@ -136,14 +136,14 @@
    CEF_SUPPORTED_VERSION_MINOR = 4;CEF_SUPPORTED_VERSION_MINOR = 0;

    This item has no description.

    - +
    CEF_CHROMEELF_VERSION_RELEASE = 6613;CEF_CHROMEELF_VERSION_RELEASE = 6668;

    This item has no description.

    - + diff --git a/docs/html/uCEFChromiumCore.TChromiumCore.html b/docs/html/uCEFChromiumCore.TChromiumCore.html index e0356d2c..f0da497a 100644 --- a/docs/html/uCEFChromiumCore.TChromiumCore.html +++ b/docs/html/uCEFChromiumCore.TChromiumCore.html @@ -325,19 +325,11 @@ - - - - - - - - - + @@ -349,571 +341,563 @@ - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + @@ -1484,1241 +1468,1237 @@ - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -2871,355 +2851,347 @@ - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + @@ -4271,14 +4243,6 @@
    CEF_CHROMEELF_VERSION_BUILD = 138;CEF_CHROMEELF_VERSION_BUILD = 101;

    This item has no description.

    ProtectedFOldWidgetCompWndPrc: TFNWndProc;
    Protected FOldRenderCompWndPrc: TFNWndProc;
    ProtectedFBrowserCompStub: Pointer;
    ProtectedFWidgetCompStub: Pointer;FBrowserCompStub: Pointer;
    Protected
    ProtectedFWidgetCompHWND: THandle;
    Protected FRenderCompHWND: THandle;
    Protected FOnProcessMessageReceived: TOnProcessMessageReceived;
    Protected FOnLoadStart: TOnLoadStart;
    Protected FOnLoadEnd: TOnLoadEnd;
    Protected FOnLoadError: TOnLoadError;
    Protected FOnLoadingStateChange: TOnLoadingStateChange;
    Protected FOnTakeFocus: TOnTakeFocus;
    Protected FOnSetFocus: TOnSetFocus;
    Protected FOnGotFocus: TOnGotFocus;
    Protected FOnBeforeContextMenu: TOnBeforeContextMenu;
    Protected FOnRunContextMenu: TOnRunContextMenu;
    Protected FOnContextMenuCommand: TOnContextMenuCommand;
    Protected FOnContextMenuDismissed: TOnContextMenuDismissed;
    Protected FOnRunQuickMenu: TOnRunQuickMenuEvent;
    Protected FOnQuickMenuCommand: TOnQuickMenuCommandEvent;
    Protected FOnQuickMenuDismissed: TOnQuickMenuDismissedEvent;
    Protected FOnPreKeyEvent: TOnPreKeyEvent;
    Protected FOnKeyEvent: TOnKeyEvent;
    Protected FOnAddressChange: TOnAddressChange;
    Protected FOnTitleChange: TOnTitleChange;
    Protected FOnFavIconUrlChange: TOnFavIconUrlChange;
    Protected FOnFullScreenModeChange: TOnFullScreenModeChange;
    Protected FOnTooltip: TOnTooltip;
    Protected FOnStatusMessage: TOnStatusMessage;
    Protected FOnConsoleMessage: TOnConsoleMessage;
    Protected FOnAutoResize: TOnAutoResize;
    Protected FOnLoadingProgressChange: TOnLoadingProgressChange;
    Protected FOnCursorChange: TOnCursorChange;
    Protected FOnMediaAccessChange: TOnMediaAccessChange;
    Protected FOnCanDownload: TOnCanDownloadEvent;
    Protected FOnBeforeDownload: TOnBeforeDownload;
    Protected FOnDownloadUpdated: TOnDownloadUpdated;
    Protected FOnJsdialog: TOnJsdialog;
    Protected FOnBeforeUnloadDialog: TOnBeforeUnloadDialog;
    Protected FOnResetDialogState: TOnResetDialogState;
    Protected FOnDialogClosed: TOnDialogClosed;
    Protected FOnBeforePopup: TOnBeforePopup;
    Protected FOnBeforeDevToolsPopup: TOnBeforeDevToolsPopup;
    Protected FOnAfterCreated: TOnAfterCreated;
    Protected FOnBeforeClose: TOnBeforeClose;
    Protected FOnClose: TOnClose;
    Protected FOnBeforeBrowse: TOnBeforeBrowse;
    Protected FOnOpenUrlFromTab: TOnOpenUrlFromTab;
    Protected FOnGetAuthCredentials: TOnGetAuthCredentials;
    Protected FOnCertificateError: TOnCertificateError;
    Protected FOnSelectClientCertificate: TOnSelectClientCertificate;
    Protected FOnRenderViewReady: TOnRenderViewReady;
    Protected FOnRenderProcessUnresponsive: TOnRenderProcessUnresponsive;
    Protected FOnRenderProcessResponsive: TOnRenderProcessResponsive;
    Protected FOnRenderProcessTerminated: TOnRenderProcessTerminated;
    Protected FOnGetResourceRequestHandler_ReqHdlr: TOnGetResourceRequestHandler;
    Protected FOnDocumentAvailableInMainFrame: TOnDocumentAvailableInMainFrame;
    Protected FOnBeforeResourceLoad: TOnBeforeResourceLoad;
    Protected FOnGetResourceHandler: TOnGetResourceHandler;
    Protected FOnResourceRedirect: TOnResourceRedirect;
    Protected FOnResourceResponse: TOnResourceResponse;
    Protected FOnGetResourceResponseFilter: TOnGetResourceResponseFilter;
    Protected FOnResourceLoadComplete: TOnResourceLoadComplete;
    Protected FOnProtocolExecution: TOnProtocolExecution;
    Protected FOnCanSendCookie: TOnCanSendCookie;
    Protected FOnCanSaveCookie: TOnCanSaveCookie;
    Protected FOnFileDialog: TOnFileDialog;
    Protected FOnGetAccessibilityHandler: TOnGetAccessibilityHandler;
    Protected FOnGetRootScreenRect: TOnGetRootScreenRect;
    Protected FOnGetViewRect: TOnGetViewRect;
    Protected FOnGetScreenPoint: TOnGetScreenPoint;
    Protected FOnGetScreenInfo: TOnGetScreenInfo;
    Protected FOnPopupShow: TOnPopupShow;
    Protected FOnPopupSize: TOnPopupSize;
    Protected FOnPaint: TOnPaint;
    Protected FOnAcceleratedPaint: TOnAcceleratedPaint;
    Protected FOnGetTouchHandleSize: TOnGetTouchHandleSize;
    Protected FOnTouchHandleStateChanged: TOnTouchHandleStateChanged;
    Protected FOnStartDragging: TOnStartDragging;
    Protected FOnUpdateDragCursor: TOnUpdateDragCursor;
    Protected FOnScrollOffsetChanged: TOnScrollOffsetChanged;
    Protected FOnIMECompositionRangeChanged: TOnIMECompositionRangeChanged;
    Protected FOnTextSelectionChanged: TOnTextSelectionChanged;
    Protected FOnVirtualKeyboardRequested: TOnVirtualKeyboardRequested;
    Protected FOnDragEnter: TOnDragEnter;
    Protected FOnDraggableRegionsChanged: TOnDraggableRegionsChanged;
    Protected FOnFindResult: TOnFindResult;
    Protected FOnRequestContextInitialized: TOnRequestContextInitialized;
    Protected FOnGetResourceRequestHandler_ReqCtxHdlr: TOnGetResourceRequestHandler;
    Protected FOnSinks: TOnSinksEvent;
    Protected FOnRoutes: TOnRoutesEvent;
    Protected FOnRouteStateChanged: TOnRouteStateChangedEvent;
    Protected FOnRouteMessageReceived: TOnRouteMessageReceivedEvent;
    Protected FOnGetAudioParameters: TOnGetAudioParametersEvent;
    Protected FOnAudioStreamStarted: TOnAudioStreamStartedEvent;
    Protected FOnAudioStreamPacket: TOnAudioStreamPacketEvent;
    Protected FOnAudioStreamStopped: TOnAudioStreamStoppedEvent;
    Protected FOnAudioStreamError: TOnAudioStreamErrorEvent;
    Protected FOnDevToolsMessage: TOnDevToolsMessageEvent;
    Protected FOnDevToolsRawMessage: TOnDevToolsRawMessageEvent;
    Protected FOnDevToolsMethodResult: TOnDevToolsMethodResultEvent;
    Protected FOnDevToolsMethodRawResult: TOnDevToolsMethodRawResultEvent;
    Protected FOnDevToolsEvent: TOnDevToolsEventEvent;
    Protected FOnDevToolsRawEvent: TOnDevToolsEventRawEvent;
    Protected FOnDevToolsAgentAttached: TOnDevToolsAgentAttachedEvent;
    Protected FOnDevToolsAgentDetached: TOnDevToolsAgentDetachedEvent;
    Protected FOnPrintStart: TOnPrintStartEvent;
    Protected FOnPrintSettings: TOnPrintSettingsEvent;
    Protected FOnPrintDialog: TOnPrintDialogEvent;
    Protected FOnPrintJob: TOnPrintJobEvent;
    Protected FOnPrintReset: TOnPrintResetEvent;
    Protected FOnGetPDFPaperSize: TOnGetPDFPaperSizeEvent;
    Protected FOnFrameCreated: TOnFrameCreated;
    Protected FOnFrameAttached: TOnFrameAttached;
    Protected FOnFrameDetached: TOnFrameDetached;
    Protected FOnMainFrameChanged: TOnMainFrameChanged;
    Protected FOnChromeCommand: TOnChromeCommandEvent;
    Protected FOnIsChromeAppMenuItemVisible: TOnIsChromeAppMenuItemVisibleEvent;
    Protected FOnIsChromeAppMenuItemEnabled: TOnIsChromeAppMenuItemEnabledEvent;
    Protected FOnIsChromePageActionIconVisible: TOnIsChromePageActionIconVisibleEvent;
    Protected FOnIsChromeToolbarButtonVisible: TOnIsChromeToolbarButtonVisibleEvent;
    Protected FOnRequestMediaAccessPermission: TOnRequestMediaAccessPermissionEvent;
    Protected FOnShowPermissionPrompt: TOnShowPermissionPromptEvent;
    Protected FOnDismissPermissionPrompt: TOnDismissPermissionPromptEvent;
    Protected FOnTextResultAvailable: TOnTextResultAvailableEvent;
    Protected FOnPdfPrintFinished: TOnPdfPrintFinishedEvent;
    Protected FOnPrefsAvailable: TOnPrefsAvailableEvent;
    Protected FOnPrefsUpdated: TNotifyEvent;
    Protected FOnCookiesDeleted: TOnCookiesDeletedEvent;
    Protected FOnResolvedHostAvailable: TOnResolvedIPsAvailableEvent;
    Protected FOnNavigationVisitorResultAvailable: TOnNavigationVisitorResultAvailableEvent;
    Protected FOnDownloadImageFinished: TOnDownloadImageFinishedEvent;
    Protected FOnCookiesFlushed: TNotifyEvent;
    Protected FOnCertificateExceptionsCleared: TNotifyEvent;
    Protected FOnHttpAuthCredentialsCleared: TNotifyEvent;
    Protected FOnAllConnectionsClosed: TNotifyEvent;
    Protected FOnExecuteTaskOnCefThread: TOnExecuteTaskOnCefThread;
    Protected FOnCookiesVisited: TOnCookiesVisited;
    Protected FOnCookieVisitorDestroyed: TOnCookieVisitorDestroyed;
    Protected FOnCookieSet: TOnCookieSet;
    Protected FOnZoomPctAvailable: TOnZoomPctAvailable;
    Protected FOnMediaRouteCreateFinished: TOnMediaRouteCreateFinishedEvent;
    Protected FOnMediaSinkDeviceInfo: TOnMediaSinkDeviceInfoEvent;
    Protected FOnCanFocus: TNotifyEvent;
    ProtectedFOnBrowserCompMsg: TOnCompMsgEvent;
    ProtectedFOnWidgetCompMsg: TOnCompMsgEvent;FOnBrowserCompMsg: TOnCompMsgEvent;
    Protected
    Protectedprocedure WidgetCompWndProc(var aMessage: TMessage);
    Protected procedure RenderCompWndProc(var aMessage: TMessage);
    Protected procedure RestoreOldCompWndProc;
    Protected function CopyDCToBitmapStream(aSrcDC : HDC; const aSrcRect : TRect; const aStream : TStream) : boolean;
    Protected procedure DragDropManager_OnDragEnter(Sender: TObject; const aDragData : ICefDragData; grfKeyState: Longint; pt: TPoint; var dwEffect: Longint);
    Protected procedure DragDropManager_OnDragOver(Sender: TObject; grfKeyState: Longint; pt: TPoint; var dwEffect: Longint);
    Protected procedure DragDropManager_OnDragLeave(Sender: TObject);
    Protected procedure DragDropManager_OnDrop(Sender: TObject; grfKeyState: Longint; pt: TPoint; var dwEffect: Longint);
    Protected function doOnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const aMessage: ICefProcessMessage): Boolean; virtual;
    Protected procedure doOnLoadStart(const browser: ICefBrowser; const frame: ICefFrame; transitionType: TCefTransitionType); virtual;
    Protected procedure doOnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); virtual;
    Protected procedure doOnLoadError(const browser: ICefBrowser; const frame: ICefFrame; errorCode: TCefErrorCode; const errorText, failedUrl: ustring); virtual;
    Protected procedure doOnLoadingStateChange(const browser: ICefBrowser; isLoading, canGoBack, canGoForward: Boolean); virtual;
    Protected procedure doOnTakeFocus(const browser: ICefBrowser; next: Boolean); virtual;
    Protected function doOnSetFocus(const browser: ICefBrowser; source: TCefFocusSource): Boolean; virtual;
    Protected procedure doOnGotFocus(const browser: ICefBrowser); virtual;
    Protected procedure doOnBeforeContextMenu(const browser: ICefBrowser; const frame: ICefFrame; const params: ICefContextMenuParams; const model: ICefMenuModel); virtual;
    Protected function doRunContextMenu(const browser: ICefBrowser; const frame: ICefFrame; const params: ICefContextMenuParams; const model: ICefMenuModel; const callback: ICefRunContextMenuCallback): Boolean; virtual;
    Protected function doOnContextMenuCommand(const browser: ICefBrowser; const frame: ICefFrame; const params: ICefContextMenuParams; commandId: Integer; eventFlags: TCefEventFlags): Boolean; virtual;
    Protected procedure doOnContextMenuDismissed(const browser: ICefBrowser; const frame: ICefFrame); virtual;
    Protected function doRunQuickMenu(const browser: ICefBrowser; const frame: ICefFrame; location: PCefPoint; size: PCefSize; edit_state_flags: TCefQuickMenuEditStateFlags; const callback: ICefRunQuickMenuCallback): boolean; virtual;
    Protected function doOnQuickMenuCommand(const browser: ICefBrowser; const frame: ICefFrame; command_id: integer; event_flags: TCefEventFlags): boolean; virtual;
    Protected procedure doOnQuickMenuDismissed(const browser: ICefBrowser; const frame: ICefFrame); virtual;
    Protected function doOnPreKeyEvent(const browser: ICefBrowser; const event: PCefKeyEvent; osEvent: TCefEventHandle; out isKeyboardShortcut: Boolean): Boolean; virtual;
    Protected function doOnKeyEvent(const browser: ICefBrowser; const event: PCefKeyEvent; osEvent: TCefEventHandle): Boolean; virtual;
    Protected procedure doOnAddressChange(const browser: ICefBrowser; const frame: ICefFrame; const url: ustring); virtual;
    Protected procedure doOnTitleChange(const browser: ICefBrowser; const title: ustring); virtual;
    Protected procedure doOnFaviconUrlChange(const browser: ICefBrowser; const iconUrls: TStrings); virtual;
    Protected procedure doOnFullScreenModeChange(const browser: ICefBrowser; fullscreen: Boolean); virtual;
    Protected function doOnTooltip(const browser: ICefBrowser; var text: ustring): Boolean; virtual;
    Protected procedure doOnStatusMessage(const browser: ICefBrowser; const value: ustring); virtual;
    Protected function doOnConsoleMessage(const browser: ICefBrowser; level: TCefLogSeverity; const aMessage, source: ustring; line: Integer): Boolean; virtual;
    Protected function doOnAutoResize(const browser: ICefBrowser; const new_size: PCefSize): Boolean; virtual;
    Protected procedure doOnLoadingProgressChange(const browser: ICefBrowser; const progress: double); virtual;
    Protected procedure doOnCursorChange(const browser: ICefBrowser; cursor_: TCefCursorHandle; cursorType: TCefCursorType; const customCursorInfo: PCefCursorInfo; var aResult : boolean); virtual;
    Protected procedure doOnMediaAccessChange(const browser: ICefBrowser; has_video_access, has_audio_access: boolean); virtual;
    Protected function doOnCanDownload(const browser: ICefBrowser; const url, request_method: ustring): boolean;
    Protected function doOnBeforeDownload(const browser: ICefBrowser; const downloadItem: ICefDownloadItem; const suggestedName: ustring; const callback: ICefBeforeDownloadCallback): boolean; virtual;
    Protected procedure doOnDownloadUpdated(const browser: ICefBrowser; const downloadItem: ICefDownloadItem; const callback: ICefDownloadItemCallback); virtual;
    Protected function doOnJsdialog(const browser: ICefBrowser; const originUrl: ustring; dialogType: TCefJsDialogType; const messageText, defaultPromptText: ustring; const callback: ICefJsDialogCallback; out suppressMessage: Boolean): Boolean; virtual;
    Protected function doOnBeforeUnloadDialog(const browser: ICefBrowser; const messageText: ustring; isReload: Boolean; const callback: ICefJsDialogCallback): Boolean; virtual;
    Protected procedure doOnResetDialogState(const browser: ICefBrowser); virtual;
    Protected procedure doOnDialogClosed(const browser: ICefBrowser); virtual;
    Protected function doOnBeforePopup(const browser: ICefBrowser; const frame: ICefFrame; const targetUrl, targetFrameName: ustring; targetDisposition: TCefWindowOpenDisposition; userGesture: Boolean; const popupFeatures: TCefPopupFeatures; var windowInfo: TCefWindowInfo; var client: ICefClient; var settings: TCefBrowserSettings; var extra_info: ICefDictionaryValue; var noJavascriptAccess: Boolean): Boolean; virtual;
    Protected procedure doOnBeforeDevToolsPopup(const browser: ICefBrowser; var windowInfo: TCefWindowInfo; var client: ICefClient; var settings: TCefBrowserSettings; var extra_info: ICefDictionaryValue; var use_default_window: boolean); virtual;
    Protected procedure doOnAfterCreated(const browser: ICefBrowser); virtual;
    Protected procedure doOnBeforeClose(const browser: ICefBrowser); virtual;
    Protected function doOnClose(const browser: ICefBrowser): Boolean; virtual;
    Protected function doOnBeforeBrowse(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; user_gesture, isRedirect: Boolean): Boolean; virtual;
    Protected function doOnOpenUrlFromTab(const browser: ICefBrowser; const frame: ICefFrame; const targetUrl: ustring; targetDisposition: TCefWindowOpenDisposition; userGesture: Boolean): Boolean; virtual;
    Protected procedure doGetResourceRequestHandler_ReqHdlr(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; is_navigation, is_download: boolean; const request_initiator: ustring; var disable_default_handling: boolean; var aResourceRequestHandler : ICefResourceRequestHandler); virtual;
    Protected function doOnGetAuthCredentials(const browser: ICefBrowser; const originUrl: ustring; isProxy: Boolean; const host: ustring; port: Integer; const realm, scheme: ustring; const callback: ICefAuthCallback): Boolean; virtual;
    Protected function doOnCertificateError(const browser: ICefBrowser; certError: TCefErrorcode; const requestUrl: ustring; const sslInfo: ICefSslInfo; const callback: ICefCallback): Boolean; virtual;
    Protected function doOnSelectClientCertificate(const browser: ICefBrowser; isProxy: boolean; const host: ustring; port: integer; certificatesCount: NativeUInt; const certificates: TCefX509CertificateArray; const callback: ICefSelectClientCertificateCallback): boolean; virtual;
    Protected procedure doOnRenderViewReady(const browser: ICefBrowser); virtual;
    Protected function doOnRenderProcessUnresponsive(const browser: ICefBrowser; const callback: ICefUnresponsiveProcessCallback): boolean; virtual;
    Protected procedure doOnRenderProcessResponsive(const browser: ICefBrowser); virtual;
    Protected procedure doOnRenderProcessTerminated(const browser: ICefBrowser; status: TCefTerminationStatus; error_code: integer; const error_string: ustring); virtual;
    Protected procedure doOnDocumentAvailableInMainFrame(const browser: ICefBrowser); virtual;
    Protected function doOnBeforeResourceLoad(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const callback: ICefCallback): TCefReturnValue; virtual;
    Protected procedure doOnGetResourceHandler(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; var aResourceHandler : ICefResourceHandler); virtual;
    Protected procedure doOnResourceRedirect(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const response: ICefResponse; var newUrl: ustring); virtual;
    Protected function doOnResourceResponse(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const response: ICefResponse): Boolean; virtual;
    Protected procedure doOnGetResourceResponseFilter(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const response: ICefResponse; var aResponseFilter: ICefResponseFilter); virtual;
    Protected procedure doOnResourceLoadComplete(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const response: ICefResponse; status: TCefUrlRequestStatus; receivedContentLength: Int64); virtual;
    Protected procedure doOnProtocolExecution(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; var allowOsExecution: Boolean); virtual;
    Protected function doCanSendCookie(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const cookie: PCefCookie): boolean; virtual;
    Protected function doCanSaveCookie(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const response: ICefResponse; const cookie: PCefCookie): boolean; virtual;
    Protected function doOnFileDialog(const browser: ICefBrowser; mode: TCefFileDialogMode; const title, defaultFilePath: ustring; const acceptFilters, accept_extensions, accept_descriptions: TStrings; const callback: ICefFileDialogCallback): Boolean; virtual;
    Protected procedure doOnGetAccessibilityHandler(var aAccessibilityHandler : ICefAccessibilityHandler); virtual;
    Protected function doOnGetRootScreenRect(const browser: ICefBrowser; var rect: TCefRect): Boolean; virtual;
    Protected procedure doOnGetViewRect(const browser: ICefBrowser; var rect: TCefRect); virtual;
    Protected function doOnGetScreenPoint(const browser: ICefBrowser; viewX, viewY: Integer; var screenX, screenY: Integer): Boolean; virtual;
    Protected function doOnGetScreenInfo(const browser: ICefBrowser; var screenInfo: TCefScreenInfo): Boolean; virtual;
    Protected procedure doOnPopupShow(const browser: ICefBrowser; show: Boolean); virtual;
    Protected procedure doOnPopupSize(const browser: ICefBrowser; const rect: PCefRect); virtual;
    Protected procedure doOnPaint(const browser: ICefBrowser; type_: TCefPaintElementType; dirtyRectsCount: NativeUInt; const dirtyRects: PCefRectArray; const buffer: Pointer; width, height: Integer); virtual;
    Protected procedure doOnAcceleratedPaint(const browser: ICefBrowser; type_: TCefPaintElementType; dirtyRectsCount: NativeUInt; const dirtyRects: PCefRectArray; const info: PCefAcceleratedPaintInfo); virtual;
    Protected procedure doGetTouchHandleSize(const browser: ICefBrowser; orientation: TCefHorizontalAlignment; var size: TCefSize); virtual;
    Protected procedure doOnTouchHandleStateChanged(const browser: ICefBrowser; const state: TCefTouchHandleState); virtual;
    Protected function doOnStartDragging(const browser: ICefBrowser; const dragData: ICefDragData; allowedOps: TCefDragOperations; x, y: Integer): Boolean; virtual;
    Protected procedure doOnUpdateDragCursor(const browser: ICefBrowser; operation: TCefDragOperation); virtual;
    Protected procedure doOnScrollOffsetChanged(const browser: ICefBrowser; x, y: Double); virtual;
    Protected procedure doOnIMECompositionRangeChanged(const browser: ICefBrowser; const selected_range: PCefRange; character_boundsCount: NativeUInt; const character_bounds: PCefRect); virtual;
    Protected procedure doOnTextSelectionChanged(const browser: ICefBrowser; const selected_text: ustring; const selected_range: PCefRange); virtual;
    Protected procedure doOnVirtualKeyboardRequested(const browser: ICefBrowser; input_mode: TCefTextInpuMode); virtual;
    Protected function doOnDragEnter(const browser: ICefBrowser; const dragData: ICefDragData; mask: TCefDragOperations): Boolean; virtual;
    Protected procedure doOnDraggableRegionsChanged(const browser: ICefBrowser; const frame: ICefFrame; regionsCount: NativeUInt; const regions: PCefDraggableRegionArray); virtual;
    Protected procedure doOnFindResult(const browser: ICefBrowser; identifier, count: Integer; const selectionRect: PCefRect; activeMatchOrdinal: Integer; finalUpdate: Boolean); virtual;
    Protected procedure doOnRequestContextInitialized(const request_context: ICefRequestContext); virtual;
    Protected procedure doGetResourceRequestHandler_ReqCtxHdlr(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; is_navigation, is_download: boolean; const request_initiator: ustring; var disable_default_handling: boolean; var aResourceRequestHandler : ICefResourceRequestHandler); virtual;
    Protected procedure doOnSinks(const sinks: TCefMediaSinkArray); virtual;
    Protected procedure doOnRoutes(const routes: TCefMediaRouteArray); virtual;
    Protected procedure doOnRouteStateChanged(const route: ICefMediaRoute; state: TCefMediaRouteConnectionState); virtual;
    Protected procedure doOnRouteMessageReceived(const route: ICefMediaRoute; const message_: ustring); virtual;
    Protected procedure doOnGetAudioParameters(const browser: ICefBrowser; var params: TCefAudioParameters; var aResult: boolean); virtual;
    Protected procedure doOnAudioStreamStarted(const browser: ICefBrowser; const params: TCefAudioParameters; channels: integer); virtual;
    Protected procedure doOnAudioStreamPacket(const browser: ICefBrowser; const data : PPSingle; frames: integer; pts: int64); virtual;
    Protected procedure doOnAudioStreamStopped(const browser: ICefBrowser); virtual;
    Protected procedure doOnAudioStreamError(const browser: ICefBrowser; const message_: ustring); virtual;
    Protected procedure doOnDevToolsMessage(const browser: ICefBrowser; const message_: Pointer; message_size: NativeUInt; var aHandled: boolean); virtual;
    Protected procedure doOnDevToolsMethodResult(const browser: ICefBrowser; message_id: integer; success: boolean; const result: Pointer; result_size: NativeUInt); virtual;
    Protected procedure doOnDevToolsEvent(const browser: ICefBrowser; const method: ustring; const params: Pointer; params_size: NativeUInt); virtual;
    Protected procedure doOnDevToolsAgentAttached(const browser: ICefBrowser); virtual;
    Protected procedure doOnDevToolsAgentDetached(const browser: ICefBrowser); virtual;
    Protected procedure doOnPrintStart(const browser: ICefBrowser);
    Protected procedure doOnPrintSettings(const browser: ICefBrowser; const settings: ICefPrintSettings; getDefaults: boolean);
    Protected procedure doOnPrintDialog(const browser: ICefBrowser; hasSelection: boolean; const callback: ICefPrintDialogCallback; var aResult : boolean);
    Protected procedure doOnPrintJob(const browser: ICefBrowser; const documentName, PDFFilePath: ustring; const callback: ICefPrintJobCallback; var aResult : boolean);
    Protected procedure doOnPrintReset(const browser: ICefBrowser);
    Protected procedure doOnGetPDFPaperSize(const browser: ICefBrowser; deviceUnitsPerInch: Integer; var aResult : TCefSize);
    Protected procedure doOnFrameCreated(const browser: ICefBrowser; const frame: ICefFrame);
    Protected procedure doOnFrameAttached(const browser: ICefBrowser; const frame: ICefFrame; reattached: boolean);
    Protected procedure doOnFrameDetached(const browser: ICefBrowser; const frame: ICefFrame);
    Protected procedure doOnMainFrameChanged(const browser: ICefBrowser; const old_frame, new_frame: ICefFrame);
    Protected function doOnChromeCommand(const browser: ICefBrowser; command_id: integer; disposition: TCefWindowOpenDisposition): boolean;
    Protected function doOnIsChromeAppMenuItemVisible(const browser: ICefBrowser; command_id: integer): boolean;
    Protected function doOnIsChromeAppMenuItemEnabled(const browser: ICefBrowser; command_id: integer): boolean;
    Protected function doOnIsChromePageActionIconVisible(icon_type: TCefChromePageActionIconType): boolean;
    Protected function doOnIsChromeToolbarButtonVisible(button_type: TCefChromeToolbarButtonType): boolean;
    Protected function doOnRequestMediaAccessPermission(const browser: ICefBrowser; const frame: ICefFrame; const requesting_origin: ustring; requested_permissions: cardinal; const callback: ICefMediaAccessCallback): boolean;
    Protected function doOnShowPermissionPrompt(const browser: ICefBrowser; prompt_id: uint64; const requesting_origin: ustring; requested_permissions: cardinal; const callback: ICefPermissionPromptCallback): boolean;
    Protected procedure doOnDismissPermissionPrompt(const browser: ICefBrowser; prompt_id: uint64; result: TCefPermissionRequestResult);
    Protected procedure GetSettings(var aSettings : TCefBrowserSettings);
    Protected procedure doCookiesDeleted(numDeleted : integer); virtual;
    Protected procedure doPdfPrintFinished(aResultOK : boolean); virtual;
    Protected procedure doTextResultAvailable(const aText : ustring); virtual;
    Protected procedure doUpdatePreferences(const aBrowser: ICefBrowser); virtual;
    Protected procedure doUpdateOwnPreferences; virtual;
    Protected function doSavePreferences: boolean; virtual;
    Protected procedure doResolvedHostAvailable(result: TCefErrorCode; const resolvedIps: TStrings); virtual;
    Protected function doNavigationVisitorResultAvailable(const entry: ICefNavigationEntry; current: Boolean; index, total: Integer) : boolean; virtual;
    Protected procedure doDownloadImageFinished(const imageUrl: ustring; httpStatusCode: Integer; const image: ICefImage); virtual;
    Protected procedure doOnCookiesStoreFlushed; virtual;
    Protected procedure doCertificateExceptionsCleared; virtual;
    Protected procedure doHttpAuthCredentialsCleared; virtual;
    Protected procedure doAllConnectionsClosed; virtual;
    Protected procedure doOnExecuteTaskOnCefThread(aTaskID : cardinal); virtual;
    Protected procedure doOnCookiesVisited(const name_, value, domain, path: ustring; secure, httponly, hasExpires: Boolean; const creation, lastAccess, expires: TDateTime; count, total, aID : Integer; same_site : TCefCookieSameSite; priority : TCefCookiePriority; var aDeleteCookie, aResult : Boolean); virtual;
    Protected procedure doOnCookieVisitorDestroyed(aID : integer); virtual;
    Protected procedure doOnCookieSet(aSuccess : boolean; aID : integer); virtual;
    Protected procedure doUpdateZoomStep(aInc : boolean); virtual;
    Protected procedure doUpdateZoomPct(aInc : boolean); virtual;
    Protected procedure doReadZoom; virtual;
    Protected procedure doSetZoomLevel(const aValue : double); virtual;
    Protected procedure doSetZoomPct(const aValue : double); virtual;
    Protected procedure doSetZoomStep(aValue : byte); virtual;
    Protected procedure doMediaRouteCreateFinished(result: TCefMediaRouterCreateResult; const error: ustring; const route: ICefMediaRoute); virtual;
    Protected procedure doOnMediaSinkDeviceInfo(const ip_address: ustring; port: integer; const model_name: ustring); virtual;
    Protected procedure doBrowserNavigation(aTask : TCefBrowserNavigation); virtual;
    Protected procedure doSetAudioMuted(aValue : boolean); virtual;
    Protected procedure doToggleAudioMuted; virtual;
    Protected procedure doEnableFocus; virtual;
    Protected function doTryCloseBrowser: boolean; virtual;
    Protected function MustCreateAudioHandler: boolean; virtual;
    Protected function MustCreateCommandHandler: boolean; virtual;
    Protected function MustCreateDevToolsMessageObserver: boolean; virtual;
    Protected function MustCreateLoadHandler: boolean; virtual;
    Protected function MustCreateFocusHandler: boolean; virtual;
    Protected function MustCreateContextMenuHandler: boolean; virtual;
    Protected function MustCreateDialogHandler: boolean; virtual;
    Protected function MustCreateKeyboardHandler: boolean; virtual;
    Protected function MustCreateDisplayHandler: boolean; virtual;
    Protected function MustCreateDownloadHandler: boolean; virtual;
    Protected function MustCreateJsDialogHandler: boolean; virtual;
    Protected function MustCreateLifeSpanHandler: boolean; virtual;
    Protected function MustCreateRenderHandler: boolean; virtual;
    Protected function MustCreateRequestHandler: boolean; virtual;
    Protected function MustCreateDragHandler: boolean; virtual;
    Protected function MustCreateFindHandler: boolean; virtual;
    Protected function MustCreateResourceRequestHandler: boolean; virtual;
    Protected function MustCreateCookieAccessFilter: boolean; virtual;
    Protected function MustCreateMediaObserver: boolean; virtual;
    Protected function MustCreatePrintHandler: boolean; virtual;
    Protected function MustCreateFrameHandler: boolean; virtual;
    Protected function MustCreatePermissionHandler: boolean; virtual;
    Public constructor Create(AOwner: TComponent); override;
    Public destructor Destroy; override;
    Public procedure AfterConstruction; override;
    Public procedure BeforeDestruction; override;
    Public function CreateClientHandler(aIsOSR : boolean = True) : boolean; overload;
    Public function CreateClientHandler(var aClient : ICefClient; aIsOSR : boolean = True) : boolean; overload;
    Public procedure CloseBrowser(aForceClose : boolean);
    Public procedure CloseAllBrowsers;
    Public function TryCloseBrowser: boolean;
    Public function SelectBrowser(aID : integer) : boolean;
    Public function IndexOfBrowserID(aID : integer) : integer;
    Public function ShareRequestContext(var aContext : ICefRequestContext; const aHandler : ICefRequestContextHandler = nil) : boolean;
    Public procedure InitializeDragAndDrop(const aDropTargetWnd : HWND);
    Public procedure ShutdownDragAndDrop;
    Public function SetNewBrowserParent(aNewParentHwnd : HWND) : boolean;
    Public function CreateBrowser(aParentHandle : TCefWindowHandle; aParentRect : TRect; const aWindowName : ustring = ''; const aContext : ICefRequestContext = nil; const aExtraInfo : ICefDictionaryValue = nil; aForceAsPopup : boolean = False) : boolean; overload; virtual;
    Public function CreateBrowser(const aURL : ustring; const aBrowserViewComp : TCEFBrowserViewComponent; const aContext : ICefRequestContext = nil; const aExtraInfo : ICefDictionaryValue = nil) : boolean; overload; virtual;
    Public procedure LoadURL(const aURL : ustring; const aFrameName : ustring = ''; const aFrameIdentifier : ustring = ''); overload;
    Public procedure LoadURL(const aURL : ustring; const aFrame : ICefFrame); overload;
    Public procedure LoadString(const aHTML : ustring; const aFrameName : ustring = ''; const aFrameIdentifier : ustring = ''); overload;
    Public procedure LoadString(const aHTML : ustring; const aFrame : ICefFrame); overload;
    Public procedure LoadResource(const aStream : TCustomMemoryStream; const aMimeType, aCharset : string; const aFrameName : ustring = ''; const aFrameIdentifier : ustring = ''); overload;
    Public procedure LoadResource(const aStream : TCustomMemoryStream; const aMimeType, aCharset : string; const aFrame : ICefFrame); overload;
    Public procedure LoadRequest(const aRequest: ICefRequest);
    Public procedure GoBack;
    Public procedure GoForward;
    Public procedure Reload;
    Public procedure ReloadIgnoreCache;
    Public procedure StopLoad;
    Public procedure StartDownload(const aURL : ustring);
    Public procedure DownloadImage(const imageUrl: ustring; isFavicon: Boolean; maxImageSize: cardinal; bypassCache: Boolean);
    Public procedure SimulateMouseWheel(aDeltaX, aDeltaY : integer);
    Public procedure SimulateKeyEvent(type_: TSimulatedCefKeyEventType; modifiers: integer = CEF_MOUSETOUCH_EVENT_MODIFIERS_NONE; timestamp: single = 0; const text: ustring = ''; const unmodifiedtext: ustring = ''; const keyIdentifier: ustring = ''; const code: ustring = ''; const key: ustring = ''; windowsVirtualKeyCode: integer = 0; nativeVirtualKeyCode: integer = 0; autoRepeat: boolean = False; isKeypad: boolean = False; isSystemKey: boolean = False; location: TCefKeyLocation = CEF_KEYLOCATION_NONE; commands: TCefEditingCommand = ecNone);
    Public procedure SimulateMouseEvent(type_: TCefSimulatedMouseEventType; x, y: single; modifiers: integer = CEF_MOUSETOUCH_EVENT_MODIFIERS_NONE; timestamp: single = 0; button: TCefSimulatedMouseButton = CEF_SIMULATEDMOUSEBUTTON_NONE; buttons: integer = CEF_PRESSED_MOUSE_BUTTONS_NONE; clickCount: integer = 0; force: single = 0; tangentialPressure: single = 0; tiltX: single = 0; tiltY: single = 0; twist: integer = 0; deltaX: single = 0; deltaY: single = 0; pointerType: TCefSimulatedPointerType = CEF_SIMULATEDPOINTERTYPE_MOUSE);
    Public procedure SimulateTouchEvent(type_: TCefSimulatedTouchEventType; var touchPoints: TCefSimulatedTouchPointArray; modifiers: integer = CEF_MOUSETOUCH_EVENT_MODIFIERS_NONE; timestamp: single = 0);
    Public procedure SimulateEditingCommand(command : TCefEditingCommand);
    Public function ClearCertificateExceptions(aClearImmediately : boolean = True) : boolean;
    Public function ClearHttpAuthCredentials(aClearImmediately : boolean = True) : boolean;
    Public function CloseAllConnections(aCloseImmediately : boolean = True) : boolean;
    Public procedure RetrieveHTML(const aFrameName : ustring = ''; const aFrameIdentifier : ustring = ''); overload;
    Public procedure RetrieveHTML(const aFrame : ICefFrame); overload;
    Public procedure RetrieveText(const aFrameName : ustring = ''; const aFrameIdentifier : ustring = ''); overload;
    Public procedure RetrieveText(const aFrame : ICefFrame); overload;
    Public procedure GetNavigationEntries(currentOnly: Boolean);
    Public function GetFrameNames(var aFrameNames : TStrings) : boolean;
    Public function GetFrameIdentifiers(var aFrameIdentifiers : TStrings) : boolean;
    Public procedure ExecuteJavaScript(const aCode, aScriptURL : ustring; const aFrameName : ustring = ''; const aFrameIdentifier : ustring = ''; aStartLine : integer = 0); overload;
    Public procedure ExecuteJavaScript(const aCode, aScriptURL : ustring; const aFrame : ICefFrame; aStartLine : integer = 0); overload;
    Public procedure UpdatePreferences;
    Public procedure SavePreferences(const aFileName : string);
    Public procedure ResolveHost(const aURL : ustring);
    Public function IsSameBrowser(const aBrowser : ICefBrowser) : boolean;
    Public function ExecuteTaskOnCefThread(aCefThreadId : TCefThreadId; aTaskID : cardinal; aDelayMs : Int64 = 0) : boolean;
    Public procedure SetUserAgentOverride(const aUserAgent : ustring; const aAcceptLanguage : ustring = ''; const aPlatform : ustring = '');
    Public procedure ClearDataForOrigin(const aOrigin : ustring; aStorageTypes : TCefClearDataStorageTypes = cdstAll);
    Public procedure ClearCache;
    Public procedure ToggleAudioMuted;
    Public function DeleteCookies(const url : ustring = ''; const cookieName : ustring = ''; aDeleteImmediately : boolean = False) : boolean;
    Public function VisitAllCookies(aID : integer = 0) : boolean;
    Public function VisitURLCookies(const url : ustring; includeHttpOnly : boolean = False; aID : integer = 0) : boolean;
    Public function SetCookie(const url, name_, value, domain, path: ustring; secure, httponly, hasExpires: Boolean; const creation, lastAccess, expires: TDateTime; same_site : TCefCookieSameSite; priority : TCefCookiePriority; aSetImmediately : boolean = True; aID : integer = 0): Boolean;
    Public function FlushCookieStore(aFlushImmediately : boolean = True) : boolean;
    Public procedure ShowDevTools(const inspectElementAt: TPoint; aWindowInfo: PCefWindowInfo);
    Public procedure CloseDevTools; overload;
    Public procedure CloseDevTools(const aDevToolsWnd : TCefWindowHandle); overload;
    Public function SendDevToolsMessage(const message_: ustring): boolean;
    Public function ExecuteDevToolsMethod(message_id: integer; const method: ustring; const params: ICefDictionaryValue): Integer;
    Public function AddDevToolsMessageObserver(const observer: ICefDevToolsMessageObserver): ICefRegistration;
    Public procedure Find(const aSearchText : ustring; aForward, aMatchCase, aFindNext : Boolean);
    Public procedure StopFinding(aClearSelection : Boolean);
    Public procedure Print;
    Public procedure PrintToPDF(const aFilePath : ustring);
    Public procedure ClipboardCopy;
    Public procedure ClipboardPaste;
    Public procedure ClipboardCut;
    Public procedure ClipboardUndo;
    Public procedure ClipboardRedo;
    Public procedure ClipboardDel;
    Public procedure SelectAll;
    Public procedure IncZoomStep;
    Public procedure DecZoomStep;
    Public procedure IncZoomPct;
    Public procedure DecZoomPct;
    Public procedure ResetZoomStep;
    Public procedure ResetZoomLevel;
    Public procedure ResetZoomPct;
    Public procedure ReadZoom;
    Public procedure IncZoomCommand;
    Public procedure DecZoomCommand;
    Public procedure ResetZoomCommand;
    Public procedure WasResized;
    Public procedure WasHidden(hidden: Boolean);
    Public procedure NotifyScreenInfoChanged;
    Public procedure NotifyMoveOrResizeStarted;
    Public procedure Invalidate(type_: TCefPaintElementType = PET_VIEW);
    Public procedure ExitFullscreen(will_cause_resize: boolean);
    Public function CanExecuteChromeCommand(command_id: integer): boolean;
    Public procedure ExecuteChromeCommand(command_id: integer; disposition: TCefWindowOpenDisposition);
    Public procedure SendExternalBeginFrame;
    Public procedure SendKeyEvent(const event: PCefKeyEvent);
    Public procedure SendMouseClickEvent(const event: PCefMouseEvent; type_: TCefMouseButtonType; mouseUp: Boolean; clickCount: Integer);
    Public procedure SendMouseMoveEvent(const event: PCefMouseEvent; mouseLeave: Boolean);
    Public procedure SendMouseWheelEvent(const event: PCefMouseEvent; deltaX, deltaY: Integer);
    Public procedure SendTouchEvent(const event: PCefTouchEvent);
    Public procedure SendCaptureLostEvent;
    Public procedure SendProcessMessage(targetProcess: TCefProcessId; const ProcMessage: ICefProcessMessage; const aFrameName : ustring = ''; const aFrameIdentifier : ustring = ''); overload;
    Public procedure SendProcessMessage(targetProcess: TCefProcessId; const ProcMessage: ICefProcessMessage; const aFrame : ICefFrame); overload;
    Public function CreateUrlRequest(const request: ICefRequest; const client: ICefUrlrequestClient; const aFrameName : ustring = ''; const aFrameIdentifier : ustring = ''): ICefUrlRequest; overload;
    Public function CreateUrlRequest(const request: ICefRequest; const client: ICefUrlrequestClient; const aFrame : ICefFrame): ICefUrlRequest; overload;
    Public procedure SetFocus(focus: Boolean);
    Public procedure SetAccessibilityState(accessibilityState: TCefState);
    Public procedure DragTargetDragEnter(const dragData: ICefDragData; const event: PCefMouseEvent; allowedOps: TCefDragOperations);
    Public procedure DragTargetDragOver(const event: PCefMouseEvent; allowedOps: TCefDragOperations);
    Public procedure DragTargetDragLeave;
    Public procedure DragTargetDrop(const event: PCefMouseEvent);
    Public procedure DragSourceEndedAt(x, y: Integer; op: TCefDragOperation);
    Public procedure DragSourceSystemDragEnded;
    Public procedure IMESetComposition(const text: ustring; const underlines : TCefCompositionUnderlineDynArray; const replacement_range, selection_range : PCefRange);
    Public procedure IMECommitText(const text: ustring; const replacement_range : PCefRange; relative_cursor_pos : integer);
    Public procedure IMEFinishComposingText(keep_selection : boolean);
    Public procedure IMECancelComposition;
    Public procedure ReplaceMisspelling(const aWord : ustring);
    Public procedure AddWordToDictionary(const aWord : ustring);
    Public function AddObserver(const observer: ICefMediaObserver): ICefRegistration;
    Public function GetSource(const urn: ustring): ICefMediaSource;
    Public procedure NotifyCurrentSinks;
    Public procedure NotifyCurrentRoutes;
    Public procedure CreateRoute(const source: ICefMediaSource; const sink: ICefMediaSink);
    Public procedure GetDeviceInfo(const aMediaSink: ICefMediaSink);
    Public function GetWebsiteSetting(const requesting_url, top_level_url: ustring; content_type: TCefContentSettingTypes): ICefValue;
    Public procedure SetWebsiteSetting(const requesting_url, top_level_url: ustring; content_type: TCefContentSettingTypes; const value: ICefValue);
    Public function GetContentSetting(const requesting_url, top_level_url: ustring; content_type: TCefContentSettingTypes): TCefContentSettingValues;
    Public procedure SetContentSetting(const requesting_url, top_level_url: ustring; content_type: TCefContentSettingTypes; value: TCefContentSettingValues);
    Public procedure SetChromeColorScheme(variant: TCefColorVariant; user_color: TCefColor);
    Publicproperty WidgetHandle : THandle read FWidgetCompHWND;
    Public property RenderHandle : THandle read FRenderCompHWND;
    Public property FrameIsFocused : boolean read GetFrameIsFocused;
    Public property Initialized : boolean read GetInitialized;
    Public property RequestContextCache : ustring read GetRequestContextCache;
    Public property RequestContextIsGlobal : boolean read GetRequestContextIsGlobal;
    Public property ChromeColorSchemeMode : TCefColorVariant read GetChromeColorSchemeMode;
    Public property ChromeColorSchemeColor : TCefColor read GetChromeColorSchemeColor;
    Public property ChromeColorSchemeVariant : TCefColorVariant read GetChromeColorSchemeVariant;
    Public property DocumentURL : ustring read GetDocumentURL;
    Public property ZoomLevel : double read GetZoomLevel write SetZoomLevel;
    Public property DefaultZoomLevel : double read GetDefaultZoomLevel;
    Public property CanIncZoom : boolean read GetCanIncZoom;
    Public property CanDecZoom : boolean read GetCanDecZoom;
    Public property CanResetZoom : boolean read GetCanResetZoom;
    Public property ZoomPct : double read GetZoomPct write SetZoomPct;
    Public property ZoomStep : byte read GetZoomStep write SetZoomStep;
    Public property WindowlessFrameRate : integer read GetWindowlessFrameRate write SetWindowlessFrameRate;
    Public property CustomHeaderName : ustring read FCustomHeaderName write SetCustomHeaderName;
    Public property CustomHeaderValue : ustring read FCustomHeaderValue write SetCustomHeaderValue;
    Public property DoNotTrack : boolean read FDoNotTrack write SetDoNotTrack;
    Public property SendReferrer : boolean read FSendReferrer write SetSendReferrer;
    Public property HyperlinkAuditing : boolean read FHyperlinkAuditing write SetHyperlinkAuditing;
    Public property AllowOutdatedPlugins : boolean read FAllowOutdatedPlugins write SetAllowOutdatedPlugins;
    Public property AlwaysAuthorizePlugins : boolean read FAlwaysAuthorizePlugins write SetAlwaysAuthorizePlugins;
    Public property AlwaysOpenPDFExternally : boolean read FAlwaysOpenPDFExternally write SetAlwaysOpenPDFExternally;
    Public property SpellChecking : boolean read FSpellChecking write SetSpellChecking;
    Public property SpellCheckerDicts : ustring read FSpellCheckerDicts write SetSpellCheckerDicts;
    Public property HasValidMainFrame : boolean read GetHasValidMainFrame;
    Public property FrameCount : NativeUInt read GetFrameCount;
    Public property DragOperations : TCefDragOperations read FDragOperations write FDragOperations;
    Public property AudioMuted : boolean read GetAudioMuted write SetAudioMuted;
    Public property Fullscreen : boolean read GetFullscreen;
    Public property IsRenderProcessUnresponsive : boolean read GetIsRenderProcessUnresponsive;
    Public property SafeSearch : boolean read FSafeSearch write SetSafeSearch;
    Public property YouTubeRestrict : integer read FYouTubeRestrict write SetYouTubeRestrict;
    Public property PrintingEnabled : boolean read FPrintingEnabled write SetPrintingEnabled;
    Public property AcceptLanguageList : ustring read FAcceptLanguageList write SetAcceptLanguageList;
    Public property AcceptCookies : TCefCookiePref read FAcceptCookies write SetAcceptCookies;
    Public property Block3rdPartyCookies : boolean read FBlock3rdPartyCookies write SetBlock3rdPartyCookies;
    Public property MultiBrowserMode : boolean read FMultiBrowserMode write SetMultiBrowserMode;
    Public property DefaultWindowInfoExStyle : DWORD read GetWindowInfoExStyle write SetWindowInfoExStyle;
    Public property Offline : boolean read FOffline write SetOffline;
    Public property QuicAllowed : boolean read FQuicAllowed write SetQuicAllowed;
    Public property JavascriptEnabled : boolean read FJavascriptEnabled write SetJavascriptEnabled;
    Public property LoadImagesAutomatically : boolean read FLoadImagesAutomatically write SetLoadImagesAutomatically;
    Public property BatterySaverModeState : TCefBatterySaverModeState read FBatterySaverModeState write SetBatterySaverModeState;
    Public property HighEfficiencyModeState : TCefHighEfficiencyModeState read FHighEfficiencyModeState write SetHighEfficiencyModeState;
    Public property CanFocus : boolean read FCanFocus;
    Public property EnableFocusDelayMs : cardinal read FEnableFocusDelayMs write FEnableFocusDelayMs;
    Public property WebRTCIPHandlingPolicy : TCefWebRTCHandlingPolicy read FWebRTCIPHandlingPolicy write SetWebRTCIPHandlingPolicy;
    Public property WebRTCMultipleRoutes : TCefState read FWebRTCMultipleRoutes write SetWebRTCMultipleRoutes;
    Public property WebRTCNonproxiedUDP : TCefState read FWebRTCNonProxiedUDP write SetWebRTCNonProxiedUDP;
    Public property ProxyType : integer read FProxyType write SetProxyType;
    Public property ProxyScheme : TCefProxyScheme read FProxyScheme write SetProxyScheme;
    Public property ProxyServer : ustring read FProxyServer write SetProxyServer;
    Public property ProxyPort : integer read FProxyPort write SetProxyPort;
    Public property ProxyUsername : ustring read FProxyUsername write SetProxyUsername;
    Public property ProxyPassword : ustring read FProxyPassword write SetProxyPassword;
    Public property ProxyScriptURL : ustring read FProxyScriptURL write SetProxyScriptURL;
    Public property ProxyByPassList : ustring read FProxyByPassList write SetProxyByPassList;
    Public property MaxConnectionsPerProxy : integer read FMaxConnectionsPerProxy write SetMaxConnectionsPerProxy;
    Public property DownloadBubble : TCefState read FDownloadBubble write FDownloadBubble;
    Public property HTTPSUpgrade : TCefState read FHTTPSUpgrade write FHTTPSUpgrade;
    Public property HSTSPolicyBypassList : ustring read FHSTSPolicyBypassList write FHSTSPolicyBypassList;
    Public property CredentialsService : TCefState read FCredentialsService write FCredentialsService;
    Published property OnTextResultAvailable : TOnTextResultAvailableEvent read FOnTextResultAvailable write FOnTextResultAvailable;
    Published property OnPdfPrintFinished : TOnPdfPrintFinishedEvent read FOnPdfPrintFinished write FOnPdfPrintFinished;
    Published property OnPrefsAvailable : TOnPrefsAvailableEvent read FOnPrefsAvailable write FOnPrefsAvailable;
    Published property OnPrefsUpdated : TNotifyEvent read FOnPrefsUpdated write FOnPrefsUpdated;
    Published property OnCookiesDeleted : TOnCookiesDeletedEvent read FOnCookiesDeleted write FOnCookiesDeleted;
    Published property OnResolvedHostAvailable : TOnResolvedIPsAvailableEvent read FOnResolvedHostAvailable write FOnResolvedHostAvailable;
    Published property OnNavigationVisitorResultAvailable : TOnNavigationVisitorResultAvailableEvent read FOnNavigationVisitorResultAvailable write FOnNavigationVisitorResultAvailable;
    Published property OnDownloadImageFinished : TOnDownloadImageFinishedEvent read FOnDownloadImageFinished write FOnDownloadImageFinished;
    Published property OnCookiesFlushed : TNotifyEvent read FOnCookiesFlushed write FOnCookiesFlushed;
    Published property OnCertificateExceptionsCleared : TNotifyEvent read FOnCertificateExceptionsCleared write FOnCertificateExceptionsCleared;
    Published property OnHttpAuthCredentialsCleared : TNotifyEvent read FOnHttpAuthCredentialsCleared write FOnHttpAuthCredentialsCleared;
    Published property OnAllConnectionsClosed : TNotifyEvent read FOnAllConnectionsClosed write FOnAllConnectionsClosed;
    Published property OnExecuteTaskOnCefThread : TOnExecuteTaskOnCefThread read FOnExecuteTaskOnCefThread write FOnExecuteTaskOnCefThread;
    Published property OnCookiesVisited : TOnCookiesVisited read FOnCookiesVisited write FOnCookiesVisited;
    Published property OnCookieVisitorDestroyed : TOnCookieVisitorDestroyed read FOnCookieVisitorDestroyed write FOnCookieVisitorDestroyed;
    Published property OnCookieSet : TOnCookieSet read FOnCookieSet write FOnCookieSet;
    Published property OnZoomPctAvailable : TOnZoomPctAvailable read FOnZoomPctAvailable write FOnZoomPctAvailable;
    Published property OnMediaRouteCreateFinished : TOnMediaRouteCreateFinishedEvent read FOnMediaRouteCreateFinished write FOnMediaRouteCreateFinished;
    Published property OnMediaSinkDeviceInfo : TOnMediaSinkDeviceInfoEvent read FOnMediaSinkDeviceInfo write FOnMediaSinkDeviceInfo;
    Published property OnCanFocus : TNotifyEvent read FOnCanFocus write FOnCanFocus;
    Publishedproperty OnBrowserCompMsg : TOnCompMsgEvent read FOnBrowserCompMsg write FOnBrowserCompMsg;
    Publishedproperty OnWidgetCompMsg : TOnCompMsgEvent read FOnWidgetCompMsg write FOnWidgetCompMsg;property OnBrowserCompMsg : TOnCompMsgEvent read FOnBrowserCompMsg write FOnBrowserCompMsg;
    Published
    - - - -
    ProtectedFOldWidgetCompWndPrc: TFNWndProc;
    -

    This item has no description.

    - - -
    Protected FOldRenderCompWndPrc: TFNWndProc;
    @@ -4295,14 +4259,6 @@ - - - -
    ProtectedFWidgetCompStub: Pointer;
    -

    This item has no description.

    - - -
    Protected FRenderCompStub: Pointer;
    @@ -4319,14 +4275,6 @@ - - - -
    ProtectedFWidgetCompHWND: THandle;
    -

    This item has no description.

    - - -
    Protected FRenderCompHWND: THandle;
    @@ -5497,14 +5445,6 @@ Custom

    - - - -
    ProtectedFOnWidgetCompMsg: TOnCompMsgEvent;
    -

    This item has no description.

    - - -
    Protected FOnRenderCompMsg: TOnCompMsgEvent;
    @@ -6634,14 +6574,6 @@ Custom

    - - - -
    Protectedprocedure WidgetCompWndProc(var aMessage: TMessage);
    -

    This item has no description.

    - - -
    Protected procedure RenderCompWndProc(var aMessage: TMessage);
    @@ -10201,16 +10133,6 @@ Custom

    - - - -
    Publicproperty WidgetHandle : THandle read FWidgetCompHWND;
    -

    - Handle of one to the child controls created automatically by CEF to show the web contents.

    -
    - - -
    Public property RenderHandle : THandle read FRenderCompHWND;
    @@ -11075,16 +10997,6 @@ Custom

    - - - -
    Publishedproperty OnWidgetCompMsg : TOnCompMsgEvent read FOnWidgetCompMsg write FOnWidgetCompMsg;
    -

    - Triggered for all messages sent to the child controls created by CEF to show the web contents.

    -
    - - -
    Published property OnRenderCompMsg : TOnCompMsgEvent read FOnRenderCompMsg write FOnRenderCompMsg;
    diff --git a/docs/html/uCEFTypes.html b/docs/html/uCEFTypes.html index fb8f6600..58789468 100644 --- a/docs/html/uCEFTypes.html +++ b/docs/html/uCEFTypes.html @@ -3432,7 +3432,7 @@ Ranges: 300-399 HTTP errors 400-499 Cache errors 500-599 ? - 600-699 FTP errors + 600-699 <Obsolete: FTP errors> 700-799 Certificate manager errors 800-899 DNS resolver errors diff --git a/source/uCEFChromiumCore.pas b/source/uCEFChromiumCore.pas index 1c809f85..86d7c800 100644 --- a/source/uCEFChromiumCore.pas +++ b/source/uCEFChromiumCore.pas @@ -125,13 +125,10 @@ type {$IFDEF MSWINDOWS} FOldBrowserCompWndPrc : TFNWndProc; - FOldWidgetCompWndPrc : TFNWndProc; FOldRenderCompWndPrc : TFNWndProc; FBrowserCompStub : Pointer; - FWidgetCompStub : Pointer; FRenderCompStub : Pointer; FBrowserCompHWND : THandle; - FWidgetCompHWND : THandle; FRenderCompHWND : THandle; {$ENDIF} @@ -325,7 +322,6 @@ type FOnCanFocus : TNotifyEvent; {$IFDEF MSWINDOWS} FOnBrowserCompMsg : TOnCompMsgEvent; - FOnWidgetCompMsg : TOnCompMsgEvent; FOnRenderCompMsg : TOnCompMsgEvent; {$ENDIF} @@ -490,7 +486,6 @@ type procedure RestoreCompWndProc(var aOldWnd: THandle; aNewWnd: THandle; var aProc: TFNWndProc); procedure CallOldCompWndProc(aProc: TFNWndProc; aWnd: THandle; var aMessage: TMessage); procedure BrowserCompWndProc(var aMessage: TMessage); - procedure WidgetCompWndProc(var aMessage: TMessage); procedure RenderCompWndProc(var aMessage: TMessage); procedure RestoreOldCompWndProc; function CopyDCToBitmapStream(aSrcDC : HDC; const aSrcRect : TRect; const aStream : TStream) : boolean; @@ -1824,10 +1819,6 @@ type /// /// Handle of one to the child controls created automatically by CEF to show the web contents. /// - property WidgetHandle : THandle read FWidgetCompHWND; - /// - /// Handle of one to the child controls created automatically by CEF to show the web contents. - /// property RenderHandle : THandle read FRenderCompHWND; {$ENDIF} /// @@ -2202,10 +2193,6 @@ type /// /// Triggered for all messages sent to the child controls created by CEF to show the web contents. /// - property OnWidgetCompMsg : TOnCompMsgEvent read FOnWidgetCompMsg write FOnWidgetCompMsg; - /// - /// Triggered for all messages sent to the child controls created by CEF to show the web contents. - /// property OnRenderCompMsg : TOnCompMsgEvent read FOnRenderCompMsg write FOnRenderCompMsg; {$ENDIF} @@ -3993,13 +3980,10 @@ begin {$IFDEF MSWINDOWS} FOldBrowserCompWndPrc := nil; - FOldWidgetCompWndPrc := nil; FOldRenderCompWndPrc := nil; FBrowserCompStub := nil; - FWidgetCompStub := nil; FRenderCompStub := nil; FBrowserCompHWND := 0; - FWidgetCompHWND := 0; FRenderCompHWND := 0; {$ENDIF MSWINDOWS} @@ -4581,7 +4565,6 @@ begin {$IFDEF MSWINDOWS} FOnBrowserCompMsg := nil; - FOnWidgetCompMsg := nil; FOnRenderCompMsg := nil; {$ENDIF} end; @@ -8164,29 +8147,6 @@ begin end; end; -procedure TChromiumCore.WidgetCompWndProc(var aMessage: TMessage); -var - TempHandled : boolean; -begin - try - TempHandled := False; - - try - if assigned(FOnWidgetCompMsg) then - FOnWidgetCompMsg(self, aMessage, TempHandled); - - if not(TempHandled) then - CallOldCompWndProc(FOldWidgetCompWndPrc, FWidgetCompHWND, aMessage); - finally - if aMessage.Msg = WM_DESTROY then - RestoreCompWndProc(FWidgetCompHWND, 0, FOldWidgetCompWndPrc); - end; - except - on e : exception do - if CustomExceptionHandler('TChromiumCore.WidgetCompWndProc', e) then raise; - end; -end; - procedure TChromiumCore.RenderCompWndProc(var aMessage: TMessage); var TempHandled : boolean; @@ -8215,9 +8175,6 @@ begin RestoreCompWndProc(FBrowserCompHWND, 0, FOldBrowserCompWndPrc); FreeAndNilStub(FBrowserCompStub); - RestoreCompWndProc(FWidgetCompHWND, 0, FOldWidgetCompWndPrc); - FreeAndNilStub(FWidgetCompStub); - RestoreCompWndProc(FRenderCompHWND, 0, FOldRenderCompWndPrc); FreeAndNilStub(FRenderCompStub); end; @@ -9289,26 +9246,10 @@ begin FOnDocumentAvailableInMainFrame(Self, browser); end; -{$IFDEF MSWINDOWS} -function EnumProcOSRChromeWidgetWin0(hWnd: HWND; lParam: LPARAM): BOOL; stdcall; -var - ClsName: array[0..256] of Char; -begin - ClsName[GetClassName(hWnd, ClsName, 256)] := #0; - if StrComp(ClsName, 'Chrome_WidgetWin_0') = 0 then - begin - PHandle(lParam)^ := hWnd; - Result := False; - end - else - Result := True; -end; -{$ENDIF MSWINDOWS} - procedure TChromiumCore.doOnRenderViewReady(const browser: ICefBrowser); {$IFDEF MSWINDOWS} var - OldBrowserCompHWND, OldWidgetCompHWND, OldRenderCompHWND: THandle; + OldBrowserCompHWND, OldRenderCompHWND: THandle; {$ENDIF} begin if (browser <> nil) and @@ -9317,29 +9258,11 @@ begin begin {$IFDEF MSWINDOWS} OldBrowserCompHWND := FBrowserCompHWND; - OldWidgetCompHWND := FWidgetCompHWND; OldRenderCompHWND := FRenderCompHWND; FBrowserCompHWND := browser.Host.WindowHandle; if (FBrowserCompHWND <> 0) then - begin - FWidgetCompHWND := FindWindowEx(FBrowserCompHWND, 0, 'Chrome_WidgetWin_0', ''); - - if (FWidgetCompHWND = 0) and FIsOSR and CefCurrentlyOn(TID_UI) then - begin - // The WidgetCompHWND window doesn't have a HwndParent (Owner). If we are in OSR mode this - // causes popup menus that are opened by CEF to stay open if the user clicks somewhere else. - // With this code we search for the Widget window in the UI Thread's window list and set - // the Browser window as its HwndParent. This works around the bug. - EnumThreadWindows(GetCurrentThreadId, @EnumProcOSRChromeWidgetWin0, NativeInt(@FWidgetCompHWND)); - - if (FWidgetCompHWND <> 0) then - SetWindowLongPtr(FWidgetCompHWND, GWLP_HWNDPARENT, NativeInt(FBrowserCompHWND)); - end; - end; - - if (FWidgetCompHWND <> 0) then - FRenderCompHWND := FindWindowEx(FWidgetCompHWND, 0, 'Chrome_RenderWidgetHostHWND', 'Chrome Legacy Window'); + FRenderCompHWND := FindWindowEx(FBrowserCompHWND, 0, 'Chrome_RenderWidgetHostHWND', 'Chrome Legacy Window'); RestoreCompWndProc(OldBrowserCompHWND, FBrowserCompHWND, FOldBrowserCompWndPrc); if assigned(FOnBrowserCompMsg) and (FBrowserCompHWND <> 0) and (FOldBrowserCompWndPrc = nil) then @@ -9348,13 +9271,6 @@ begin FOldBrowserCompWndPrc := InstallCompWndProc(FBrowserCompHWND, FBrowserCompStub); end; - RestoreCompWndProc(OldWidgetCompHWND, FWidgetCompHWND, FOldWidgetCompWndPrc); - if assigned(FOnWidgetCompMsg) and (FWidgetCompHWND <> 0) and (FOldWidgetCompWndPrc = nil) then - begin - CreateStub({$IFDEF FPC}@{$ENDIF}WidgetCompWndProc, FWidgetCompStub); - FOldWidgetCompWndPrc := InstallCompWndProc(FWidgetCompHWND, FWidgetCompStub); - end; - RestoreCompWndProc(OldRenderCompHWND, FRenderCompHWND, FOldRenderCompWndPrc); if assigned(FOnRenderCompMsg) and (FRenderCompHWND <> 0) and (FOldRenderCompWndPrc = nil) then begin diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 27e186c6..b8dcfe69 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 664, + "InternalVersion" : 665, "Name" : "cef4delphi_lazarus.lpk", "Version" : "129.0.12" }