A: rename parameter aResult => result

This commit is contained in:
杨红岩 2024-04-16 18:11:29 +08:00
parent 8e8c51da73
commit 63f98a7af9

View File

@ -194,9 +194,9 @@ type GlobalCEFAppEventOnRegisterCustomPreferences func(type_ consts.TCefPreferen
type GlobalCEFAppEventOnContextInitialized func()
type GlobalCEFAppEventOnBeforeChildProcessLaunch func( /*commandLine *TCefCommandLine,*/ commandLine *ICefCommandLine)
type GlobalCEFAppEventOnGetDefaultClient func(client *ICefClient)
type GlobalCEFAppEventOnGetLocalizedString func(stringId int32, stringVal *ResultString, aResult *ResultBool)
type GlobalCEFAppEventOnGetDataResource func(resourceId int32, data *ResultBytes, aResult *ResultBool)
type GlobalCEFAppEventOnGetDataResourceForScale func(resourceId int32, scaleFactor consts.TCefScaleFactor, data *ResultBytes, aResult *ResultBool)
type GlobalCEFAppEventOnGetLocalizedString func(stringId int32, stringVal *ResultString, result *ResultBool)
type GlobalCEFAppEventOnGetDataResource func(resourceId int32, data *ResultBytes, result *ResultBool)
type GlobalCEFAppEventOnGetDataResourceForScale func(resourceId int32, scaleFactor consts.TCefScaleFactor, data *ResultBytes, result *ResultBool)
type GlobalCEFAppEventOnWebKitInitialized func()
type GlobalCEFAppEventOnBrowserCreated func(browser *ICefBrowser, extraInfo *ICefDictionaryValue)
type GlobalCEFAppEventOnBrowserDestroyed func(browser *ICefBrowser)
@ -221,20 +221,20 @@ type TCloseQueryEvent func(sender lcl.IObject, canClose *bool) bool
type WindowComponentOnWindowCreated func(window *ICefWindow)
type WindowComponentOnWindowDestroyed func(window *ICefWindow)
type WindowComponentOnWindowActivationChanged func(window *ICefWindow, active bool)
type WindowComponentOnGetParentWindow func(window *ICefWindow, isMenu, canActivateMenu *bool, aResult *ICefWindow)
type WindowComponentOnIsWindowModalDialog func(window *ICefWindow, aResult *bool)
type WindowComponentOnGetInitialBounds func(window *ICefWindow, aResult *TCefRect)
type WindowComponentOnGetInitialShowState func(window *ICefWindow, aResult *consts.TCefShowState)
type WindowComponentOnIsFrameless func(window *ICefWindow, aResult *bool)
type WindowComponentOnWithStandardWindowButtons func(window *ICefWindow, aResult *bool)
type WindowComponentOnGetTitleBarHeight func(window *ICefWindow, titleBarHeight float32, aResult *bool)
type WindowComponentOnCanResize func(window *ICefWindow, aResult *bool)
type WindowComponentOnCanMaximize func(window *ICefWindow, aResult *bool)
type WindowComponentOnCanMinimize func(window *ICefWindow, aResult *bool)
type WindowComponentOnCanClose func(window *ICefWindow, aResult *bool)
type WindowComponentOnGetParentWindow func(window *ICefWindow, isMenu, canActivateMenu *bool, result *ICefWindow)
type WindowComponentOnIsWindowModalDialog func(window *ICefWindow, result *bool)
type WindowComponentOnGetInitialBounds func(window *ICefWindow, result *TCefRect)
type WindowComponentOnGetInitialShowState func(window *ICefWindow, result *consts.TCefShowState)
type WindowComponentOnIsFrameless func(window *ICefWindow, result *bool)
type WindowComponentOnWithStandardWindowButtons func(window *ICefWindow, result *bool)
type WindowComponentOnGetTitleBarHeight func(window *ICefWindow, titleBarHeight float32, result *bool)
type WindowComponentOnCanResize func(window *ICefWindow, result *bool)
type WindowComponentOnCanMaximize func(window *ICefWindow, result *bool)
type WindowComponentOnCanMinimize func(window *ICefWindow, result *bool)
type WindowComponentOnCanClose func(window *ICefWindow, result *bool)
type WindowComponentOnCanCloseEx func(cefWindow *ICefWindow, window IBrowserWindow, canClose *bool) bool
type WindowComponentOnAccelerator func(window *ICefWindow, commandId int32, aResult *bool)
type WindowComponentOnKey func(window *ICefWindow, event *TCefKeyEvent, aResult *bool)
type WindowComponentOnAccelerator func(window *ICefWindow, commandId int32, result *bool)
type WindowComponentOnKey func(window *ICefWindow, event *TCefKeyEvent, result *bool)
type WindowComponentOnWindowFullscreenTransition func(window *ICefWindow, isCompleted bool)
/************* TCEFBrowserViewComponent *************/
@ -242,7 +242,7 @@ type WindowComponentOnWindowFullscreenTransition func(window *ICefWindow, isComp
type BrowserViewComponentOnBrowserCreated func(sender lcl.IObject, browserView *ICefBrowserView, browser *ICefBrowser)
type BrowserViewComponentOnBrowserDestroyed func(sender lcl.IObject, browserView *ICefBrowserView, browser *ICefBrowser)
type BrowserViewComponentOnGetDelegateForPopupBrowserView func(sender lcl.IObject, browserView *ICefBrowserView, browserSettings *TCefBrowserSettings, client *ICefClient, isDevtools bool) *ICefBrowserViewDelegate
type BrowserViewComponentOnPopupBrowserViewCreated func(sender lcl.IObject, browserView, popupBrowserView *ICefBrowserView, isDevtools bool, aResult *bool)
type BrowserViewComponentOnGetChromeToolbarType func(sender lcl.IObject, aResult *consts.TCefChromeToolbarType)
type BrowserViewComponentOnPopupBrowserViewCreated func(sender lcl.IObject, browserView, popupBrowserView *ICefBrowserView, isDevtools bool, result *bool)
type BrowserViewComponentOnGetChromeToolbarType func(sender lcl.IObject, result *consts.TCefChromeToolbarType)
type BrowserViewComponentOnUseFramelessWindowForPictureInPicture func(sender lcl.IObject, browserView *ICefBrowserView) bool
type BrowserViewComponentOnGestureCommand func(sender lcl.IObject, browserView *ICefBrowserView, gestureCommand consts.TCefGestureCommand) bool