| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "core/CSSValueKeywords.h" | 30 #include "core/CSSValueKeywords.h" |
| 31 #include "core/css/CSSIdentifierValue.h" | 31 #include "core/css/CSSIdentifierValue.h" |
| 32 #include "core/css/CSSToLengthConversionData.h" | 32 #include "core/css/CSSToLengthConversionData.h" |
| 33 #include "core/css/StylePropertySet.h" | 33 #include "core/css/StylePropertySet.h" |
| 34 #include "core/css/parser/CSSParser.h" | 34 #include "core/css/parser/CSSParser.h" |
| 35 #include "core/css/resolver/TransformBuilder.h" | 35 #include "core/css/resolver/TransformBuilder.h" |
| 36 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
| 37 #include "core/frame/UseCounter.h" | 37 #include "core/frame/UseCounter.h" |
| 38 #include "core/layout/api/LayoutViewItem.h" | 38 #include "core/layout/api/LayoutViewItem.h" |
| 39 #include "core/style/ComputedStyle.h" | 39 #include "core/style/ComputedStyle.h" |
| 40 #include "core/style/StyleInheritedData.h" | |
| 41 #include "platform/wtf/MathExtras.h" | 40 #include "platform/wtf/MathExtras.h" |
| 42 | 41 |
| 43 namespace blink { | 42 namespace blink { |
| 44 | 43 |
| 45 CSSMatrix* CSSMatrix::Create(ExecutionContext* execution_context, | 44 CSSMatrix* CSSMatrix::Create(ExecutionContext* execution_context, |
| 46 const String& s, | 45 const String& s, |
| 47 ExceptionState& exception_state) { | 46 ExceptionState& exception_state) { |
| 48 UseCounter::Count(execution_context, UseCounter::kWebKitCSSMatrix); | 47 UseCounter::Count(execution_context, UseCounter::kWebKitCSSMatrix); |
| 49 if (!s.IsEmpty()) { | 48 if (!s.IsEmpty()) { |
| 50 UseCounter::Count(execution_context, | 49 UseCounter::Count(execution_context, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 return String::Format( | 199 return String::Format( |
| 201 "matrix3d(%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, " | 200 "matrix3d(%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, " |
| 202 "%f)", | 201 "%f)", |
| 203 matrix_->M11(), matrix_->M12(), matrix_->M13(), matrix_->M14(), | 202 matrix_->M11(), matrix_->M12(), matrix_->M13(), matrix_->M14(), |
| 204 matrix_->M21(), matrix_->M22(), matrix_->M23(), matrix_->M24(), | 203 matrix_->M21(), matrix_->M22(), matrix_->M23(), matrix_->M24(), |
| 205 matrix_->M31(), matrix_->M32(), matrix_->M33(), matrix_->M34(), | 204 matrix_->M31(), matrix_->M32(), matrix_->M33(), matrix_->M34(), |
| 206 matrix_->M41(), matrix_->M42(), matrix_->M43(), matrix_->M44()); | 205 matrix_->M41(), matrix_->M42(), matrix_->M43(), matrix_->M44()); |
| 207 } | 206 } |
| 208 | 207 |
| 209 } // namespace blink | 208 } // namespace blink |
| OLD | NEW |