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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/TransformComponent.h

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef TransformComponent_h 5 #ifndef TransformComponent_h
6 #define TransformComponent_h 6 #define TransformComponent_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/css/CSSFunctionValue.h" 10 #include "core/css/CSSFunctionValue.h"
(...skipping 24 matching lines...) Expand all
35 && transformType != Rotation3DType 35 && transformType != Rotation3DType
36 && transformType != Scale3DType 36 && transformType != Scale3DType
37 && transformType != Translation3DType; 37 && transformType != Translation3DType;
38 } 38 }
39 39
40 String cssString() const 40 String cssString() const
41 { 41 {
42 return toCSSValue()->cssText(); 42 return toCSSValue()->cssText();
43 } 43 }
44 44
45 virtual RawPtr<CSSFunctionValue> toCSSValue() const = 0; 45 virtual CSSFunctionValue* toCSSValue() const = 0;
46 virtual MatrixTransformComponent* asMatrix() const = 0; 46 virtual MatrixTransformComponent* asMatrix() const = 0;
47 47
48 DEFINE_INLINE_VIRTUAL_TRACE() { } 48 DEFINE_INLINE_VIRTUAL_TRACE() { }
49 49
50 protected: 50 protected:
51 TransformComponent() { } 51 TransformComponent() { }
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif 56 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/StyleValue.h ('k') | third_party/WebKit/Source/core/css/cssom/TransformValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698