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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h

Issue 1855213002: Add DataPersistent<> for copy-on-modify and use for StyleFilterData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: indirectly allocate Persistent<> 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 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 13 matching lines...) Expand all
24 24
25 #ifndef StyleRareNonInheritedData_h 25 #ifndef StyleRareNonInheritedData_h
26 #define StyleRareNonInheritedData_h 26 #define StyleRareNonInheritedData_h
27 27
28 #include "core/CoreExport.h" 28 #include "core/CoreExport.h"
29 #include "core/css/StyleColor.h" 29 #include "core/css/StyleColor.h"
30 #include "core/layout/ClipPathOperation.h" 30 #include "core/layout/ClipPathOperation.h"
31 #include "core/style/BasicShapes.h" 31 #include "core/style/BasicShapes.h"
32 #include "core/style/CounterDirectives.h" 32 #include "core/style/CounterDirectives.h"
33 #include "core/style/CursorData.h" 33 #include "core/style/CursorData.h"
34 #include "core/style/DataPersistent.h"
34 #include "core/style/DataRef.h" 35 #include "core/style/DataRef.h"
35 #include "core/style/FillLayer.h" 36 #include "core/style/FillLayer.h"
36 #include "core/style/ComputedStyleConstants.h" 37 #include "core/style/ComputedStyleConstants.h"
37 #include "core/style/LineClampValue.h" 38 #include "core/style/LineClampValue.h"
38 #include "core/style/NinePieceImage.h" 39 #include "core/style/NinePieceImage.h"
39 #include "core/style/ShapeValue.h" 40 #include "core/style/ShapeValue.h"
40 #include "core/style/StyleContentAlignmentData.h" 41 #include "core/style/StyleContentAlignmentData.h"
41 #include "core/style/StyleScrollSnapData.h" 42 #include "core/style/StyleScrollSnapData.h"
42 #include "core/style/StyleSelfAlignmentData.h" 43 #include "core/style/StyleSelfAlignmentData.h"
43 #include "platform/LengthPoint.h" 44 #include "platform/LengthPoint.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 110
110 LineClampValue lineClamp; // An Apple extension. 111 LineClampValue lineClamp; // An Apple extension.
111 DraggableRegionMode m_draggableRegionMode; 112 DraggableRegionMode m_draggableRegionMode;
112 113
113 DataRef<StyleDeprecatedFlexibleBoxData> m_deprecatedFlexibleBox; // Flexible box properties 114 DataRef<StyleDeprecatedFlexibleBoxData> m_deprecatedFlexibleBox; // Flexible box properties
114 DataRef<StyleFlexibleBoxData> m_flexibleBox; 115 DataRef<StyleFlexibleBoxData> m_flexibleBox;
115 DataRef<StyleMultiColData> m_multiCol; // CSS3 multicol properties 116 DataRef<StyleMultiColData> m_multiCol; // CSS3 multicol properties
116 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, sc ale, skew, etc.) 117 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, sc ale, skew, etc.)
117 DataRef<StyleWillChangeData> m_willChange; // CSS Will Change 118 DataRef<StyleWillChangeData> m_willChange; // CSS Will Change
118 119
119 DataRef<StyleFilterData> m_filter; // Filter operations (url, sepia, blur, e tc.) 120 DataPersistent<StyleFilterData> m_filter; // Filter operations (url, sepia, blur, etc.)
120 DataRef<StyleFilterData> m_backdropFilter; // Backdrop filter operations (ur l, sepia, blur, etc.) 121 DataPersistent<StyleFilterData> m_backdropFilter; // Backdrop filter operati ons (url, sepia, blur, etc.)
121 122
122 DataRef<StyleGridData> m_grid; 123 DataRef<StyleGridData> m_grid;
123 DataRef<StyleGridItemData> m_gridItem; 124 DataRef<StyleGridItemData> m_gridItem;
124 DataRef<StyleScrollSnapData> m_scrollSnap; 125 DataRef<StyleScrollSnapData> m_scrollSnap;
125 126
126 Persistent<ContentData> m_content; 127 Persistent<ContentData> m_content;
127 OwnPtr<CounterDirectiveMap> m_counterDirectives; 128 OwnPtr<CounterDirectiveMap> m_counterDirectives;
128 OwnPtr<CSSAnimationData> m_animations; 129 OwnPtr<CSSAnimationData> m_animations;
129 OwnPtr<CSSTransitionData> m_transitions; 130 OwnPtr<CSSTransitionData> m_transitions;
130 131
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border. 215 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border.
215 216
216 private: 217 private:
217 StyleRareNonInheritedData(); 218 StyleRareNonInheritedData();
218 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 219 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
219 }; 220 };
220 221
221 } // namespace blink 222 } // namespace blink
222 223
223 #endif // StyleRareNonInheritedData_h 224 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698