AppKit/CPCompatibility.j File Reference

Go to the source code of this file.

Functions

 if (typeof window!="undfined"&&typeof window.navigator!="undefined") USER_AGENT
 if (window.opera)
else if (USER_AGENT.indexOf("AppleWebKit/")!=-1)
else if (USER_AGENT.indexOf("KHTML")!=-1)
else if (USER_AGENT.indexOf("Gecko")!=-1)
 if (typeof document!="undefined")
function CPFeatureIsCompatible (aFeature)
function CPBrowserIsEngine (anEngine)
 if (USER_AGENT.indexOf("Mac")!=-1)

Variables

import CPEvent j CPUnknownBrowserEngine = 0
 CPGeckoBrowserEngine = 1
 CPInternetExplorerBrowserEngine = 2
 CPKHTMLBrowserEngine = 3
 CPOperaBrowserEngine = 4
 CPWebKitBrowserEngine = 5
 CPCSSRGBAFeature = 1 << 5
 CPHTMLCanvasFeature = 1 << 6
 CPHTMLContentEditableFeature = 1 << 7
 CPJavascriptInnerTextFeature = 1 << 8
 CPJavascriptTextContentFeature = 1 << 9
 CPJavascriptClipboardEventsFeature = 1 << 10
 CPJavascriptClipboardAccessFeature = 1 << 11
 CPJavaScriptCanvasDrawFeature = 1 << 12
 CPJavaScriptCanvasTransformFeature = 1 << 13
 CPVMLFeature = 1 << 14
 CPJavascriptRemedialKeySupport = 1 << 15
 CPJavaScriptShadowFeature = 1 << 20
 CPJavaScriptNegativeMouseWheelValues = 1 << 22
 CPJavaScriptMouseWheelValues_8_15
 CPInputTypeCanBeChangedFeature = 1 << 25
var USER_AGENT = ""
var PLATFORM_ENGINE = CPUnknownBrowserEngine
var PLATFORM_FEATURES = 0


Function Documentation

function CPBrowserIsEngine ( anEngine   ) 

Definition at line 171 of file CPCompatibility.j.

function CPFeatureIsCompatible ( aFeature   ) 

Definition at line 166 of file CPCompatibility.j.

if ( USER_AGENT.indexOf("Mac")!  = -1  ) 

Definition at line 176 of file CPCompatibility.j.

if ( typeof document!  = "undefined"  ) 

Definition at line 142 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("Gecko")!  = -1  ) 

Definition at line 122 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("KHTML")!  = -1  ) 

Definition at line 116 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("AppleWebKit/")!  = -1  ) 

Definition at line 96 of file CPCompatibility.j.

else if ( window.  opera  ) 

Definition at line 73 of file CPCompatibility.j.

if ( typeof window!  = "undfined"&&typeof window.navigator!="undefined"  ) 


Variable Documentation

CPCSSRGBAFeature = 1 << 5

Definition at line 34 of file CPCompatibility.j.

Definition at line 27 of file CPCompatibility.j.

Definition at line 36 of file CPCompatibility.j.

Definition at line 37 of file CPCompatibility.j.

Definition at line 57 of file CPCompatibility.j.

Definition at line 28 of file CPCompatibility.j.

Definition at line 43 of file CPCompatibility.j.

Definition at line 44 of file CPCompatibility.j.

Definition at line 42 of file CPCompatibility.j.

Definition at line 41 of file CPCompatibility.j.

Definition at line 39 of file CPCompatibility.j.

Initial value:

 1 << 23

CPOpacityRequiresFilterFeature          = 1 << 24

Definition at line 52 of file CPCompatibility.j.

Definition at line 51 of file CPCompatibility.j.

Definition at line 48 of file CPCompatibility.j.

Definition at line 49 of file CPCompatibility.j.

Definition at line 40 of file CPCompatibility.j.

Definition at line 29 of file CPCompatibility.j.

Definition at line 30 of file CPCompatibility.j.

Definition at line 26 of file CPCompatibility.j.

CPVMLFeature = 1 << 14

Definition at line 46 of file CPCompatibility.j.

Definition at line 31 of file CPCompatibility.j.

Definition at line 62 of file CPCompatibility.j.

Definition at line 63 of file CPCompatibility.j.

var USER_AGENT = ""

Definition at line 61 of file CPCompatibility.j.


Generated on Wed May 20 12:43:58 2009 for Cappuccino by  doxygen 1.5.8