| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |    2  * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 
|    3  *           (C) 2000 Antti Koivisto (koivisto@kde.org) |    3  *           (C) 2000 Antti Koivisto (koivisto@kde.org) | 
|    4  *           (C) 2000 Dirk Mueller (mueller@kde.org) |    4  *           (C) 2000 Dirk Mueller (mueller@kde.org) | 
|    5  * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |    5  * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 
|    6  * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |    6  * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 
|    7  * |    7  * | 
|    8  * This library is free software; you can redistribute it and/or |    8  * This library is free software; you can redistribute it and/or | 
|    9  * modify it under the terms of the GNU Library General Public |    9  * modify it under the terms of the GNU Library General Public | 
|   10  * License as published by the Free Software Foundation; either |   10  * License as published by the Free Software Foundation; either | 
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  187     static bool imagesIdentical(const FillLayer*, const FillLayer*); |  187     static bool imagesIdentical(const FillLayer*, const FillLayer*); | 
|  188  |  188  | 
|  189     EFillBox thisOrNextLayersClipMax() const { computeCachedPropertiesIfNeeded()
     ; return static_cast<EFillBox>(m_thisOrNextLayersClipMax); } |  189     EFillBox thisOrNextLayersClipMax() const { computeCachedPropertiesIfNeeded()
     ; return static_cast<EFillBox>(m_thisOrNextLayersClipMax); } | 
|  190     bool thisOrNextLayersUseContentBox() const { computeCachedPropertiesIfNeeded
     (); return m_thisOrNextLayersUseContentBox; } |  190     bool thisOrNextLayersUseContentBox() const { computeCachedPropertiesIfNeeded
     (); return m_thisOrNextLayersUseContentBox; } | 
|  191     bool thisOrNextLayersHaveLocalAttachment() const { computeCachedPropertiesIf
     Needed(); return m_thisOrNextLayersHaveLocalAttachment; } |  191     bool thisOrNextLayersHaveLocalAttachment() const { computeCachedPropertiesIf
     Needed(); return m_thisOrNextLayersHaveLocalAttachment; } | 
|  192     void computeCachedPropertiesIfNeeded() const; |  192     void computeCachedPropertiesIfNeeded() const; | 
|  193  |  193  | 
|  194     static EFillAttachment initialFillAttachment(EFillLayerType) { return Scroll
     BackgroundAttachment; } |  194     static EFillAttachment initialFillAttachment(EFillLayerType) { return Scroll
     BackgroundAttachment; } | 
|  195     static EFillBox initialFillClip(EFillLayerType) { return BorderFillBox; } |  195     static EFillBox initialFillClip(EFillLayerType) { return BorderFillBox; } | 
|  196     static EFillBox initialFillOrigin(EFillLayerType type) { return type == Back
     groundFillLayer ? PaddingFillBox : BorderFillBox; } |  196     static EFillBox initialFillOrigin(EFillLayerType type) { return type == Back
     groundFillLayer ? PaddingFillBox : BorderFillBox; } | 
|  197     static EFillRepeat initialFillRepeatX(EFillLayerType) { return RepeatFill; } |  197     static EFillRepeat initialFillRepeatX(EFillLayerType type) { return type == 
     BackgroundFillLayer ? RepeatFill : NoRepeatFill; } | 
|  198     static EFillRepeat initialFillRepeatY(EFillLayerType) { return RepeatFill; } |  198     static EFillRepeat initialFillRepeatY(EFillLayerType type) { return type == 
     BackgroundFillLayer ? RepeatFill : NoRepeatFill; } | 
|  199     static CompositeOperator initialFillComposite(EFillLayerType) { return Compo
     siteSourceOver; } |  199     static CompositeOperator initialFillComposite(EFillLayerType) { return Compo
     siteSourceOver; } | 
|  200     static WebBlendMode initialFillBlendMode(EFillLayerType) { return WebBlendMo
     deNormal; } |  200     static WebBlendMode initialFillBlendMode(EFillLayerType) { return WebBlendMo
     deNormal; } | 
|  201     static EFillSizeType initialFillSizeType(EFillLayerType) { return SizeLength
     ; } |  201     static EFillSizeType initialFillSizeType(EFillLayerType) { return SizeLength
     ; } | 
|  202     static LengthSize initialFillSizeLength(EFillLayerType) { return LengthSize(
     ); } |  202     static LengthSize initialFillSizeLength(EFillLayerType) { return LengthSize(
     ); } | 
|  203     static FillSize initialFillSize(EFillLayerType type) { return FillSize(initi
     alFillSizeType(type), initialFillSizeLength(type)); } |  203     static FillSize initialFillSize(EFillLayerType type) { return FillSize(initi
     alFillSizeType(type), initialFillSizeLength(type)); } | 
|  204     static Length initialFillXPosition(EFillLayerType) { return Length(0.0, Perc
     ent); } |  204     static Length initialFillXPosition(EFillLayerType) { return Length(0.0, Perc
     ent); } | 
|  205     static Length initialFillYPosition(EFillLayerType) { return Length(0.0, Perc
     ent); } |  205     static Length initialFillYPosition(EFillLayerType) { return Length(0.0, Perc
     ent); } | 
|  206     static StyleImage* initialFillImage(EFillLayerType) { return 0; } |  206     static StyleImage* initialFillImage(EFillLayerType) { return 0; } | 
|  207     static EMaskSourceType initialFillMaskSourceType(EFillLayerType) { return Ma
     skAlpha; } |  207     static EMaskSourceType initialFillMaskSourceType(EFillLayerType) { return Ma
     skAlpha; } | 
|  208  |  208  | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  253  |  253  | 
|  254     mutable unsigned m_thisOrNextLayersClipMax : 2; // EFillBox, maximum m_clip 
     value from this to bottom layer |  254     mutable unsigned m_thisOrNextLayersClipMax : 2; // EFillBox, maximum m_clip 
     value from this to bottom layer | 
|  255     mutable unsigned m_thisOrNextLayersUseContentBox : 1; // True if any of this
      or subsequent layers has content-box clip or origin. |  255     mutable unsigned m_thisOrNextLayersUseContentBox : 1; // True if any of this
      or subsequent layers has content-box clip or origin. | 
|  256     mutable unsigned m_thisOrNextLayersHaveLocalAttachment : 1; // True if any o
     f this or subsequent layers has local attachment. |  256     mutable unsigned m_thisOrNextLayersHaveLocalAttachment : 1; // True if any o
     f this or subsequent layers has local attachment. | 
|  257     mutable unsigned m_cachedPropertiesComputed : 1; // Set once any of the abov
     e is accessed. The layers will be frozen thereafter. |  257     mutable unsigned m_cachedPropertiesComputed : 1; // Set once any of the abov
     e is accessed. The layers will be frozen thereafter. | 
|  258 }; |  258 }; | 
|  259  |  259  | 
|  260 } // namespace blink |  260 } // namespace blink | 
|  261  |  261  | 
|  262 #endif // FillLayer_h |  262 #endif // FillLayer_h | 
| OLD | NEW |