Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: third_party/WebCore/css/CSSPrimitiveValue.idl

Issue 9958151: Update script to fetch new WebCore IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/WebCore/css/CSSPageRule.idl ('k') | third_party/WebCore/css/CSSRule.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20 module css {
21
22 interface CSSPrimitiveValue : CSSValue {
23
24 // UnitTypes
25 const unsigned short CSS_UNKNOWN = 0;
26 const unsigned short CSS_NUMBER = 1;
27 const unsigned short CSS_PERCENTAGE = 2;
28 const unsigned short CSS_EMS = 3;
29 const unsigned short CSS_EXS = 4;
30 const unsigned short CSS_PX = 5;
31 const unsigned short CSS_CM = 6;
32 const unsigned short CSS_MM = 7;
33 const unsigned short CSS_IN = 8;
34 const unsigned short CSS_PT = 9;
35 const unsigned short CSS_PC = 10;
36 const unsigned short CSS_DEG = 11;
37 const unsigned short CSS_RAD = 12;
38 const unsigned short CSS_GRAD = 13;
39 const unsigned short CSS_MS = 14;
40 const unsigned short CSS_S = 15;
41 const unsigned short CSS_HZ = 16;
42 const unsigned short CSS_KHZ = 17;
43 const unsigned short CSS_DIMENSION = 18;
44 const unsigned short CSS_STRING = 19;
45 const unsigned short CSS_URI = 20;
46 const unsigned short CSS_IDENT = 21;
47 const unsigned short CSS_ATTR = 22;
48 const unsigned short CSS_COUNTER = 23;
49 const unsigned short CSS_RECT = 24;
50 const unsigned short CSS_RGBCOLOR = 25;
51
52 readonly attribute unsigned short primitiveType;
53
54 [ObjCLegacyUnnamedParameters] void setFloatValue(in [Optional=DefaultIsU ndefined] unsigned short unitType,
55 in [Optional=DefaultIsUndefined] float floatValue)
56 raises(DOMException);
57 float getFloatValue(in [Optional=DefaultIsUndefined] unsigned short unit Type)
58 raises(DOMException);
59 [ObjCLegacyUnnamedParameters] void setStringValue(in [Optional=DefaultIs Undefined] unsigned short stringType,
60 in [Optional=DefaultIsUndefined] DOMS tring stringValue)
61 raises(DOMException);
62 DOMString getStringValue()
63 raises(DOMException);
64 Counter getCounterValue()
65 raises(DOMException);
66 Rect getRectValue()
67 raises(DOMException);
68 RGBColor getRGBColorValue()
69 raises(DOMException);
70 };
71
72 }
OLDNEW
« no previous file with comments | « third_party/WebCore/css/CSSPageRule.idl ('k') | third_party/WebCore/css/CSSRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698