webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Protected Member Functions | Protected Attributes | List of all members
UIDelegate Class Reference

#import <UIDelegate.h>

Inheritance diagram for UIDelegate:
IWebUIDelegate2 IWebUIDelegatePrivate3 NSObject IWebUIDelegate

Instance Methods

(void- resetWindowOrigin
 
(void- didSetMockGeolocationPermission
 
(int) - numberOfPendingGeolocationPermissionRequests
 
() - UIDelegate
 
(void- resetUndoManager
 
(virtual HRESULT STDMETHODCALLTYPE) - QueryInterface
 
(virtual ULONG STDMETHODCALLTYPE) - AddRef
 
(virtual ULONG STDMETHODCALLTYPE) - Release
 
(virtual HRESULT STDMETHODCALLTYPE) - createWebViewWithRequest
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewShow
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewClose
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewFocus
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewUnfocus
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewFirstResponder
 
(virtual HRESULT STDMETHODCALLTYPE) - makeFirstResponder
 
(virtual HRESULT STDMETHODCALLTYPE) - setStatusText
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewStatusText
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewAreToolbarsVisible
 
(virtual HRESULT STDMETHODCALLTYPE) - setToolbarsVisible
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewIsStatusBarVisible
 
(virtual HRESULT STDMETHODCALLTYPE) - setStatusBarVisible
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewIsResizable
 
(virtual HRESULT STDMETHODCALLTYPE) - setResizable
 
(virtual HRESULT STDMETHODCALLTYPE) - setFrame
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewFrame
 
(virtual HRESULT STDMETHODCALLTYPE) - setContentRect
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewContentRect
 
(virtual HRESULT STDMETHODCALLTYPE) - runJavaScriptAlertPanelWithMessage
 
(virtual HRESULT STDMETHODCALLTYPE) - runJavaScriptConfirmPanelWithMessage
 
(virtual HRESULT STDMETHODCALLTYPE) - runJavaScriptTextInputPanelWithPrompt
 
(virtual HRESULT STDMETHODCALLTYPE) - runBeforeUnloadConfirmPanelWithMessage
 
(virtual HRESULT STDMETHODCALLTYPE) - runOpenPanelForFileButtonWithResultListener
 
(virtual HRESULT STDMETHODCALLTYPE) - mouseDidMoveOverElement
 
(virtual HRESULT STDMETHODCALLTYPE) - contextMenuItemsForElement
 
(virtual HRESULT STDMETHODCALLTYPE) - validateUserInterfaceItem
 
(virtual HRESULT STDMETHODCALLTYPE) - shouldPerformAction
 
(virtual HRESULT STDMETHODCALLTYPE) - dragDestinationActionMaskForDraggingInfo
 
(virtual HRESULT STDMETHODCALLTYPE) - willPerformDragDestinationAction
 
(virtual HRESULT STDMETHODCALLTYPE) - dragSourceActionMaskForPoint
 
(virtual HRESULT STDMETHODCALLTYPE) - willPerformDragSourceAction
 
(virtual HRESULT STDMETHODCALLTYPE) - contextMenuItemSelected
 
(virtual HRESULT STDMETHODCALLTYPE) - hasCustomMenuImplementation
 
(virtual HRESULT STDMETHODCALLTYPE) - trackCustomPopupMenu
 
(virtual HRESULT STDMETHODCALLTYPE) - measureCustomMenuItem
 
(virtual HRESULT STDMETHODCALLTYPE) - drawCustomMenuItem
 
(virtual HRESULT STDMETHODCALLTYPE) - addCustomMenuDrawingData
 
(virtual HRESULT STDMETHODCALLTYPE) - cleanUpCustomMenuDrawingData
 
(virtual HRESULT STDMETHODCALLTYPE) - canTakeFocus
 
(virtual HRESULT STDMETHODCALLTYPE) - takeFocus
 
(virtual HRESULT STDMETHODCALLTYPE) - registerUndoWithTarget
 
(virtual HRESULT STDMETHODCALLTYPE) - removeAllActionsWithTarget
 
(virtual HRESULT STDMETHODCALLTYPE) - setActionTitle
 
(virtual HRESULT STDMETHODCALLTYPE) - undo
 
(virtual HRESULT STDMETHODCALLTYPE) - redo
 
(virtual HRESULT STDMETHODCALLTYPE) - canUndo
 
(virtual HRESULT STDMETHODCALLTYPE) - canRedo
 
(virtual HRESULT STDMETHODCALLTYPE) - printFrame
 
(virtual HRESULT STDMETHODCALLTYPE) - ftpDirectoryTemplatePath
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewHeaderHeight
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewFooterHeight
 
(virtual HRESULT STDMETHODCALLTYPE) - drawHeaderInRect
 
(virtual HRESULT STDMETHODCALLTYPE) - drawFooterInRect
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewPrintingMarginRect
 
(virtual HRESULT STDMETHODCALLTYPE) - canRunModal
 
(virtual HRESULT STDMETHODCALLTYPE) - createModalDialog
 
(virtual HRESULT STDMETHODCALLTYPE) - runModal
 
(virtual HRESULT STDMETHODCALLTYPE) - isMenuBarVisible
 
(virtual HRESULT STDMETHODCALLTYPE) - setMenuBarVisible
 
(virtual HRESULT STDMETHODCALLTYPE) - runDatabaseSizeLimitPrompt
 
(virtual HRESULT STDMETHODCALLTYPE) - paintCustomScrollbar
 
(virtual HRESULT STDMETHODCALLTYPE) - paintCustomScrollCorner
 
(virtual HRESULT STDMETHODCALLTYPE) - createWebViewWithRequest
 
(virtual HRESULT STDMETHODCALLTYPE) - drawBackground
 
(virtual HRESULT STDMETHODCALLTYPE) - decidePolicyForGeolocationRequest
 
(virtual HRESULT STDMETHODCALLTYPE) - didPressMissingPluginButton
 
- Instance Methods inherited from IWebUIDelegate2
HRESULT desktopNotificationsDelegate ([out, retval] IWebDesktopNotificationsDelegate **result)
 
- Instance Methods inherited from IWebUIDelegate
HRESULT createWebViewWithRequest ([in] IWebView *sender, [in] IWebURLRequest *request, [out, retval] IWebView **newWebView)
 
HRESULT webViewShow ([in] IWebView *sender)
 
HRESULT webViewClose ([in] IWebView *sender)
 
HRESULT webViewFocus ([in] IWebView *sender)
 
HRESULT webViewUnfocus ([in] IWebView *sender)
 
HRESULT webViewFirstResponder ([in] IWebView *sender, [out, retval] HWND *responderHWnd)
 
HRESULT makeFirstResponder ([in] IWebView *sender, [in] HWND responderHWnd)
 
HRESULT setStatusText ([in] IWebView *sender, [in] BSTR text)
 
HRESULT webViewStatusText ([in] IWebView *sender, [out, retval] BSTR *text)
 
HRESULT webViewAreToolbarsVisible ([in] IWebView *sender, [out, retval] BOOL *visible)
 
HRESULT setToolbarsVisible ([in] IWebView *sender, [in] BOOL visible)
 
HRESULT webViewIsStatusBarVisible ([in] IWebView *sender, [out, retval] BOOL *visible)
 
HRESULT setStatusBarVisible ([in] IWebView *sender, [in] BOOL visible)
 
HRESULT webViewIsResizable ([in] IWebView *sender, [out, retval] BOOL *resizable)
 
HRESULT setResizable ([in] IWebView *sender, [in] BOOL resizable)
 
HRESULT setFrame ([in] IWebView *sender, [in] RECT *frame)
 
HRESULT webViewFrame ([in] IWebView *sender, [out, retval] RECT *frame)
 
HRESULT setContentRect ([in] IWebView *sender, [in] RECT *contentRect)
 
HRESULT webViewContentRect ([in] IWebView *sender, [out, retval] RECT *contentRect)
 
HRESULT runJavaScriptAlertPanelWithMessage ([in] IWebView *sender, [in] BSTR message)
 
HRESULT runJavaScriptConfirmPanelWithMessage ([in] IWebView *sender, [in] BSTR message, [out, retval] BOOL *result)
 
HRESULT runJavaScriptTextInputPanelWithPrompt ([in] IWebView *sender, [in] BSTR message, [in] BSTR defaultText, [out, retval] BSTR *result)
 
HRESULT runBeforeUnloadConfirmPanelWithMessage ([in] IWebView *sender, [in] BSTR message, [in] IWebFrame *initiatedByFrame, [out, retval] BOOL *result)
 
HRESULT runOpenPanelForFileButtonWithResultListener ([in] IWebView *sender, [in] IWebOpenPanelResultListener *resultListener)
 
HRESULT mouseDidMoveOverElement ([in] IWebView *sender, [in] IPropertyBag *elementInformation, [in] UINT modifierFlags)
 
HRESULT validateUserInterfaceItem ([in] IWebView *webView, [in] UINT itemCommandID, [in] BOOL defaultValidation, [out, retval] BOOL *isValid)
 
HRESULT shouldPerformAction ([in] IWebView *webView, [in] UINT itemCommandID, [in] UINT sender)
 
HRESULT dragDestinationActionMaskForDraggingInfo ([in] IWebView *webView, [in] IDataObject *draggingInfo, [out, retval] WebDragDestinationAction *action)
 
HRESULT willPerformDragDestinationAction ([in] IWebView *webView, [in] WebDragDestinationAction action, [in] IDataObject *draggingInfo)
 
HRESULT dragSourceActionMaskForPoint ([in] IWebView *webView, [in] LPPOINT point, [out, retval] WebDragSourceAction *action)
 
HRESULT willPerformDragSourceAction ([in] IWebView *webView, [in] WebDragSourceAction action, [in] LPPOINT point, [in] IDataObject *pasteboard, [out, retval] IDataObject **newPasteboard)
 
HRESULT contextMenuItemSelected ([in] IWebView *sender, [in] void *item, [in] IPropertyBag *element)
 
HRESULT hasCustomMenuImplementation ([out, retval] BOOL *hasCustomMenus)
 
HRESULT trackCustomPopupMenu ([in] IWebView *sender, [in] HMENU hMenu, [in] LPPOINT point)
 
HRESULT measureCustomMenuItem ([in] IWebView *sender, [in] void *measureItem)
 
HRESULT drawCustomMenuItem ([in] IWebView *sender, [in] void *drawItem)
 
HRESULT addCustomMenuDrawingData ([in] IWebView *sender, [in] HMENU hMenu)
 
HRESULT cleanUpCustomMenuDrawingData ([in] IWebView *sender, [in] HMENU hMenu)
 
HRESULT canTakeFocus ([in] IWebView *sender, [in] BOOL forward, [out] BOOL *result)
 
HRESULT takeFocus ([in] IWebView *sender, [in] BOOL forward)
 
HRESULT registerUndoWithTarget ([in] IWebUndoTarget *target, [in] BSTR actionName, [in] IUnknown *actionArg)
 Undo related UI delegate methods --------------------------------------------------------------------------——. More...
 
HRESULT removeAllActionsWithTarget ([in] IWebUndoTarget *target)
 
HRESULT setActionTitle ([in] BSTR actionTitle)
 
HRESULT canUndo ([out, retval] BOOL *result)
 
HRESULT canRedo ([out, retval] BOOL *result)
 
HRESULT printFrame ([in] IWebView *webView, [in] IWebFrame *frame)
 
HRESULT ftpDirectoryTemplatePath ([in] IWebView *webView, [out, retval] BSTR *path)
 
HRESULT webViewHeaderHeight ([in] IWebView *webView, [out, retval] float *result)
 
HRESULT webViewFooterHeight ([in] IWebView *webView, [out, retval] float *result)
 
HRESULT drawHeaderInRect ([in] IWebView *webView, [in] RECT *rect, [in] ULONG_PTR drawingContext)
 
HRESULT drawFooterInRect ([in] IWebView *webView, [in] RECT *rect, [in] ULONG_PTR drawingContext, [in] UINT pageIndex, [in] UINT pageCount)
 
HRESULT webViewPrintingMarginRect ([in] IWebView *webView, [out, retval] RECT *rect)
 
HRESULT canRunModal ([in] IWebView *webView, [out, retval] BOOL *canRunBoolean)
 
HRESULT createModalDialog ([in] IWebView *sender, [in] IWebURLRequest *request, [out, retval] IWebView **newWebView)
 
HRESULT runModal ([in] IWebView *webView)
 
HRESULT isMenuBarVisible ([in] IWebView *webView, [out, retval] BOOL *visible)
 
HRESULT setMenuBarVisible ([in] IWebView *webView, [in] BOOL visible)
 
HRESULT runDatabaseSizeLimitPrompt ([in] IWebView *webView, [in] BSTR displayName, [in] IWebFrame *initiatedByFrame, [out, retval] BOOL *allowed)
 
HRESULT paintCustomScrollbar ([in] IWebView *webView, [in] HDC hDC, [in] RECT rect, [in] WebScrollBarControlSize size, [in] WebScrollbarControlState state, [in] WebScrollbarControlPart pressedPart, [in] BOOL vertical, [in] float value, [in] float proportion, [in] WebScrollbarControlPartMask parts)
 
HRESULT paintCustomScrollCorner ([in] IWebView *webView, [in] HDC hDC, [in] RECT rect)
 

Protected Member Functions

(virtual HRESULT STDMETHODCALLTYPE) - unused1
 
(virtual HRESULT STDMETHODCALLTYPE) - unused2
 
(virtual HRESULT STDMETHODCALLTYPE) - unused3
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewScrolled
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewAddMessageToConsole
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewShouldInterruptJavaScript
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewReceivedFocus
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewLostFocus
 
(virtual HRESULT STDMETHODCALLTYPE) - doDragDrop
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewGetDlgCode
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewPainted
 
(virtual HRESULT STDMETHODCALLTYPE) - exceededDatabaseQuota
 
(virtual HRESULT STDMETHODCALLTYPE) - embeddedViewWithArguments
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewClosing
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewSetCursor
 
(virtual HRESULT STDMETHODCALLTYPE) - webViewDidInvalidate
 
(virtual HRESULT STDMETHODCALLTYPE) - desktopNotificationsDelegate
 

Protected Attributes

ULONG m_refCount { 1 }
 

Constructor & Destructor Documentation

◆ UIDelegate()

Method Documentation

◆ addCustomMenuDrawingData()

- (virtual HRESULT STDMETHODCALLTYPE) addCustomMenuDrawingData (_In_opt_ IWebView *) 
(HMENU)   

◆ AddRef()

- (ULONG) AddRef (void

◆ canRedo()

- (HRESULT) canRedo (_Out_ BOOL *)  result

◆ canRunModal()

- (HRESULT) canRunModal (_In_opt_ IWebView *) 
(_Out_ BOOL *)  canRunBoolean 

◆ canTakeFocus()

- (virtual HRESULT STDMETHODCALLTYPE) canTakeFocus (_In_opt_ IWebView *)  sender
(BOOL forward
(_Out_ BOOL *)  result 

◆ canUndo()

- (HRESULT) canUndo (_Out_ BOOL *)  result

◆ cleanUpCustomMenuDrawingData()

- (virtual HRESULT STDMETHODCALLTYPE) cleanUpCustomMenuDrawingData (_In_opt_ IWebView *) 
(HMENU)   

◆ contextMenuItemSelected()

- (virtual HRESULT STDMETHODCALLTYPE) contextMenuItemSelected (_In_opt_ IWebView *)  sender
(_In_opt_ void *)  item
(_In_opt_ IPropertyBag *)  element 

◆ contextMenuItemsForElement()

- (virtual HRESULT STDMETHODCALLTYPE) contextMenuItemsForElement (IWebView *)  sender
(IPropertyBag *)  element
(HMENU)  defaultItemsHMenu
(HMENU *)  resultHMenu 

webView:contextMenuItemsForElement:defaultMenuItems: Returns the menu items to display in an element's contextual menu.

Parameters
senderThe WebView sending the delegate method.
elementA dictionary representation of the clicked element.
defaultMenuItemsAn array of default NSMenuItems to include in all contextual menus.
Returns
An array of NSMenuItems to include in the contextual menu.
  • (NSArray *)webView:(WebView *)sender contextMenuItemsForElement:(NSDictionary *)element defaultMenuItems:(NSArray *)defaultMenuItems;

Implements IWebUIDelegate.

◆ createModalDialog()

- (HRESULT) createModalDialog (_In_opt_ IWebView *)  sender
(_In_opt_ IWebURLRequest *) 
(_COM_Outptr_opt_ IWebView **)  newWebView 

◆ createWebViewWithRequest() [1/2]

- (HRESULT) createWebViewWithRequest (_In_opt_ IWebView *)  sender
(_In_opt_ IWebURLRequest *) 
(_COM_Outptr_opt_ IWebView **)  newWebView 

◆ createWebViewWithRequest() [2/2]

- (HRESULT) createWebViewWithRequest (_In_opt_ IWebView *)  sender
(_In_opt_ IWebURLRequest *) 
(_In_opt_ IPropertyBag *)  windowFeatures
(_COM_Outptr_opt_ IWebView **)  newWebView 

◆ decidePolicyForGeolocationRequest()

- (HRESULT) decidePolicyForGeolocationRequest (_In_opt_ IWebView *)  sender
(_In_opt_ IWebFrame *) 
(_In_opt_ IWebSecurityOrigin *) 
(_In_opt_ IWebGeolocationPolicyListener *)   

◆ desktopNotificationsDelegate()

- (HRESULT) desktopNotificationsDelegate (_COM_Outptr_opt_ IWebDesktopNotificationsDelegate **)  result

◆ didPressMissingPluginButton()

- (HRESULT) didPressMissingPluginButton (_In_opt_ IDOMElement *) 

◆ didSetMockGeolocationPermission()

- (void) didSetMockGeolocationPermission

◆ doDragDrop()

- (HRESULT) doDragDrop (_In_opt_ IWebView *)  sender
(_In_opt_ IDataObject *)  object
(_In_opt_ IDropSource *)  source
(DWORD)  okEffect
(_Out_ DWORD *)  performedEffect 

◆ dragDestinationActionMaskForDraggingInfo()

- (virtual HRESULT STDMETHODCALLTYPE) dragDestinationActionMaskForDraggingInfo (_In_opt_ IWebView *) 
(_In_opt_ IDataObject *)  draggingInfo
(_Out_ WebDragDestinationAction *)  action 

◆ dragSourceActionMaskForPoint()

- (virtual HRESULT STDMETHODCALLTYPE) dragSourceActionMaskForPoint (_In_opt_ IWebView *) 
(_In_)  LPPOINT
(_Out_ WebDragSourceAction *)   

◆ drawBackground()

- (HRESULT) drawBackground (_In_opt_ IWebView *)  sender
(_In_)  HDC
(_In_ const RECT *)  dirtyRect 

◆ drawCustomMenuItem()

- (virtual HRESULT STDMETHODCALLTYPE) drawCustomMenuItem (_In_opt_ IWebView *)  sender
(_In_ void *)  drawItem 

◆ drawFooterInRect()

- (HRESULT) drawFooterInRect (_In_opt_ IWebView *) 
(_In_ RECT *) 
(ULONG_PTR)  drawingContext
(UINT)  pageIndex
(UINT)  pageCount 

◆ drawHeaderInRect()

- (HRESULT) drawHeaderInRect (_In_opt_ IWebView *) 
(_In_ RECT *) 
(ULONG_PTR)  drawingContext 

◆ embeddedViewWithArguments()

- (HRESULT) embeddedViewWithArguments (_In_opt_ IWebView *)  sender
(_In_opt_ IWebFrame *) 
(_In_opt_ IPropertyBag *)  arguments
(_COM_Outptr_opt_ IWebEmbeddedView **)  view 

◆ exceededDatabaseQuota()

- (HRESULT) exceededDatabaseQuota (_In_opt_ IWebView *)  sender
(_In_opt_ IWebFrame *)  frame
(_In_opt_ IWebSecurityOrigin *)  origin
(_In_ BSTR databaseIdentifier 

◆ ftpDirectoryTemplatePath()

- (HRESULT) ftpDirectoryTemplatePath (_In_opt_ IWebView *) 
(__deref_opt_out BSTR *)  path 

◆ hasCustomMenuImplementation()

- (HRESULT) hasCustomMenuImplementation (_Out_ BOOL *)  hasCustomMenus

◆ isMenuBarVisible()

- (HRESULT) isMenuBarVisible (_In_opt_ IWebView *) 
(_Out_ BOOL *)  visible 

◆ makeFirstResponder()

- (virtual HRESULT STDMETHODCALLTYPE) makeFirstResponder (_In_opt_ IWebView *) 
(_In_)  HWND 

◆ measureCustomMenuItem()

- (virtual HRESULT STDMETHODCALLTYPE) measureCustomMenuItem (_In_opt_ IWebView *)  sender
(_In_ void *)  measureItem 

◆ mouseDidMoveOverElement()

- (virtual HRESULT STDMETHODCALLTYPE) mouseDidMoveOverElement (_In_opt_ IWebView *)  sender
(_In_opt_ IPropertyBag *)  elementInformation
(UINT)  modifierFlags 

◆ numberOfPendingGeolocationPermissionRequests()

- (int) numberOfPendingGeolocationPermissionRequests

◆ paintCustomScrollbar()

- (HRESULT) paintCustomScrollbar (_In_opt_ IWebView *) 
(_In_)  HDC
(RECT) 
(WebScrollBarControlSize
(WebScrollbarControlState
(WebScrollbarControlPart pressedPart
(BOOL vertical
(float)  value
(float)  proportion
(WebScrollbarControlPartMask  

◆ paintCustomScrollCorner()

- (HRESULT) paintCustomScrollCorner (_In_opt_ IWebView *) 
(_In_)  HDC
(RECT)   

◆ printFrame()

- (HRESULT) printFrame (_In_opt_ IWebView *) 
(_In_opt_ IWebFrame *)   

◆ QueryInterface()

- (HRESULT) QueryInterface (_In_ REFIID)  riid
(_COM_Outptr_ void **)  ppvObject 

◆ redo()

- (HRESULT) redo

redo: Redo the last group of operations

Implements IWebUIDelegate.

◆ registerUndoWithTarget()

- (HRESULT) registerUndoWithTarget (_In_opt_ IWebUndoTarget *)  target
(_In_ BSTR actionName
(_In_opt_ IUnknown *)  actionArg 

◆ Release()

- (ULONG) Release (void

◆ removeAllActionsWithTarget()

- (HRESULT) removeAllActionsWithTarget (_In_opt_ IWebUndoTarget *) 

◆ resetUndoManager()

- (void) resetUndoManager

◆ resetWindowOrigin()

- (void) resetWindowOrigin

◆ runBeforeUnloadConfirmPanelWithMessage()

- (HRESULT) runBeforeUnloadConfirmPanelWithMessage (_In_opt_ IWebView *)  sender
(_In_ BSTR message
(_In_opt_ IWebFrame *)  initiatedByFrame
(_Out_ BOOL *)  result 

◆ runDatabaseSizeLimitPrompt()

- (HRESULT) runDatabaseSizeLimitPrompt (_In_opt_ IWebView *) 
(_In_ BSTR displayName
(_In_opt_ IWebFrame *)  initiatedByFrame
(_Out_ BOOL *)  allowed 

◆ runJavaScriptAlertPanelWithMessage()

- (HRESULT) runJavaScriptAlertPanelWithMessage (_In_opt_ IWebView *)  sender
(_In_ BSTR message 

◆ runJavaScriptConfirmPanelWithMessage()

- (HRESULT) runJavaScriptConfirmPanelWithMessage (_In_opt_ IWebView *)  sender
(_In_ BSTR message
(_Out_ BOOL *)  result 

◆ runJavaScriptTextInputPanelWithPrompt()

- (HRESULT) runJavaScriptTextInputPanelWithPrompt (_In_opt_ IWebView *)  sender
(_In_ BSTR message
(_In_ BSTR defaultText
(__deref_opt_out BSTR *)  result 

◆ runModal()

- (HRESULT) runModal (_In_opt_ IWebView *)  webView

◆ runOpenPanelForFileButtonWithResultListener()

- (virtual HRESULT STDMETHODCALLTYPE) runOpenPanelForFileButtonWithResultListener (_In_opt_ IWebView *)  sender
(_In_opt_ IWebOpenPanelResultListener *)   

◆ setActionTitle()

- (HRESULT) setActionTitle (_In_)  BSTR

◆ setContentRect()

- (virtual HRESULT STDMETHODCALLTYPE) setContentRect (_In_opt_ IWebView *)  sender
(_In_ RECT *)  contentRect 

◆ setFrame()

- (HRESULT) setFrame (_In_opt_ IWebView *)  sender
(_In_ RECT *)  frame 

◆ setMenuBarVisible()

- (HRESULT) setMenuBarVisible (_In_opt_ IWebView *) 
(BOOL  

◆ setResizable()

- (virtual HRESULT STDMETHODCALLTYPE) setResizable (_In_opt_ IWebView *)  sender
(BOOL resizable 

◆ setStatusBarVisible()

- (virtual HRESULT STDMETHODCALLTYPE) setStatusBarVisible (_In_opt_ IWebView *)  sender
(BOOL visible 

◆ setStatusText()

- (HRESULT) setStatusText (_In_opt_ IWebView *)  sender
(_In_ BSTR text 

◆ setToolbarsVisible()

- (virtual HRESULT STDMETHODCALLTYPE) setToolbarsVisible (_In_opt_ IWebView *)  sender
(BOOL visible 

◆ shouldPerformAction()

- (virtual HRESULT STDMETHODCALLTYPE) shouldPerformAction (_In_opt_ IWebView *) 
(UINT)  itemCommandID
(UINT)  sender 

◆ takeFocus()

- (virtual HRESULT STDMETHODCALLTYPE) takeFocus (_In_opt_ IWebView *)  sender
(BOOL forward 

◆ trackCustomPopupMenu()

- (HRESULT) trackCustomPopupMenu (_In_opt_ IWebView *)  sender
(_In_)  HMENU
(_In_)  LPPOINT 

◆ undo()

- (HRESULT) undo

undo: Undo the last group of operations

Implements IWebUIDelegate.

◆ unused1()

- (virtual HRESULT STDMETHODCALLTYPE) unused1

Implements IWebUIDelegatePrivate.

◆ unused2()

- (virtual HRESULT STDMETHODCALLTYPE) unused2

Implements IWebUIDelegatePrivate.

◆ unused3()

- (virtual HRESULT STDMETHODCALLTYPE) unused3

Implements IWebUIDelegatePrivate.

◆ validateUserInterfaceItem()

- (virtual HRESULT STDMETHODCALLTYPE) validateUserInterfaceItem (_In_opt_ IWebView *) 
(UINT)  itemCommandID
(BOOL defaultValidation
(_Out_ BOOL *)  isValid 

◆ webViewAddMessageToConsole()

- (HRESULT) webViewAddMessageToConsole (_In_opt_ IWebView *)  sender
(_In_ BSTR message
(int)  lineNumber
(_In_ BSTR url
(BOOL isError 

◆ webViewAreToolbarsVisible()

- (virtual HRESULT STDMETHODCALLTYPE) webViewAreToolbarsVisible (_In_opt_ IWebView *)  sender
(_Out_ BOOL *)  visible 

◆ webViewClose()

- (HRESULT) webViewClose (_In_opt_ IWebView *)  sender

◆ webViewClosing()

- (HRESULT) webViewClosing (_In_opt_ IWebView *)  sender

◆ webViewContentRect()

- (virtual HRESULT STDMETHODCALLTYPE) webViewContentRect (_In_opt_ IWebView *)  sender
(_Out_ RECT *)  contentRect 

◆ webViewDidInvalidate()

- (HRESULT) webViewDidInvalidate (_In_opt_ IWebView *)  sender

◆ webViewFirstResponder()

- (virtual HRESULT STDMETHODCALLTYPE) webViewFirstResponder (_In_opt_ IWebView *) 
(_Out_ HWND *)   

◆ webViewFocus()

- (HRESULT) webViewFocus (_In_opt_ IWebView *)  sender

◆ webViewFooterHeight()

- (HRESULT) webViewFooterHeight (_In_opt_ IWebView *) 
(_Out_ float *)  result 

◆ webViewFrame()

- (HRESULT) webViewFrame (_In_opt_ IWebView *)  sender
(_Out_ RECT *)  frame 

◆ webViewGetDlgCode()

- (HRESULT) webViewGetDlgCode (_In_opt_ IWebView *)  sender
(UINT)  keyCode
(_Out_ LONG_PTR *)  code 

◆ webViewHeaderHeight()

- (HRESULT) webViewHeaderHeight (_In_opt_ IWebView *) 
(_Out_ float *)  result 

◆ webViewIsResizable()

- (virtual HRESULT STDMETHODCALLTYPE) webViewIsResizable (_In_opt_ IWebView *)  sender
(_Out_ BOOL *)  resizable 

◆ webViewIsStatusBarVisible()

- (virtual HRESULT STDMETHODCALLTYPE) webViewIsStatusBarVisible (_In_opt_ IWebView *)  sender
(_Out_ BOOL *)  visible 

◆ webViewLostFocus()

- (virtual HRESULT STDMETHODCALLTYPE) webViewLostFocus (_In_opt_ IWebView *) 
(_In_)  HWND 

◆ webViewPainted()

- (HRESULT) webViewPainted (_In_opt_ IWebView *)  sender

◆ webViewPrintingMarginRect()

- (HRESULT) webViewPrintingMarginRect (_In_opt_ IWebView *) 
(_Out_ RECT *)   

◆ webViewReceivedFocus()

- (virtual HRESULT STDMETHODCALLTYPE) webViewReceivedFocus (_In_opt_ IWebView *)  sender

◆ webViewScrolled()

- (virtual HRESULT STDMETHODCALLTYPE) webViewScrolled (_In_opt_ IWebView *)  sender

◆ webViewSetCursor()

- (HRESULT) webViewSetCursor (_In_opt_ IWebView *)  sender
(_In_)  HCURSOR 

◆ webViewShouldInterruptJavaScript()

- (virtual HRESULT STDMETHODCALLTYPE) webViewShouldInterruptJavaScript (_In_opt_ IWebView *) 
(_Out_ BOOL *)   

◆ webViewShow()

- (virtual HRESULT STDMETHODCALLTYPE) webViewShow (_In_opt_ IWebView *)  sender

◆ webViewStatusText()

- (virtual HRESULT STDMETHODCALLTYPE) webViewStatusText (_In_opt_ IWebView *)  sender
(__deref_opt_out BSTR *)  text 

◆ webViewUnfocus()

- (HRESULT) webViewUnfocus (_In_opt_ IWebView *)  sender

◆ willPerformDragDestinationAction()

- (virtual HRESULT STDMETHODCALLTYPE) willPerformDragDestinationAction (_In_opt_ IWebView *) 
(WebDragDestinationAction action
(_In_opt_ IDataObject *)  draggingInfo 

◆ willPerformDragSourceAction()

- (HRESULT) willPerformDragSourceAction (_In_opt_ IWebView *) 
(WebDragSourceAction
(_In_)  LPPOINT
(_In_opt_ IDataObject *)  pasteboard
(_COM_Outptr_opt_ IDataObject **)  newPasteboard 

Member Data Documentation

◆ m_refCount

- (ULONG) m_refCount { 1 }
protected

The documentation for this class was generated from the following files: