| 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 10 matching lines...) Expand all Loading... |
| 21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
| 22 * | 22 * |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #ifndef StyleReflection_h | 25 #ifndef StyleReflection_h |
| 26 #define StyleReflection_h | 26 #define StyleReflection_h |
| 27 | 27 |
| 28 #include "core/css/CSSReflectionDirection.h" | 28 #include "core/css/CSSReflectionDirection.h" |
| 29 #include "core/style/NinePieceImage.h" | 29 #include "core/style/NinePieceImage.h" |
| 30 #include "platform/Length.h" | 30 #include "platform/Length.h" |
| 31 #include "wtf/RefCounted.h" | 31 #include "platform/wtf/RefCounted.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class StyleReflection : public RefCounted<StyleReflection> { | 35 class StyleReflection : public RefCounted<StyleReflection> { |
| 36 public: | 36 public: |
| 37 static PassRefPtr<StyleReflection> Create() { | 37 static PassRefPtr<StyleReflection> Create() { |
| 38 return AdoptRef(new StyleReflection); | 38 return AdoptRef(new StyleReflection); |
| 39 } | 39 } |
| 40 | 40 |
| 41 bool operator==(const StyleReflection& o) const { | 41 bool operator==(const StyleReflection& o) const { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 58 } | 58 } |
| 59 | 59 |
| 60 CSSReflectionDirection direction_; | 60 CSSReflectionDirection direction_; |
| 61 Length offset_; | 61 Length offset_; |
| 62 NinePieceImage mask_; | 62 NinePieceImage mask_; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace blink | 65 } // namespace blink |
| 66 | 66 |
| 67 #endif // StyleReflection_h | 67 #endif // StyleReflection_h |
| OLD | NEW |