Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp

Issue 2741723005: Move geometry interface files to geometry directory. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/dom/DOMMatrixReadOnly.h" 5 #include "core/geometry/DOMMatrixReadOnly.h"
6 6
7 #include "bindings/core/v8/V8ObjectBuilder.h" 7 #include "bindings/core/v8/V8ObjectBuilder.h"
8 #include "core/css/CSSIdentifierValue.h" 8 #include "core/css/CSSIdentifierValue.h"
9 #include "core/css/CSSToLengthConversionData.h" 9 #include "core/css/CSSToLengthConversionData.h"
10 #include "core/css/CSSValueList.h" 10 #include "core/css/CSSValueList.h"
11 #include "core/css/parser/CSSParser.h" 11 #include "core/css/parser/CSSParser.h"
12 #include "core/css/resolver/TransformBuilder.h" 12 #include "core/css/resolver/TransformBuilder.h"
13 #include "core/dom/DOMMatrix.h" 13 #include "core/geometry/DOMMatrix.h"
14 #include "core/dom/DOMMatrixInit.h" 14 #include "core/geometry/DOMMatrixInit.h"
15 #include "core/dom/DOMPoint.h" 15 #include "core/geometry/DOMPoint.h"
16 #include "core/dom/DOMPointInit.h" 16 #include "core/geometry/DOMPointInit.h"
17 #include "core/layout/api/LayoutViewItem.h" 17 #include "core/layout/api/LayoutViewItem.h"
18 #include "core/style/ComputedStyle.h" 18 #include "core/style/ComputedStyle.h"
19 19
20 namespace blink { 20 namespace blink {
21 namespace { 21 namespace {
22 22
23 void setDictionaryMembers(DOMMatrixInit& other) { 23 void setDictionaryMembers(DOMMatrixInit& other) {
24 if (!other.hasM11()) 24 if (!other.hasM11())
25 other.setM11(other.hasA() ? other.a() : 1); 25 other.setM11(other.hasA() ? other.a() : 1);
26 26
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 389
390 m_matrix->makeIdentity(); 390 m_matrix->makeIdentity();
391 operations.apply(FloatSize(0, 0), *m_matrix); 391 operations.apply(FloatSize(0, 0), *m_matrix);
392 392
393 m_is2D = !operations.has3DOperation(); 393 m_is2D = !operations.has3DOperation();
394 394
395 return; 395 return;
396 } 396 }
397 397
398 } // namespace blink 398 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698