| 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, 2013 Apple Inc. All rights | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 #ifndef NinePieceImage_h | 25 #ifndef NinePieceImage_h |
| 26 #define NinePieceImage_h | 26 #define NinePieceImage_h |
| 27 | 27 |
| 28 #include "core/CoreExport.h" | 28 #include "core/CoreExport.h" |
| 29 #include "core/style/BorderImageLengthBox.h" | 29 #include "core/style/BorderImageLengthBox.h" |
| 30 #include "core/style/DataRef.h" | 30 #include "core/style/DataRef.h" |
| 31 #include "core/style/StyleImage.h" | 31 #include "core/style/StyleImage.h" |
| 32 #include "platform/LayoutUnit.h" | 32 #include "platform/LayoutUnit.h" |
| 33 #include "platform/LengthBox.h" | 33 #include "platform/LengthBox.h" |
| 34 #include "wtf/Allocator.h" | 34 #include "platform/wtf/Allocator.h" |
| 35 #include "wtf/RefCounted.h" | 35 #include "platform/wtf/RefCounted.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 enum ENinePieceImageRule { | 39 enum ENinePieceImageRule { |
| 40 kStretchImageRule, | 40 kStretchImageRule, |
| 41 kRoundImageRule, | 41 kRoundImageRule, |
| 42 kSpaceImageRule, | 42 kSpaceImageRule, |
| 43 kRepeatImageRule | 43 kRepeatImageRule |
| 44 }; | 44 }; |
| 45 | 45 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 return LayoutUnit(outset_side.length().Value()); | 157 return LayoutUnit(outset_side.length().Value()); |
| 158 } | 158 } |
| 159 | 159 |
| 160 private: | 160 private: |
| 161 DataRef<NinePieceImageData> data_; | 161 DataRef<NinePieceImageData> data_; |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 } // namespace blink | 164 } // namespace blink |
| 165 | 165 |
| 166 #endif // NinePieceImage_h | 166 #endif // NinePieceImage_h |
| OLD | NEW |