gfx/skia/trunk/src/animator/SkAnimate3DSchema.xsd

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
     2 	xmlns:Sk="http://www.skia.com/schema/SkAnimateSchema.xsd"
     3 	targetNamespace="urn:skia3D" xmlns:Sk3D="urn:skia3D">
     5 	<xs:simpleType name="Patch" >
     6 		<xs:restriction base="xs:string" >
     7 		</xs:restriction>
     8 	</xs:simpleType>
    10 	<xs:simpleType name="Point" >
    11 		<xs:restriction base="xs:string" >
    12 			<xs:pattern value="[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)( *[ ,] *[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)){2}" /> 
    13 		</xs:restriction>
    14 	</xs:simpleType>
    16 	<xs:element name="camera">
    17 		<xs:complexType >
    18 			<xs:attribute name="axis" type="Sk3D:Point" />
    19 			<xs:attribute name="hackHeight" type="Sk:Float" />
    20 			<xs:attribute name="hackWidth" type="Sk:Float" />
    21 			<xs:attribute name="location" type="Sk3D:Point" />
    22 			<xs:attribute name="observer" type="Sk3D:Point" />
    23 			<xs:attribute name="patch" type="Sk3D:Patch" />
    24 			<xs:attribute name="zenith" type="Sk3D:Point" />
    25 			<xs:attribute name="id" type="xs:ID" />
    26 		</xs:complexType>
    27 	</xs:element>
    29 	<xs:element name="patch">
    30 		<xs:complexType >
    31 			<xs:attribute name="origin" type="Sk3D:Point" />
    32 			<xs:attribute name="rotateDegrees" type="Sk:MemberFunction" />
    33 			<xs:attribute name="u" type="Sk3D:Point" />
    34 			<xs:attribute name="v" type="Sk3D:Point" />
    35 			<xs:attribute name="id" type="xs:ID" />
    36 		</xs:complexType>
    37 	</xs:element>
    39 </xs:schema>

mercurial