webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
IWebDocumentView Interface Reference

import"IWebDocument.idl";

Inheritance diagram for IWebDocumentView:

Public Member Functions

HRESULT setDataSource ([in] IWebDataSource *dataSource)
 
HRESULT dataSourceUpdated ([in] IWebDataSource *dataSource)
 
HRESULT setNeedsLayout ([in] BOOL flag)
 
HRESULT layout ()
 
HRESULT viewWillMoveToHostWindow ([in] HWND hwnd)
 
HRESULT viewDidMoveToHostWindow ()
 

Member Function Documentation

◆ dataSourceUpdated()

HRESULT IWebDocumentView::dataSourceUpdated ( [in] IWebDataSource dataSource)

dataSourceUpdated: Called when the corresponding data source has received data.

Parameters
dataSourceThe corresponding data source.
  • (void)dataSourceUpdated:(WebDataSource *)dataSource;

◆ layout()

HRESULT IWebDocumentView::layout ( )

layout Called when the document view must immediately layout. For simple views, setting the frame is a sufficient implementation of this method.

  • (void)layout;

◆ setDataSource()

HRESULT IWebDocumentView::setDataSource ( [in] IWebDataSource dataSource)

setDataSource: Called when the corresponding data source has been created.

Parameters
dataSourceThe corresponding data source.
  • (void)setDataSource:(WebDataSource *)dataSource;

◆ setNeedsLayout()

HRESULT IWebDocumentView::setNeedsLayout ( [in] BOOL  flag)

setNeedsLayout: Called when WebKit has determined that the document view needs to layout. This method should simply set a flag and call layout from drawRect if the flag is YES.

Parameters
flagYES to cause a layout, no to not cause a layout.
  • (void)setNeedsLayout:(BOOL)flag;

◆ viewDidMoveToHostWindow()

HRESULT IWebDocumentView::viewDidMoveToHostWindow ( )

viewDidMoveToHostWindow Called after the host window is set on the parent web view.

  • (void)viewDidMoveToHostWindow;

◆ viewWillMoveToHostWindow()

HRESULT IWebDocumentView::viewWillMoveToHostWindow ( [in] HWND  hwnd)

viewWillMoveToHostWindow:

Parameters
hostWindowThe host window for the document view. Called before the host window is set on the parent web view.
  • (void)viewWillMoveToHostWindow:(NSWindow *)hostWindow;

The documentation for this interface was generated from the following file: