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

#import <WebHTMLRepresentation.h>

Inheritance diagram for WebHTMLRepresentation:
IWebHTMLRepresentation IWebDocumentRepresentation NSObject <WebDocumentRepresentation>

Instance Methods

(NSAttributedString *) - attributedStringFrom:startOffset:to:endOffset:
 
(DOMElement *) - elementWithName:inForm:
 
(BOOL- elementDoesAutoComplete:
 
(BOOL- elementIsPassword:
 
(DOMElement *) - formForElement:
 
(DOMElement *) - currentForm
 
(NSArray *) - controlsInForm:
 
(NSString *) - searchForLabels:beforeElement:resultDistance:resultIsInCellAbove:
 
(NSString *) - matchLabels:againstElement:
 
(NSString *) - searchForLabels:beforeElement:
 
(virtual HRESULT STDMETHODCALLTYPE) - QueryInterface
 
(virtual ULONG STDMETHODCALLTYPE) - AddRef
 
(virtual ULONG STDMETHODCALLTYPE) - Release
 
(virtual HRESULT STDMETHODCALLTYPE) - supportedMIMETypes
 
(virtual HRESULT STDMETHODCALLTYPE) - supportedNonImageMIMETypes
 
(virtual HRESULT STDMETHODCALLTYPE) - supportedImageMIMETypes
 
(virtual HRESULT STDMETHODCALLTYPE) - attributedStringFromDOMNodes
 
(virtual HRESULT STDMETHODCALLTYPE) - elementWithName
 
(virtual HRESULT STDMETHODCALLTYPE) - elementDoesAutoComplete
 
(virtual HRESULT STDMETHODCALLTYPE) - elementIsPassword
 
(virtual HRESULT STDMETHODCALLTYPE) - formForElement
 
(virtual HRESULT STDMETHODCALLTYPE) - currentForm
 
(virtual HRESULT STDMETHODCALLTYPE) - controlsInForm
 
(virtual HRESULT STDMETHODCALLTYPE) - deprecatedSearchForLabels
 
(virtual HRESULT STDMETHODCALLTYPE) - matchLabels
 
(virtual HRESULT STDMETHODCALLTYPE) - searchForLabels
 
(virtual HRESULT STDMETHODCALLTYPE) - setDataSource
 
(virtual HRESULT STDMETHODCALLTYPE) - receivedData
 
(virtual HRESULT STDMETHODCALLTYPE) - receivedError
 
(virtual HRESULT STDMETHODCALLTYPE) - finishedLoadingWithDataSource
 
(virtual HRESULT STDMETHODCALLTYPE) - canProvideDocumentSource
 
(virtual HRESULT STDMETHODCALLTYPE) - documentSource
 
(virtual HRESULT STDMETHODCALLTYPE) - title
 
(void- _redirectDataToManualLoader:forPluginView:
 
(void- printDOMTree
 
- Instance Methods inherited from IWebHTMLRepresentation
HRESULT supportedMIMETypes ([in, out] BSTR *types, [in, out] int *cTypes)
 
HRESULT supportedNonImageMIMETypes ([in, out] BSTR *types, [in, out] int *cTypes)
 
HRESULT supportedImageMIMETypes ([in, out] BSTR *types, [in, out] int *cTypes)
 
HRESULT attributedStringFromDOMNodes ([in] IDOMNode *startNode, [in] int startOffset, [in] IDOMNode *endNode, [in] int endOffset, [out, retval] IDataObject **attributedString)
 
HRESULT elementWithName ([in] BSTR name, [in] IDOMElement *form, [out, retval] IDOMElement **element)
 
HRESULT elementDoesAutoComplete ([in] IDOMElement *element, [out, retval] BOOL *result)
 
HRESULT elementIsPassword ([in] IDOMElement *element, [out, retval] BOOL *result)
 
HRESULT formForElement ([in] IDOMElement *element, [out, retval] IDOMElement **form)
 
HRESULT currentForm ([out, retval] IDOMElement **form)
 
HRESULT controlsInForm ([in] IDOMElement *form, [in, out] IDOMElement **controls, [in, out] int *cControls)
 
HRESULT deprecatedSearchForLabels ([in, size_is(cLabels)] BSTR *labels, [in] int cLabels, [in] IDOMElement *beforeElement, [out, retval] BSTR *result)
 
HRESULT matchLabels ([in, size_is(cLabels)] BSTR *labels, [in] int cLabels, [in] IDOMElement *againstElement, [out, retval] BSTR *result)
 
HRESULT searchForLabels ([in, size_is(cLabels)] BSTR *labels, [in] unsigned cLabels, [in] IDOMElement *beforeElement, [out] unsigned *resultDistance, [out] BOOL *resultIsInCellAbove, [out, retval] BSTR *result)
 

Class Methods

(NSArray *) + supportedMIMETypes
 
(NSArray *) + supportedMediaMIMETypes
 
(NSArray *) + supportedNonImageMIMETypes
 
(NSArray *) + supportedImageMIMETypes
 
(NSArray *) + unsupportedTextMIMETypes
 
(static WebHTMLRepresentation *) + createInstance
 

Protected Member Functions

() - WebHTMLRepresentation
 
() - ~WebHTMLRepresentation
 

Protected Attributes

WebHTMLRepresentationPrivate_private
 
ULONG m_refCount { 0 }
 
WebFramem_frame { nullptr }
 

Constructor & Destructor Documentation

◆ WebHTMLRepresentation()

◆ ~WebHTMLRepresentation()

Method Documentation

◆ _redirectDataToManualLoader:forPluginView:()

- (void) _redirectDataToManualLoader: (id< WebPluginManualLoader >)  manualLoader
forPluginView: (NSView *)  pluginView 

Provided by category WebHTMLRepresentation(WebPrivate).

◆ AddRef()

- (ULONG) AddRef (void

◆ attributedStringFrom:startOffset:to:endOffset:()

- (NSAttributedString *) attributedStringFrom: (DOMNode *)  startNode
startOffset: (int)  startOffset
to: (DOMNode *)  endNode
endOffset: (int)  endOffset 

◆ attributedStringFromDOMNodes()

- (HRESULT) attributedStringFromDOMNodes (_In_opt_ IDOMNode *)  startNode
(int)  startOffset
(_In_opt_ IDOMNode *)  endNode
(int)  endOffset
(_COM_Outptr_opt_ IDataObject **)  attributedString 

◆ canProvideDocumentSource()

- (HRESULT) canProvideDocumentSource (_Out_ BOOL *)  result

◆ controlsInForm()

- (HRESULT) controlsInForm (_In_opt_ IDOMElement *)  form
(__deref_inout_opt IDOMElement **)  controls
(_Out_ int *)  cControls 

◆ controlsInForm:()

- (NSArray *) controlsInForm: (DOMElement *)  form

◆ createInstance()

+ (WebHTMLRepresentation *) createInstance (WebFrame *)  frame

◆ currentForm() [1/2]

- (DOMElement *) currentForm

◆ currentForm() [2/2]

- (HRESULT) currentForm (_COM_Outptr_opt_ IDOMElement **)  form

◆ deprecatedSearchForLabels()

- (HRESULT) deprecatedSearchForLabels (__inout_ecount_full(cLabels) BSTR *)  labels
(int)  cLabels
(_In_opt_ IDOMElement *)  beforeElement
(__deref_opt_out BSTR *)  result 

◆ documentSource()

- (HRESULT) documentSource (__deref_opt_out BSTR *)  source

◆ elementDoesAutoComplete()

- (HRESULT) elementDoesAutoComplete (_In_opt_ IDOMElement *)  element
(_Out_ BOOL *)  result 

◆ elementDoesAutoComplete:()

- (BOOL) elementDoesAutoComplete: (DOMElement *)  element

◆ elementIsPassword()

- (HRESULT) elementIsPassword (_In_opt_ IDOMElement *)  element
(_Out_ BOOL *)  result 

◆ elementIsPassword:()

- (BOOL) elementIsPassword: (DOMElement *)  element

◆ elementWithName()

- (HRESULT) elementWithName (_In_ BSTR name
(_In_opt_ IDOMElement *)  form
(_COM_Outptr_opt_ IDOMElement **)  element 

◆ elementWithName:inForm:()

- (DOMElement *) elementWithName: (NSString *)  name
inForm: (DOMElement *)  form 

◆ finishedLoadingWithDataSource()

- (HRESULT) finishedLoadingWithDataSource (_In_opt_ IWebDataSource *) 

◆ formForElement()

- (HRESULT) formForElement (_In_opt_ IDOMElement *)  element
(_COM_Outptr_opt_ IDOMElement **)  form 

◆ formForElement:()

- (DOMElement *) formForElement: (DOMElement *)  element

◆ matchLabels()

- (HRESULT) matchLabels (__inout_ecount_full(cLabels) BSTR *)  labels
(int)  cLabels
(_In_opt_ IDOMElement *)  againstElement
(__deref_opt_out BSTR *)  result 

◆ matchLabels:againstElement:()

- (NSString *) matchLabels: (NSArray *)  labels
againstElement: (DOMElement *)  element 

◆ printDOMTree()

- (void) printDOMTree

Provided by category WebHTMLRepresentation(WebPrivate).

◆ QueryInterface()

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

◆ receivedData()

- (HRESULT) receivedData (_In_opt_ IStream *)  data
(_In_opt_ IWebDataSource *)   

◆ receivedError()

- (HRESULT) receivedError (_In_opt_ IWebError *) 
(_In_opt_ IWebDataSource *)   

◆ Release()

- (ULONG) Release (void

◆ searchForLabels()

- (HRESULT) searchForLabels (__inout_ecount_full(cLabels) BSTR *)  labels
(unsigned)  cLabels
(_In_opt_ IDOMElement *)  beforeElement
(_Out_ unsigned *)  resultDistance
(_Out_ BOOL *)  resultIsInCellAbove
(__deref_opt_out BSTR *)  result 

◆ searchForLabels:beforeElement:()

- (NSString *) searchForLabels: (NSArray *)  labels
beforeElement: (DOMElement *)  element 

◆ searchForLabels:beforeElement:resultDistance:resultIsInCellAbove:()

- (NSString *) searchForLabels: (NSArray *)  labels
beforeElement: (DOMElement *)  element
resultDistance: (NSUInteger*)  outDistance
resultIsInCellAbove: (BOOL*)  outIsInCellAbove 

◆ setDataSource()

- (HRESULT) setDataSource (_In_opt_ IWebDataSource *) 

◆ supportedImageMIMETypes() [1/2]

+ (NSArray *) supportedImageMIMETypes

◆ supportedImageMIMETypes() [2/2]

- (HRESULT) supportedImageMIMETypes (__deref_opt_inout BSTR *)  types
(_Inout_ int *)  cTypes 

◆ supportedMediaMIMETypes()

+ (NSArray *) supportedMediaMIMETypes

◆ supportedMIMETypes() [1/2]

- (HRESULT) supportedMIMETypes (__deref_opt_inout BSTR *)  types
(_Inout_ int *)  cTypes 

◆ supportedMIMETypes() [2/2]

+ (NSArray *) supportedMIMETypes

◆ supportedNonImageMIMETypes() [1/2]

- (HRESULT) supportedNonImageMIMETypes (__deref_opt_inout BSTR *)  types
(_Inout_ int *)  cTypes 

◆ supportedNonImageMIMETypes() [2/2]

+ (NSArray *) supportedNonImageMIMETypes

◆ title()

- (HRESULT) title (__deref_opt_out BSTR *) 

◆ unsupportedTextMIMETypes()

+ (NSArray *) unsupportedTextMIMETypes

Member Data Documentation

◆ _private

- (WebHTMLRepresentationPrivate*) _private
protected

◆ m_frame

- (WebFrame*) m_frame { nullptr }
protected

◆ m_refCount

- (ULONG) m_refCount { 0 }
protected

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