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

#import <WebFrameView.h>

Inheritance diagram for WebFrameView:

Instance Methods

(NSPrintOperation *) - printOperationWithPrintInfo:
 
(void- printDocumentView
 

Protected Attributes

package WebFrameViewPrivate_private
 

Properties

WebFramewebFrame
 
NSView< WebDocumentView > * documentView
 
BOOL allowsScrolling
 
BOOL canPrintHeadersAndFooters
 
BOOL documentViewShouldHandlePrint
 

Detailed Description

Method Documentation

◆ printDocumentView()

- (void) printDocumentView

printDocumentView Called by the host application when the WebFrameView returns YES from -documentViewShouldHandlePrint.

◆ printOperationWithPrintInfo:()

- (NSPrintOperation *) printOperationWithPrintInfo: (NSPrintInfo *)  printInfo

printOperationWithPrintInfo Creates a print operation set up to print this frame

Returns
A newly created print operation object

Member Data Documentation

◆ _private

- (package WebFrameViewPrivate*) _private
protected

Property Documentation

◆ allowsScrolling

- (BOOL) allowsScrolling
readwritenonatomicassign

Whether the WebFrameView allows its document to be scrolled

◆ canPrintHeadersAndFooters

- (BOOL) canPrintHeadersAndFooters
readnonatomicassign

Whether this frame can print headers and footers

◆ documentView

- (NSView< WebDocumentView > *) documentView
readnonatomicstrong

The WebFrameView's document subview The subview that renders the WebFrameView's contents

◆ documentViewShouldHandlePrint

- (BOOL) documentViewShouldHandlePrint
readnonatomicassign

Called by the host application before it initializes and runs a print operation. If NO is returned, the host application will abort its print operation and call -printDocumentView on the WebFrameView. The document view is then expected to run its own print operation. If YES is returned, the host application's print operation will continue as normal.

◆ webFrame

- (WebFrame *) webFrame
readnonatomicstrong

The WebFrame associated with this WebFrameView


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