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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 || opType == Translate3D | 74 || opType == Translate3D |
75 || opType == RotateX | 75 || opType == RotateX |
76 || opType == RotateY | 76 || opType == RotateY |
77 || opType == Rotate3D | 77 || opType == Rotate3D |
78 || opType == Matrix3D | 78 || opType == Matrix3D |
79 || opType == Perspective | 79 || opType == Perspective |
80 || opType == Interpolated; | 80 || opType == Interpolated; |
81 } | 81 } |
82 | 82 |
83 virtual bool dependsOnBoxSize() const { return false; } | 83 virtual bool dependsOnBoxSize() const { return false; } |
84 virtual bool isMatchingOperationType() const { return false; } | |
alancutter (OOO until 2018)
2015/06/25 01:33:10
This should actually be a static method on the sub
soonm
2015/06/26 02:52:34
Yep I see why it doesn't check anything now. Done.
| |
85 | |
84 }; | 86 }; |
85 | 87 |
88 #define DEFINE_TRANSFORM_TYPE_CASTS(thisType, predicate) \ | |
alancutter (OOO until 2018)
2015/06/25 01:33:09
This doesn't need to take a predicate as it will b
soonm
2015/06/26 02:52:34
Done.
| |
89 DEFINE_TYPE_CASTS(thisType, TransformOperation, transform, transform->predic ate, transform.predicate) | |
90 | |
86 } // namespace blink | 91 } // namespace blink |
87 | 92 |
88 #endif // TransformOperation_h | 93 #endif // TransformOperation_h |
OLD | NEW |