| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 return m_next ? m_next->hasImage() : false; | 164 return m_next ? m_next->hasImage() : false; |
| 165 } | 165 } |
| 166 | 166 |
| 167 bool hasFixedImage() const | 167 bool hasFixedImage() const |
| 168 { | 168 { |
| 169 if (m_image && m_attachment == FixedBackgroundAttachment) | 169 if (m_image && m_attachment == FixedBackgroundAttachment) |
| 170 return true; | 170 return true; |
| 171 return m_next ? m_next->hasFixedImage() : false; | 171 return m_next ? m_next->hasFixedImage() : false; |
| 172 } | 172 } |
| 173 | 173 |
| 174 bool hasOpaqueImage(const RenderObject*) const; | 174 bool hasOpaqueImage(const LayoutObject*) const; |
| 175 bool hasRepeatXY() const; | 175 bool hasRepeatXY() const; |
| 176 bool clipOccludesNextLayers(bool firstLayer) const; | 176 bool clipOccludesNextLayers(bool firstLayer) const; |
| 177 | 177 |
| 178 EFillLayerType type() const { return static_cast<EFillLayerType>(m_type); } | 178 EFillLayerType type() const { return static_cast<EFillLayerType>(m_type); } |
| 179 | 179 |
| 180 void fillUnsetProperties(); | 180 void fillUnsetProperties(); |
| 181 void cullEmptyLayers(); | 181 void cullEmptyLayers(); |
| 182 | 182 |
| 183 static EFillAttachment initialFillAttachment(EFillLayerType) { return Scroll
BackgroundAttachment; } | 183 static EFillAttachment initialFillAttachment(EFillLayerType) { return Scroll
BackgroundAttachment; } |
| 184 static EFillBox initialFillClip(EFillLayerType) { return BorderFillBox; } | 184 static EFillBox initialFillClip(EFillLayerType) { return BorderFillBox; } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 unsigned m_maskSourceTypeSet : 1; | 238 unsigned m_maskSourceTypeSet : 1; |
| 239 | 239 |
| 240 unsigned m_type : 1; // EFillLayerType | 240 unsigned m_type : 1; // EFillLayerType |
| 241 | 241 |
| 242 mutable unsigned m_clipMax : 2; // EFillBox, maximum m_clip value from this
to bottom layer | 242 mutable unsigned m_clipMax : 2; // EFillBox, maximum m_clip value from this
to bottom layer |
| 243 }; | 243 }; |
| 244 | 244 |
| 245 } // namespace blink | 245 } // namespace blink |
| 246 | 246 |
| 247 #endif // FillLayer_h | 247 #endif // FillLayer_h |
| OLD | NEW |