diff --git a/docs/cef4delphi.chm b/docs/cef4delphi.chm index 11cc6703..a19eab9c 100644 Binary files a/docs/cef4delphi.chm and b/docs/cef4delphi.chm differ diff --git a/docs/html/cef4delphi.hhc b/docs/html/cef4delphi.hhc index 91278cda..71dae3de 100644 --- a/docs/html/cef4delphi.hhc +++ b/docs/html/cef4delphi.hhc @@ -6146,10 +6146,6 @@
  • - - - -
  • @@ -7144,10 +7140,6 @@
  • - - - -
  • @@ -8166,10 +8158,6 @@
  • - - - -
  • @@ -94404,10 +94392,6 @@
  • - - - -
  • @@ -95354,10 +95338,6 @@
  • - - - -
  • @@ -98032,10 +98012,6 @@
  • - - - -
  • diff --git a/docs/html/cef4delphi.hhk b/docs/html/cef4delphi.hhk index 9d4db7b5..80912e4f 100644 --- a/docs/html/cef4delphi.hhk +++ b/docs/html/cef4delphi.hhk @@ -290,16 +290,16 @@
  • - +
  • @@ -2686,20 +2686,16 @@
  • - +
  • @@ -5114,16 +5114,16 @@
  • - +
  • @@ -18284,16 +18284,16 @@
  • - +
  • @@ -20902,16 +20902,16 @@
  • - +
  • @@ -25286,16 +25286,16 @@
  • - +
  • @@ -25350,24 +25350,24 @@
  • - +
    • - - -
    • -
    • - +
    • - + + +
    • + +
  • @@ -39277,10 +39277,6 @@
  • - - - -
  • @@ -39512,16 +39508,16 @@
  • - +
  • @@ -40443,10 +40439,6 @@
  • - - - -
  • @@ -41772,44 +41764,44 @@
  • - +
  • - +
  • - +
  • @@ -42662,16 +42654,16 @@
  • - +
  • @@ -42746,16 +42738,16 @@
  • - +
  • @@ -42771,10 +42763,6 @@
  • - - - -
  • @@ -43052,16 +43040,12 @@
  • - +
  • @@ -45982,16 +45970,16 @@
  • - +
  • @@ -46440,16 +46428,16 @@
  • - +
  • diff --git a/docs/html/uCEFChromiumCore.TChromiumCore.html b/docs/html/uCEFChromiumCore.TChromiumCore.html index 598b0b54..0b7f729a 100644 --- a/docs/html/uCEFChromiumCore.TChromiumCore.html +++ b/docs/html/uCEFChromiumCore.TChromiumCore.html @@ -273,701 +273,697 @@ Protected -FAcceptLanguageList: ustring; - - -Protected FAcceptCookies: TCefCookiePref; - + Protected FBlock3rdPartyCookies: boolean; - + Protected FQuicAllowed: boolean; - + Protected FJavascriptEnabled: boolean; - + Protected FLoadImagesAutomatically: boolean; - + Protected FBatterySaverModeState: TCefBatterySaverModeState; - + Protected FHighEfficiencyModeState: TCefHighEfficiencyModeState; - + Protected FCanFocus: boolean; - + Protected FEnableFocusDelayMs: cardinal; - + Protected FComponentID: integer; - + Protected FDownloadBubble: TCefState; - + Protected FHTTPSUpgrade: TCefState; - + Protected FHSTSPolicyBypassList: ustring; - + Protected FCredentialsService: TCefState; - + Protected FAutofillCreditCard: TCefState; - + Protected FAutofillProfile: TCefState; - + Protected FAutofillSaveData: TCefState; - + Protected FCanMakePayment: TCefState; - + Protected FSearchSuggestEnabled: TCefState; - + Protected FURLDataCollection: TCefState; - + Protected FTryingToCloseBrowser: boolean; - + Protected FStorageNotificationService: TCefState; - + Protected FOldBrowserCompWndPrc: TFNWndProc; - + Protected FOldRenderCompWndPrc: TFNWndProc; - + Protected FBrowserCompStub: Pointer; - + Protected FRenderCompStub: Pointer; - + Protected FBrowserCompHWND: 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 FOnContentsBoundsChange: TOnContentsBoundsChange; - + Protected FOnGetRootWindowScreenRect: TOnGetRootWindowScreenRect; - + 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 FOnBeforePopupAborted: TOnBeforePopupAborted; - + 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 FOnFrameDestroyed: TOnFrameDestroyed; - + 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 FOnPreferenceChanged: TOnPreferenceChangedEvent; - + Protected FOnSettingChanged: TOnSettingChangedEvent; - + 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; - + Protected FOnBrowserCompMsg: TOnCompMsgEvent; - + Protected FOnRenderCompMsg: TOnCompMsgEvent; @@ -1288,1557 +1284,1553 @@ Protected -procedure SetAcceptLanguageList(const aValue : ustring); - - -Protected procedure SetAcceptCookies(const aValue : TCefCookiePref); - + Protected procedure SetBlock3rdPartyCookies(const aValue : boolean); - + Protected procedure SetMultiBrowserMode(aValue : boolean); - + Protected procedure SetQuicAllowed(aValue : boolean); - + Protected procedure SetJavascriptEnabled(aValue : boolean); - + Protected procedure SetLoadImagesAutomatically(aValue : boolean); - + Protected procedure SetBatterySaverModeState(aValue : TCefBatterySaverModeState); - + Protected procedure SetHighEfficiencyModeState(aValue : TCefHighEfficiencyModeState); - + Protected procedure SetDefaultUrl(const aValue : ustring); - + Protected procedure SetRuntimeStyle(aValue : TCefRuntimeStyle); - + Protected procedure SetWindowInfoExStyle(aValue : DWORD); - + Protected function CreateBrowserHost(aWindowInfo : PCefWindowInfo; const aURL : ustring; const aSettings : PCefBrowserSettings; const aExtraInfo : ICefDictionaryValue; const aContext : ICefRequestContext): boolean; - + Protected function CreateBrowserHostSync(aWindowInfo : PCefWindowInfo; const aURL : ustring; const aSettings : PCefBrowserSettings; const aExtraInfo : ICefDictionaryValue; const aContext : ICefRequestContext): Boolean; - + Protected procedure DestroyAllBrowsers; - + Protected procedure DestroyClientHandler; - + Protected procedure DestroyReqContextHandler; - + Protected procedure DestroyResourceRequestHandler; - + Protected procedure DestroyMediaObserver; - + Protected procedure DestroyDevToolsMsgObserver; - + Protected procedure DestroySettingObserver; - + Protected procedure DestroyPreferenceObserver; - + Protected procedure DestroyAllHandlersAndObservers; - + Protected procedure CreateResourceRequestHandler; virtual; - + Protected procedure CreateMediaObserver; virtual; - + Protected procedure CreateDevToolsMsgObserver; virtual; - + Protected procedure CreateSettingObserver; virtual; - + Protected procedure CreatePreferenceObserver; virtual; - + Protected procedure CreateRequestContextHandler; virtual; - + Protected procedure CreateOptionsClasses; virtual; - + Protected procedure CreateSyncObjects; virtual; - + Protected procedure CreateBrowserInfoList; virtual; - + Protected procedure CreateWindowWithWndProc; virtual; - + Protected procedure InitializeEvents; - + Protected procedure InitializeSettings(var aSettings : TCefBrowserSettings); - + Protected function UpdateProxyPrefs(const aBrowser: ICefBrowser) : boolean; - + Protected function UpdatePreference(const aBrowser: ICefBrowser; const aName : ustring; aValue : boolean) : boolean; overload; - + Protected function UpdatePreference(const aBrowser: ICefBrowser; const aName : ustring; aValue : integer) : boolean; overload; - + Protected function UpdatePreference(const aBrowser: ICefBrowser; const aName : ustring; const aValue : double) : boolean; overload; - + Protected function UpdatePreference(const aBrowser: ICefBrowser; const aName, aValue : ustring) : boolean; overload; - + Protected function UpdatePreference(const aBrowser: ICefBrowser; const aName : ustring; const aValue : TStringList) : boolean; overload; - + Protected function UpdateStringListPref(const aBrowser: ICefBrowser; const aName, aValue : ustring) : boolean; - + Protected function ExecuteUpdateZoomStepTask(aInc : boolean) : boolean; - + Protected function ExecuteUpdateZoomPctTask(aInc : boolean) : boolean; - + Protected function ExecuteReadZoomTask: boolean; - + Protected function ExecuteSetZoomPctTask(const aValue : double) : boolean; - + Protected function ExecuteSetZoomLevelTask(const aValue : double) : boolean; - + Protected function ExecuteSetZoomStepTask(aValue : byte) : boolean; - + Protected function ExecuteBrowserNavigationTask(aTask : TCefBrowserNavigation) : boolean; - + Protected procedure UpdateHostZoomLevel(const aValue : double); - + Protected procedure UpdateHostZoomPct(const aValue : double); - + Protected procedure DelayedDragging; - + Protected procedure InitializeWindowInfo(aParentHandle : TCefWindowHandle; aParentRect : TRect; const aWindowName : ustring); virtual; - + Protected procedure DefaultInitializeDevToolsWindowInfo(aDevToolsWnd: TCefWindowHandle; const aClientRect: TRect; const aWindowName: ustring); - + Protected function AddBrowser(const aBrowser : ICefBrowser) : boolean; - + Protected function RemoveBrowser(const aBrowser : ICefBrowser) : boolean; - + Protected procedure SetBrowserIsClosing(aID : integer); - + Protected procedure PrefsAvailableMsg(aResultOK : boolean); - + Protected function SendCompMessage(aMsg : cardinal; aWParam : WPARAM = 0; aLParam : LPARAM = 0) : boolean; - + Protected procedure ToMouseEvent(grfKeyState : Longint; pt : TPoint; var aMouseEvent : TCefMouseEvent); - + Protected procedure WndProc(var aMessage: TMessage); - + Protected procedure CreateStub(const aMethod : TWndMethod; var aStub : Pointer); - + Protected procedure FreeAndNilStub(var aStub : pointer); - + Protected function InstallCompWndProc(aWnd: THandle; aStub: Pointer): TFNWndProc; - + Protected procedure RestoreCompWndProc(var aOldWnd: THandle; aNewWnd: THandle; var aProc: TFNWndProc); - + Protected procedure CallOldCompWndProc(aProc: TFNWndProc; aWnd: THandle; var aMessage: TMessage); - + Protected procedure BrowserCompWndProc(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 doOnContentsBoundsChange(const browser: ICefBrowser; const new_bounds: PCefRect): Boolean; virtual; - + Protected function doOnGetRootWindowScreenRect(const browser: ICefBrowser; rect_: PCefRect): 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; popup_id: Integer; 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 doOnBeforePopupAborted(const browser: ICefBrowser; popup_id: Integer); 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 doOnFrameDestroyed(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 doOnPreferenceChanged(const name_: ustring); - + Protected procedure doOnSettingChanged(const requesting_url, top_level_url : ustring; content_type: TCefContentSettingTypes); - + 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 procedure doAddPreferenceObserver(const name_ : ustring); virtual; - + Protected function MustCreateAudioHandler: boolean; virtual; - + Protected function MustCreateCommandHandler: boolean; virtual; - + Protected function MustCreateDevToolsMessageObserver: boolean; virtual; - + Protected function MustCreateSettingObserver: 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 IsReadyToBeClosed: 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 procedure AddPreferenceObserver(const name_: ustring); - + Public procedure RemovePreferenceObserver(const name_ : ustring); - + 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 function AddSettingObserver(const observer: ICefSettingObserver): 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 ClipboardPasteAndMatchStyle; - + 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); @@ -3139,705 +3131,701 @@ 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; - + Public property AutofillCreditCard : TCefState read FAutofillCreditCard write FAutofillCreditCard; - + Public property AutofillProfile : TCefState read FAutofillProfile write FAutofillProfile; - + Public property AutofillSaveData : TCefState read FAutofillSaveData write FAutofillSaveData; - + Public property CanMakePayment : TCefState read FCanMakePayment write FCanMakePayment; - + Public property SearchSuggestEnabled : TCefState read FSearchSuggestEnabled write FSearchSuggestEnabled; - + Public property URLDataCollection : TCefState read FURLDataCollection write FURLDataCollection; - + Public property StorageNotificationService : TCefState read FStorageNotificationService write FStorageNotificationService; - + 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; - + Published property OnBrowserCompMsg : TOnCompMsgEvent read FOnBrowserCompMsg write FOnBrowserCompMsg; - + Published property OnRenderCompMsg : TOnCompMsgEvent read FOnRenderCompMsg write FOnRenderCompMsg; - + Published property OnProcessMessageReceived : TOnProcessMessageReceived read FOnProcessMessageReceived write FOnProcessMessageReceived; - + Published property OnLoadStart : TOnLoadStart read FOnLoadStart write FOnLoadStart; - + Published property OnLoadEnd : TOnLoadEnd read FOnLoadEnd write FOnLoadEnd; - + Published property OnLoadError : TOnLoadError read FOnLoadError write FOnLoadError; - + Published property OnLoadingStateChange : TOnLoadingStateChange read FOnLoadingStateChange write FOnLoadingStateChange; - + Published property OnTakeFocus : TOnTakeFocus read FOnTakeFocus write FOnTakeFocus; - + Published property OnSetFocus : TOnSetFocus read FOnSetFocus write FOnSetFocus; - + Published property OnGotFocus : TOnGotFocus read FOnGotFocus write FOnGotFocus; - + Published property OnBeforeContextMenu : TOnBeforeContextMenu read FOnBeforeContextMenu write FOnBeforeContextMenu; - + Published property OnRunContextMenu : TOnRunContextMenu read FOnRunContextMenu write FOnRunContextMenu; - + Published property OnContextMenuCommand : TOnContextMenuCommand read FOnContextMenuCommand write FOnContextMenuCommand; - + Published property OnContextMenuDismissed : TOnContextMenuDismissed read FOnContextMenuDismissed write FOnContextMenuDismissed; - + Published property OnRunQuickMenu : TOnRunQuickMenuEvent read FOnRunQuickMenu write FOnRunQuickMenu; - + Published property OnQuickMenuCommand : TOnQuickMenuCommandEvent read FOnQuickMenuCommand write FOnQuickMenuCommand; - + Published property OnQuickMenuDismissed : TOnQuickMenuDismissedEvent read FOnQuickMenuDismissed write FOnQuickMenuDismissed; - + Published property OnPreKeyEvent : TOnPreKeyEvent read FOnPreKeyEvent write FOnPreKeyEvent; - + Published property OnKeyEvent : TOnKeyEvent read FOnKeyEvent write FOnKeyEvent; - + Published property OnAddressChange : TOnAddressChange read FOnAddressChange write FOnAddressChange; - + Published property OnTitleChange : TOnTitleChange read FOnTitleChange write FOnTitleChange; - + Published property OnFavIconUrlChange : TOnFavIconUrlChange read FOnFavIconUrlChange write FOnFavIconUrlChange; - + Published property OnFullScreenModeChange : TOnFullScreenModeChange read FOnFullScreenModeChange write FOnFullScreenModeChange; - + Published property OnTooltip : TOnTooltip read FOnTooltip write FOnTooltip; - + Published property OnStatusMessage : TOnStatusMessage read FOnStatusMessage write FOnStatusMessage; - + Published property OnConsoleMessage : TOnConsoleMessage read FOnConsoleMessage write FOnConsoleMessage; - + Published property OnAutoResize : TOnAutoResize read FOnAutoResize write FOnAutoResize; - + Published property OnLoadingProgressChange : TOnLoadingProgressChange read FOnLoadingProgressChange write FOnLoadingProgressChange; - + Published property OnCursorChange : TOnCursorChange read FOnCursorChange write FOnCursorChange; - + Published property OnMediaAccessChange : TOnMediaAccessChange read FOnMediaAccessChange write FOnMediaAccessChange; - + Published property OnContentsBoundsChange : TOnContentsBoundsChange read FOnContentsBoundsChange write FOnContentsBoundsChange; - + Published property OnGetRootWindowScreenRect : TOnGetRootWindowScreenRect read FOnGetRootWindowScreenRect write FOnGetRootWindowScreenRect; - + Published property OnCanDownload : TOnCanDownloadEvent read FOnCanDownload write FOnCanDownload; - + Published property OnBeforeDownload : TOnBeforeDownload read FOnBeforeDownload write FOnBeforeDownload; - + Published property OnDownloadUpdated : TOnDownloadUpdated read FOnDownloadUpdated write FOnDownloadUpdated; - + Published property OnJsdialog : TOnJsdialog read FOnJsdialog write FOnJsdialog; - + Published property OnBeforeUnloadDialog : TOnBeforeUnloadDialog read FOnBeforeUnloadDialog write FOnBeforeUnloadDialog; - + Published property OnResetDialogState : TOnResetDialogState read FOnResetDialogState write FOnResetDialogState; - + Published property OnDialogClosed : TOnDialogClosed read FOnDialogClosed write FOnDialogClosed; - + Published property OnBeforePopup : TOnBeforePopup read FOnBeforePopup write FOnBeforePopup; - + Published property OnBeforePopupAborted : TOnBeforePopupAborted read FOnBeforePopupAborted write FOnBeforePopupAborted; - + Published property OnBeforeDevToolsPopup : TOnBeforeDevToolsPopup read FOnBeforeDevToolsPopup write FOnBeforeDevToolsPopup; - + Published property OnAfterCreated : TOnAfterCreated read FOnAfterCreated write FOnAfterCreated; - + Published property OnBeforeClose : TOnBeforeClose read FOnBeforeClose write FOnBeforeClose; - + Published property OnClose : TOnClose read FOnClose write FOnClose; - + Published property OnBeforeBrowse : TOnBeforeBrowse read FOnBeforeBrowse write FOnBeforeBrowse; - + Published property OnOpenUrlFromTab : TOnOpenUrlFromTab read FOnOpenUrlFromTab write FOnOpenUrlFromTab; - + Published property OnGetAuthCredentials : TOnGetAuthCredentials read FOnGetAuthCredentials write FOnGetAuthCredentials; - + Published property OnCertificateError : TOnCertificateError read FOnCertificateError write FOnCertificateError; - + Published property OnSelectClientCertificate : TOnSelectClientCertificate read FOnSelectClientCertificate write FOnSelectClientCertificate; - + Published property OnRenderViewReady : TOnRenderViewReady read FOnRenderViewReady write FOnRenderViewReady; - + Published property OnRenderProcessUnresponsive : TOnRenderProcessUnresponsive read FOnRenderProcessUnresponsive write FOnRenderProcessUnresponsive; - + Published property OnRenderProcessResponsive : TOnRenderProcessResponsive read FOnRenderProcessResponsive write FOnRenderProcessResponsive; - + Published property OnRenderProcessTerminated : TOnRenderProcessTerminated read FOnRenderProcessTerminated write FOnRenderProcessTerminated; - + Published property OnGetResourceRequestHandler_ReqHdlr : TOnGetResourceRequestHandler read FOnGetResourceRequestHandler_ReqHdlr write FOnGetResourceRequestHandler_ReqHdlr; - + Published property OnDocumentAvailableInMainFrame : TOnDocumentAvailableInMainFrame read FOnDocumentAvailableInMainFrame write FOnDocumentAvailableInMainFrame; - + Published property OnBeforeResourceLoad : TOnBeforeResourceLoad read FOnBeforeResourceLoad write FOnBeforeResourceLoad; - + Published property OnGetResourceHandler : TOnGetResourceHandler read FOnGetResourceHandler write FOnGetResourceHandler; - + Published property OnResourceRedirect : TOnResourceRedirect read FOnResourceRedirect write FOnResourceRedirect; - + Published property OnResourceResponse : TOnResourceResponse read FOnResourceResponse write FOnResourceResponse; - + Published property OnGetResourceResponseFilter : TOnGetResourceResponseFilter read FOnGetResourceResponseFilter write FOnGetResourceResponseFilter; - + Published property OnResourceLoadComplete : TOnResourceLoadComplete read FOnResourceLoadComplete write FOnResourceLoadComplete; - + Published property OnProtocolExecution : TOnProtocolExecution read FOnProtocolExecution write FOnProtocolExecution; - + Published property OnCanSendCookie : TOnCanSendCookie read FOnCanSendCookie write FOnCanSendCookie; - + Published property OnCanSaveCookie : TOnCanSaveCookie read FOnCanSaveCookie write FOnCanSaveCookie; - + Published property OnFileDialog : TOnFileDialog read FOnFileDialog write FOnFileDialog; - + Published property OnGetAccessibilityHandler : TOnGetAccessibilityHandler read FOnGetAccessibilityHandler write FOnGetAccessibilityHandler; - + Published property OnGetRootScreenRect : TOnGetRootScreenRect read FOnGetRootScreenRect write FOnGetRootScreenRect; - + Published property OnGetViewRect : TOnGetViewRect read FOnGetViewRect write FOnGetViewRect; - + Published property OnGetScreenPoint : TOnGetScreenPoint read FOnGetScreenPoint write FOnGetScreenPoint; - + Published property OnGetScreenInfo : TOnGetScreenInfo read FOnGetScreenInfo write FOnGetScreenInfo; - + Published property OnPopupShow : TOnPopupShow read FOnPopupShow write FOnPopupShow; - + Published property OnPopupSize : TOnPopupSize read FOnPopupSize write FOnPopupSize; - + Published property OnPaint : TOnPaint read FOnPaint write FOnPaint; - + Published property OnAcceleratedPaint : TOnAcceleratedPaint read FOnAcceleratedPaint write FOnAcceleratedPaint; - + Published property OnGetTouchHandleSize : TOnGetTouchHandleSize read FOnGetTouchHandleSize write FOnGetTouchHandleSize; - + Published property OnTouchHandleStateChanged : TOnTouchHandleStateChanged read FOnTouchHandleStateChanged write FOnTouchHandleStateChanged; - + Published property OnStartDragging : TOnStartDragging read FOnStartDragging write FOnStartDragging; - + Published property OnUpdateDragCursor : TOnUpdateDragCursor read FOnUpdateDragCursor write FOnUpdateDragCursor; - + Published property OnScrollOffsetChanged : TOnScrollOffsetChanged read FOnScrollOffsetChanged write FOnScrollOffsetChanged; - + Published property OnIMECompositionRangeChanged : TOnIMECompositionRangeChanged read FOnIMECompositionRangeChanged write FOnIMECompositionRangeChanged; - + Published property OnTextSelectionChanged : TOnTextSelectionChanged read FOnTextSelectionChanged write FOnTextSelectionChanged; - + Published property OnVirtualKeyboardRequested : TOnVirtualKeyboardRequested read FOnVirtualKeyboardRequested write FOnVirtualKeyboardRequested; - + Published property OnDragEnter : TOnDragEnter read FOnDragEnter write FOnDragEnter; - + Published property OnDraggableRegionsChanged : TOnDraggableRegionsChanged read FOnDraggableRegionsChanged write FOnDraggableRegionsChanged; - + Published property OnFindResult : TOnFindResult read FOnFindResult write FOnFindResult; - + Published property OnRequestContextInitialized : TOnRequestContextInitialized read FOnRequestContextInitialized write FOnRequestContextInitialized; - + Published property OnGetResourceRequestHandler_ReqCtxHdlr : TOnGetResourceRequestHandler read FOnGetResourceRequestHandler_ReqCtxHdlr write FOnGetResourceRequestHandler_ReqCtxHdlr; - + Published property OnSinks : TOnSinksEvent read FOnSinks write FOnSinks; - + Published property OnRoutes : TOnRoutesEvent read FOnRoutes write FOnRoutes; - + Published property OnRouteStateChanged : TOnRouteStateChangedEvent read FOnRouteStateChanged write FOnRouteStateChanged; - + Published property OnRouteMessageReceived : TOnRouteMessageReceivedEvent read FOnRouteMessageReceived write FOnRouteMessageReceived; - + Published property OnGetAudioParameters : TOnGetAudioParametersEvent read FOnGetAudioParameters write FOnGetAudioParameters; - + Published property OnAudioStreamStarted : TOnAudioStreamStartedEvent read FOnAudioStreamStarted write FOnAudioStreamStarted; - + Published property OnAudioStreamPacket : TOnAudioStreamPacketEvent read FOnAudioStreamPacket write FOnAudioStreamPacket; - + Published property OnAudioStreamStopped : TOnAudioStreamStoppedEvent read FOnAudioStreamStopped write FOnAudioStreamStopped; - + Published property OnAudioStreamError : TOnAudioStreamErrorEvent read FOnAudioStreamError write FOnAudioStreamError; - + Published property OnDevToolsMessage : TOnDevToolsMessageEvent read FOnDevToolsMessage write FOnDevToolsMessage; - + Published property OnDevToolsRawMessage : TOnDevToolsRawMessageEvent read FOnDevToolsRawMessage write FOnDevToolsRawMessage; - + Published property OnDevToolsMethodResult : TOnDevToolsMethodResultEvent read FOnDevToolsMethodResult write FOnDevToolsMethodResult; - + Published property OnDevToolsMethodRawResult : TOnDevToolsMethodRawResultEvent read FOnDevToolsMethodRawResult write FOnDevToolsMethodRawResult; - + Published property OnDevToolsEvent : TOnDevToolsEventEvent read FOnDevToolsEvent write FOnDevToolsEvent; - + Published property OnDevToolsRawEvent : TOnDevToolsEventRawEvent read FOnDevToolsRawEvent write FOnDevToolsRawEvent; - + Published property OnDevToolsAgentAttached : TOnDevToolsAgentAttachedEvent read FOnDevToolsAgentAttached write FOnDevToolsAgentAttached; - + Published property OnDevToolsAgentDetached : TOnDevToolsAgentDetachedEvent read FOnDevToolsAgentDetached write FOnDevToolsAgentDetached; - + Published property OnFrameCreated : TOnFrameCreated read FOnFrameCreated write FOnFrameCreated; - + Published property OnFrameDestroyed : TOnFrameDestroyed read FOnFrameDestroyed write FOnFrameDestroyed; - + Published property OnFrameAttached : TOnFrameAttached read FOnFrameAttached write FOnFrameAttached; - + Published property OnFrameDetached : TOnFrameDetached read FOnFrameDetached write FOnFrameDetached; - + Published property OnMainFrameChanged : TOnMainFrameChanged read FOnMainFrameChanged write FOnMainFrameChanged; - + Published property OnChromeCommand : TOnChromeCommandEvent read FOnChromeCommand write FOnChromeCommand; - + Published property OnIsChromeAppMenuItemVisible : TOnIsChromeAppMenuItemVisibleEvent read FOnIsChromeAppMenuItemVisible write FOnIsChromeAppMenuItemVisible; - + Published property OnIsChromeAppMenuItemEnabled : TOnIsChromeAppMenuItemEnabledEvent read FOnIsChromeAppMenuItemEnabled write FOnIsChromeAppMenuItemEnabled; - + Published property OnIsChromePageActionIconVisible : TOnIsChromePageActionIconVisibleEvent read FOnIsChromePageActionIconVisible write FOnIsChromePageActionIconVisible; - + Published property OnIsChromeToolbarButtonVisible : TOnIsChromeToolbarButtonVisibleEvent read FOnIsChromeToolbarButtonVisible write FOnIsChromeToolbarButtonVisible; - + Published property OnRequestMediaAccessPermission : TOnRequestMediaAccessPermissionEvent read FOnRequestMediaAccessPermission write FOnRequestMediaAccessPermission; - + Published property OnShowPermissionPrompt : TOnShowPermissionPromptEvent read FOnShowPermissionPrompt write FOnShowPermissionPrompt; - + Published property OnDismissPermissionPrompt : TOnDismissPermissionPromptEvent read FOnDismissPermissionPrompt write FOnDismissPermissionPrompt; - + Published property OnPreferenceChanged : TOnPreferenceChangedEvent read FOnPreferenceChanged write FOnPreferenceChanged; - + Published property OnSettingChanged : TOnSettingChangedEvent read FOnSettingChanged write FOnSettingChanged; @@ -4335,14 +4323,6 @@ - - - -
    ProtectedFAcceptLanguageList: ustring;
    -

    This item has no description.

    - - -
    Protected FAcceptCookies: TCefCookiePref;
    @@ -6414,14 +6394,6 @@ Custom

    - - - -
    Protectedprocedure SetAcceptLanguageList(const aValue : ustring);
    -

    This item has no description.

    - - -
    Protected procedure SetAcceptCookies(const aValue : TCefCookiePref);
    @@ -11029,16 +11001,6 @@ Custom

    - - - -
    Publicproperty AcceptLanguageList : ustring read FAcceptLanguageList write SetAcceptLanguageList;
    -

    - Set the accept language list in the browser preferences.

    -
    - - -
    Public property AcceptCookies : TCefCookiePref read FAcceptCookies write SetAcceptCookies;
    diff --git a/source/uCEFChromiumCore.pas b/source/uCEFChromiumCore.pas index 8aec7720..7bb8e666 100644 --- a/source/uCEFChromiumCore.pas +++ b/source/uCEFChromiumCore.pas @@ -107,7 +107,6 @@ type FWebRTCIPHandlingPolicy : TCefWebRTCHandlingPolicy; FWebRTCMultipleRoutes : TCefState; FWebRTCNonProxiedUDP : TCefState; - FAcceptLanguageList : ustring; FAcceptCookies : TCefCookiePref; FBlock3rdPartyCookies : boolean; FQuicAllowed : boolean; @@ -430,7 +429,6 @@ type procedure SetOffline(aValue : boolean); procedure SetYouTubeRestrict(aValue : integer); procedure SetPrintingEnabled(aValue : boolean); - procedure SetAcceptLanguageList(const aValue : ustring); procedure SetAcceptCookies(const aValue : TCefCookiePref); procedure SetBlock3rdPartyCookies(const aValue : boolean); procedure SetMultiBrowserMode(aValue : boolean); @@ -2105,10 +2103,6 @@ type /// property PrintingEnabled : boolean read FPrintingEnabled write SetPrintingEnabled; /// - /// Set the accept language list in the browser preferences. - /// - property AcceptLanguageList : ustring read FAcceptLanguageList write SetAcceptLanguageList; - /// /// Sets the cookies policy value in the browser preferences. /// property AcceptCookies : TCefCookiePref read FAcceptCookies write SetAcceptCookies; @@ -4308,7 +4302,6 @@ begin FSafeSearch := False; FYouTubeRestrict := YOUTUBE_RESTRICT_OFF; FPrintingEnabled := True; - FAcceptLanguageList := ''; FAcceptCookies := cpAllow; FBlock3rdPartyCookies := False; FOffline := False; @@ -6562,15 +6555,6 @@ begin end; end; -procedure TChromiumCore.SetAcceptLanguageList(const aValue : ustring); -begin - if (FAcceptLanguageList <> aValue) then - begin - FAcceptLanguageList := aValue; - FUpdatePreferences := True; - end; -end; - procedure TChromiumCore.SetAcceptCookies(const aValue : TCefCookiePref); begin if (FAcceptCookies <> aValue) then @@ -7504,8 +7488,6 @@ begin end; procedure TChromiumCore.doUpdatePreferences(const aBrowser: ICefBrowser); -var - TempLanguagesList : ustring; begin FUpdatePreferences := False; @@ -7522,16 +7504,6 @@ begin UpdatePreference(aBrowser, 'settings.force_youtube_restrict', FYouTubeRestrict); UpdatePreference(aBrowser, 'printing.enabled', FPrintingEnabled); - TempLanguagesList := FAcceptLanguageList; - - if (length(TempLanguagesList) = 0) then - TempLanguagesList := GlobalCEFApp.AcceptLanguageList; - - if (length(TempLanguagesList) = 0) then - TempLanguagesList := 'en-US,en'; - - UpdatePreference(aBrowser, 'intl.accept_languages', TempLanguagesList); - case FAcceptCookies of cpAllow : UpdatePreference(aBrowser, 'profile.default_content_setting_values.cookies', CEF_COOKIE_PREF_ALLOW); cpBlock : UpdatePreference(aBrowser, 'profile.default_content_setting_values.cookies', CEF_COOKIE_PREF_BLOCK); diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 33a7d27c..963a6995 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 756, + "InternalVersion" : 757, "Name" : "cef4delphi_lazarus.lpk", "Version" : "138.0.33" }