| 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 20 matching lines...) Expand all Loading... |
| 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" | 40 #include "core/style/StyleInheritedData.h" |
| 41 #include "wtf/MathExtras.h" | 41 #include "platform/wtf/MathExtras.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 CSSMatrix* CSSMatrix::Create(ExecutionContext* execution_context, | 45 CSSMatrix* CSSMatrix::Create(ExecutionContext* execution_context, |
| 46 const String& s, | 46 const String& s, |
| 47 ExceptionState& exception_state) { | 47 ExceptionState& exception_state) { |
| 48 UseCounter::Count(execution_context, UseCounter::kWebKitCSSMatrix); | 48 UseCounter::Count(execution_context, UseCounter::kWebKitCSSMatrix); |
| 49 if (!s.IsEmpty()) { | 49 if (!s.IsEmpty()) { |
| 50 UseCounter::Count(execution_context, | 50 UseCounter::Count(execution_context, |
| 51 UseCounter::kWebkitCSSMatrixConstructFromString); | 51 UseCounter::kWebkitCSSMatrixConstructFromString); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 return String::Format( | 200 return String::Format( |
| 201 "matrix3d(%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, " | 201 "matrix3d(%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, " |
| 202 "%f)", | 202 "%f)", |
| 203 matrix_->M11(), matrix_->M12(), matrix_->M13(), matrix_->M14(), | 203 matrix_->M11(), matrix_->M12(), matrix_->M13(), matrix_->M14(), |
| 204 matrix_->M21(), matrix_->M22(), matrix_->M23(), matrix_->M24(), | 204 matrix_->M21(), matrix_->M22(), matrix_->M23(), matrix_->M24(), |
| 205 matrix_->M31(), matrix_->M32(), matrix_->M33(), matrix_->M34(), | 205 matrix_->M31(), matrix_->M32(), matrix_->M33(), matrix_->M34(), |
| 206 matrix_->M41(), matrix_->M42(), matrix_->M43(), matrix_->M44()); | 206 matrix_->M41(), matrix_->M42(), matrix_->M43(), matrix_->M44()); |
| 207 } | 207 } |
| 208 | 208 |
| 209 } // namespace blink | 209 } // namespace blink |
| OLD | NEW |