| 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 16 matching lines...) Expand all Loading... |
| 27 #include "core/animation/css/CSSTransitionData.h" | 27 #include "core/animation/css/CSSTransitionData.h" |
| 28 #include "core/style/ComputedStyleConstants.h" | 28 #include "core/style/ComputedStyleConstants.h" |
| 29 #include "platform/animation/TimingFunction.h" | 29 #include "platform/animation/TimingFunction.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 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 BorderImageLengthBox; | 38 class BorderImageLengthBox; |
| 38 | 39 |
| 39 class CSSToStyleMap { | 40 class CSSToStyleMap { |
| 40 public: | 41 public: |
| 41 static void mapFillAttachment(StyleResolverState&, FillLayer*, CSSValue*); | 42 static void mapFillAttachment(StyleResolverState&, FillLayer*, CSSValue); |
| 42 static void mapFillClip(StyleResolverState&, FillLayer*, CSSValue*); | 43 static void mapFillClip(StyleResolverState&, FillLayer*, CSSValue); |
| 43 static void mapFillComposite(StyleResolverState&, FillLayer*, CSSValue*); | 44 static void mapFillComposite(StyleResolverState&, FillLayer*, CSSValue); |
| 44 static void mapFillBlendMode(StyleResolverState&, FillLayer*, CSSValue*); | 45 static void mapFillBlendMode(StyleResolverState&, FillLayer*, CSSValue); |
| 45 static void mapFillOrigin(StyleResolverState&, FillLayer*, CSSValue*); | 46 static void mapFillOrigin(StyleResolverState&, FillLayer*, CSSValue); |
| 46 static void mapFillImage(StyleResolverState&, FillLayer*, CSSValue*); | 47 static void mapFillImage(StyleResolverState&, FillLayer*, CSSValue); |
| 47 static void mapFillRepeatX(StyleResolverState&, FillLayer*, CSSValue*); | 48 static void mapFillRepeatX(StyleResolverState&, FillLayer*, CSSValue); |
| 48 static void mapFillRepeatY(StyleResolverState&, FillLayer*, CSSValue*); | 49 static void mapFillRepeatY(StyleResolverState&, FillLayer*, CSSValue); |
| 49 static void mapFillSize(StyleResolverState&, FillLayer*, CSSValue*); | 50 static void mapFillSize(StyleResolverState&, FillLayer*, CSSValue); |
| 50 static void mapFillXPosition(StyleResolverState&, FillLayer*, CSSValue*); | 51 static void mapFillXPosition(StyleResolverState&, FillLayer*, CSSValue); |
| 51 static void mapFillYPosition(StyleResolverState&, FillLayer*, CSSValue*); | 52 static void mapFillYPosition(StyleResolverState&, FillLayer*, CSSValue); |
| 52 static void mapFillMaskSourceType(StyleResolverState&, FillLayer*, CSSValue*
); | 53 static void mapFillMaskSourceType(StyleResolverState&, FillLayer*, CSSValue)
; |
| 53 | 54 |
| 54 static double mapAnimationDelay(CSSValue*); | 55 static double mapAnimationDelay(CSSValue); |
| 55 static Timing::PlaybackDirection mapAnimationDirection(CSSValue*); | 56 static Timing::PlaybackDirection mapAnimationDirection(CSSValue); |
| 56 static double mapAnimationDuration(CSSValue*); | 57 static double mapAnimationDuration(CSSValue); |
| 57 static Timing::FillMode mapAnimationFillMode(CSSValue*); | 58 static Timing::FillMode mapAnimationFillMode(CSSValue); |
| 58 static double mapAnimationIterationCount(CSSValue*); | 59 static double mapAnimationIterationCount(CSSValue); |
| 59 static AtomicString mapAnimationName(CSSValue*); | 60 static AtomicString mapAnimationName(CSSValue); |
| 60 static EAnimPlayState mapAnimationPlayState(CSSValue*); | 61 static EAnimPlayState mapAnimationPlayState(CSSValue); |
| 61 static CSSTransitionData::TransitionProperty mapAnimationProperty(CSSValue*)
; | 62 static CSSTransitionData::TransitionProperty mapAnimationProperty(CSSValue); |
| 62 static PassRefPtr<TimingFunction> mapAnimationTimingFunction(CSSValue*, bool
allowStepMiddle = false); | 63 static PassRefPtr<TimingFunction> mapAnimationTimingFunction(CSSValue, bool
allowStepMiddle = false); |
| 63 | 64 |
| 64 static void mapNinePieceImage(StyleResolverState&, CSSPropertyID, CSSValue*,
NinePieceImage&); | 65 static void mapNinePieceImage(StyleResolverState&, CSSPropertyID, NullableCS
SValue, NinePieceImage&); |
| 65 static void mapNinePieceImageSlice(StyleResolverState&, CSSValue*, NinePiece
Image&); | 66 static void mapNinePieceImageSlice(StyleResolverState&, NullableCSSValue, Ni
nePieceImage&); |
| 66 static BorderImageLengthBox mapNinePieceImageQuad(StyleResolverState&, CSSVa
lue*); | 67 static BorderImageLengthBox mapNinePieceImageQuad(StyleResolverState&, Nulla
bleCSSValue); |
| 67 static void mapNinePieceImageRepeat(StyleResolverState&, CSSValue*, NinePiec
eImage&); | 68 static void mapNinePieceImageRepeat(StyleResolverState&, NullableCSSValue, N
inePieceImage&); |
| 68 }; | 69 }; |
| 69 | 70 |
| 70 } | 71 } |
| 71 | 72 |
| 72 #endif | 73 #endif |
| OLD | NEW |