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
 CPOpacityRequiresFilterFeature = 1 << 23
var USER_AGENT = ""
 PLATFORM_ENGINE = CPUnknownBrowserEngine
 PLATFORM_FEATURES = 0


Function Documentation

function CPBrowserIsEngine ( anEngine   ) 

Definition at line 154 of file CPCompatibility.j.

function CPFeatureIsCompatible ( aFeature   ) 

Definition at line 149 of file CPCompatibility.j.

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

Definition at line 159 of file CPCompatibility.j.

if ( typeof document!  = "undefined"  ) 

Definition at line 125 of file CPCompatibility.j.

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

Definition at line 111 of file CPCompatibility.j.

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

Definition at line 105 of file CPCompatibility.j.

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

Definition at line 85 of file CPCompatibility.j.

else if ( window.  opera  ) 

Definition at line 64 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 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.

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 53 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 57 of file CPCompatibility.j.

Definition at line 58 of file CPCompatibility.j.

var USER_AGENT = ""

Definition at line 55 of file CPCompatibility.j.


Generated on Thu Dec 11 01:55:47 2008 for Cappuccino by  doxygen 1.5.7.1