API  1.0.0
CPWebView.j File Reference

Go to the source code of this file.

Typedefs

typedef Window CPWebViewProgressStartedNotification = "CPWebViewProgressStartedNotification"
 

Variables

 CPWebViewAppKitScrollMaxPollCount = 3
 
 CPWebViewAppKitScrollPollInterval = 1.0
 
 CPWebViewProgressFinishedNotification = "CPWebViewProgressFinishedNotification"
 
 CPWebViewScrollAppKit = 1
 
 CPWebViewScrollAuto = 0
 
 CPWebViewScrollNative = 2
 
 CPWebViewScrollNone = 3
 

Typedef Documentation

◆ CPWebViewProgressStartedNotification

typedef Window CPWebViewProgressStartedNotification = "CPWebViewProgressStartedNotification"

Definition at line 36 of file CPWebView.j.

Variable Documentation

◆ CPWebViewAppKitScrollMaxPollCount

CPWebViewAppKitScrollMaxPollCount = 3

How many times the size of the size of the document will be checked at page load time when AppKit scrollbars are used.

AppKit scrollbars must check the size of the document to display the correct size of scrollbars. To improve performance the checks are only performed a limited number of times per reload.

Definition at line 75 of file CPWebView.j.

◆ CPWebViewAppKitScrollPollInterval

CPWebViewAppKitScrollPollInterval = 1.0

How frequently the size of the document will be checked at page load time when AppKit scrollbars are used.

Definition at line 65 of file CPWebView.j.

◆ CPWebViewProgressFinishedNotification

CPWebViewProgressFinishedNotification = "CPWebViewProgressFinishedNotification"

Definition at line 37 of file CPWebView.j.

◆ CPWebViewScrollAppKit

CPWebViewScrollAppKit = 1

Always use AppKit scrollbars. If a URL is loaded whcih does not appear to pass the same origin policy, native scrollbars will be used but a warnning will be logged.

Definition at line 51 of file CPWebView.j.

◆ CPWebViewScrollAuto

CPWebViewScrollAuto = 0

Automatically choose between AppKit (Cappuccino style) scrollbars and native scrollbars. In this mode AppKit scrollbars are always used except when the web view is loaded with a URL which does not appear to pass the same origin policy.

Definition at line 45 of file CPWebView.j.

◆ CPWebViewScrollNative

CPWebViewScrollNative = 2

Always use native (platform dependent) scrollbars.

Definition at line 55 of file CPWebView.j.

◆ CPWebViewScrollNone

CPWebViewScrollNone = 3

Never display scrollbars.

Definition at line 59 of file CPWebView.j.