OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 class FillLayer; | 33 class FillLayer; |
34 class CSSValue; | 34 class CSSValue; |
35 class StyleResolverState; | 35 class StyleResolverState; |
36 class NinePieceImage; | 36 class NinePieceImage; |
37 class NullableCSSValue; | 37 class NullableCSSValue; |
38 class BorderImageLengthBox; | 38 class BorderImageLengthBox; |
39 | 39 |
40 class CSSToStyleMap { | 40 class CSSToStyleMap { |
41 public: | 41 public: |
42 static void mapFillAttachment(StyleResolverState&, FillLayer*, CSSValue); | 42 static void mapFillAttachment(StyleResolverState&, FillLayer*, const CSSValu
e&); |
43 static void mapFillClip(StyleResolverState&, FillLayer*, CSSValue); | 43 static void mapFillClip(StyleResolverState&, FillLayer*, const CSSValue&); |
44 static void mapFillComposite(StyleResolverState&, FillLayer*, CSSValue); | 44 static void mapFillComposite(StyleResolverState&, FillLayer*, const CSSValue
&); |
45 static void mapFillBlendMode(StyleResolverState&, FillLayer*, CSSValue); | 45 static void mapFillBlendMode(StyleResolverState&, FillLayer*, const CSSValue
&); |
46 static void mapFillOrigin(StyleResolverState&, FillLayer*, CSSValue); | 46 static void mapFillOrigin(StyleResolverState&, FillLayer*, const CSSValue&); |
47 static void mapFillImage(StyleResolverState&, FillLayer*, CSSValue); | 47 static void mapFillImage(StyleResolverState&, FillLayer*, const CSSValue&); |
48 static void mapFillRepeatX(StyleResolverState&, FillLayer*, CSSValue); | 48 static void mapFillRepeatX(StyleResolverState&, FillLayer*, const CSSValue&)
; |
49 static void mapFillRepeatY(StyleResolverState&, FillLayer*, CSSValue); | 49 static void mapFillRepeatY(StyleResolverState&, FillLayer*, const CSSValue&)
; |
50 static void mapFillSize(StyleResolverState&, FillLayer*, CSSValue); | 50 static void mapFillSize(StyleResolverState&, FillLayer*, const CSSValue&); |
51 static void mapFillXPosition(StyleResolverState&, FillLayer*, CSSValue); | 51 static void mapFillXPosition(StyleResolverState&, FillLayer*, const CSSValue
&); |
52 static void mapFillYPosition(StyleResolverState&, FillLayer*, CSSValue); | 52 static void mapFillYPosition(StyleResolverState&, FillLayer*, const CSSValue
&); |
53 static void mapFillMaskSourceType(StyleResolverState&, FillLayer*, CSSValue)
; | 53 static void mapFillMaskSourceType(StyleResolverState&, FillLayer*, const CSS
Value&); |
54 | 54 |
55 static double mapAnimationDelay(CSSValue); | 55 static double mapAnimationDelay(const CSSValue&); |
56 static Timing::PlaybackDirection mapAnimationDirection(CSSValue); | 56 static Timing::PlaybackDirection mapAnimationDirection(const CSSValue&); |
57 static double mapAnimationDuration(CSSValue); | 57 static double mapAnimationDuration(const CSSValue&); |
58 static Timing::FillMode mapAnimationFillMode(CSSValue); | 58 static Timing::FillMode mapAnimationFillMode(const CSSValue&); |
59 static double mapAnimationIterationCount(CSSValue); | 59 static double mapAnimationIterationCount(const CSSValue&); |
60 static AtomicString mapAnimationName(CSSValue); | 60 static AtomicString mapAnimationName(const CSSValue&); |
61 static EAnimPlayState mapAnimationPlayState(CSSValue); | 61 static EAnimPlayState mapAnimationPlayState(const CSSValue&); |
62 static CSSTransitionData::TransitionProperty mapAnimationProperty(CSSValue); | 62 static CSSTransitionData::TransitionProperty mapAnimationProperty(const CSSV
alue&); |
63 static PassRefPtr<TimingFunction> mapAnimationTimingFunction(CSSValue, bool
allowStepMiddle = false); | 63 static PassRefPtr<TimingFunction> mapAnimationTimingFunction(const CSSValue&
, bool allowStepMiddle = false); |
64 | 64 |
65 static void mapNinePieceImage(StyleResolverState&, CSSPropertyID, NullableCS
SValue, NinePieceImage&); | 65 static void mapNinePieceImage(StyleResolverState&, CSSPropertyID, const Null
ableCSSValue&, NinePieceImage&); |
66 static void mapNinePieceImageSlice(StyleResolverState&, NullableCSSValue, Ni
nePieceImage&); | 66 static void mapNinePieceImageSlice(StyleResolverState&, const NullableCSSVal
ue&, NinePieceImage&); |
67 static BorderImageLengthBox mapNinePieceImageQuad(StyleResolverState&, Nulla
bleCSSValue); | 67 static BorderImageLengthBox mapNinePieceImageQuad(StyleResolverState&, const
NullableCSSValue&); |
68 static void mapNinePieceImageRepeat(StyleResolverState&, NullableCSSValue, N
inePieceImage&); | 68 static void mapNinePieceImageRepeat(StyleResolverState&, const NullableCSSVa
lue&, NinePieceImage&); |
69 }; | 69 }; |
70 | 70 |
71 } | 71 } |
72 | 72 |
73 #endif | 73 #endif |
OLD | NEW |