| 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 12 matching lines...) Expand all Loading... |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #ifndef TransformOperation_h | 25 #ifndef TransformOperation_h |
| 26 #define TransformOperation_h | 26 #define TransformOperation_h |
| 27 | 27 |
| 28 #include "platform/geometry/FloatSize.h" | 28 #include "platform/geometry/FloatSize.h" |
| 29 #include "platform/transforms/TransformationMatrix.h" | 29 #include "platform/transforms/TransformationMatrix.h" |
| 30 #include "wtf/PassRefPtr.h" | 30 #include "wtf/PassRefPtr.h" |
| 31 #include "wtf/RefCounted.h" | 31 #include "wtf/RefCounted.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace blink { |
| 34 | 34 |
| 35 // CSS Transforms (may become part of CSS3) | 35 // CSS Transforms (may become part of CSS3) |
| 36 | 36 |
| 37 class PLATFORM_EXPORT TransformOperation : public RefCounted<TransformOperation>
{ | 37 class PLATFORM_EXPORT TransformOperation : public RefCounted<TransformOperation>
{ |
| 38 public: | 38 public: |
| 39 enum OperationType { | 39 enum OperationType { |
| 40 ScaleX, ScaleY, Scale, | 40 ScaleX, ScaleY, Scale, |
| 41 TranslateX, TranslateY, Translate, | 41 TranslateX, TranslateY, Translate, |
| 42 Rotate, | 42 Rotate, |
| 43 RotateZ = Rotate, | 43 RotateZ = Rotate, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 || opType == RotateY | 78 || opType == RotateY |
| 79 || opType == Rotate3D | 79 || opType == Rotate3D |
| 80 || opType == Matrix3D | 80 || opType == Matrix3D |
| 81 || opType == Perspective | 81 || opType == Perspective |
| 82 || opType == Interpolated; | 82 || opType == Interpolated; |
| 83 } | 83 } |
| 84 | 84 |
| 85 virtual bool dependsOnBoxSize() const { return false; } | 85 virtual bool dependsOnBoxSize() const { return false; } |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace WebCore | 88 } // namespace blink |
| 89 | 89 |
| 90 #endif // TransformOperation_h | 90 #endif // TransformOperation_h |
| OLD | NEW |