Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 32 #define TransformBuilder_h | 32 #define TransformBuilder_h |
| 33 | 33 |
| 34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "platform/transforms/TransformOperations.h" | 35 #include "platform/transforms/TransformOperations.h" |
| 36 #include "wtf/Noncopyable.h" | 36 #include "wtf/Noncopyable.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class CSSToLengthConversionData; | 40 class CSSToLengthConversionData; |
| 41 class CSSValue; | 41 class CSSValue; |
| 42 class CSSValueList; | |
| 42 | 43 |
| 43 class TransformBuilder { | 44 class TransformBuilder { |
| 44 STATIC_ONLY(TransformBuilder); | 45 STATIC_ONLY(TransformBuilder); |
| 45 | 46 |
| 46 public: | 47 public: |
| 48 static bool hasRelativeLengths(const CSSValueList& inValueList); | |
|
Timothy Loh
2016/10/19 02:59:08
inValueList is a weird name, I'd just call it valu
Hwanseung Lee
2016/10/22 14:44:56
Done.
| |
| 47 static void createTransformOperations(const CSSValue& inValue, | 49 static void createTransformOperations(const CSSValue& inValue, |
| 48 const CSSToLengthConversionData&, | 50 const CSSToLengthConversionData&, |
| 49 TransformOperations& outOperations); | 51 TransformOperations& outOperations); |
| 50 }; | 52 }; |
| 51 | 53 |
| 52 } // namespace blink | 54 } // namespace blink |
| 53 | 55 |
| 54 #endif // TransformBuilder_h | 56 #endif // TransformBuilder_h |
| OLD | NEW |