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

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

Issue 2911343002: Make PaintImages a class and implement a Clone() method. (Closed)
Patch Set: Rebase Created 3 years, 6 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 19 matching lines...) Expand all
30 #include "core/css/StyleColor.h" 30 #include "core/css/StyleColor.h"
31 #include "core/style/ClipPathOperation.h" 31 #include "core/style/ClipPathOperation.h"
32 #include "core/style/ComputedStyleConstants.h" 32 #include "core/style/ComputedStyleConstants.h"
33 #include "core/style/CounterDirectives.h" 33 #include "core/style/CounterDirectives.h"
34 #include "core/style/DataPersistent.h" 34 #include "core/style/DataPersistent.h"
35 #include "core/style/DataRef.h" 35 #include "core/style/DataRef.h"
36 #include "core/style/FillLayer.h" 36 #include "core/style/FillLayer.h"
37 #include "core/style/LineClampValue.h" 37 #include "core/style/LineClampValue.h"
38 #include "core/style/NinePieceImage.h" 38 #include "core/style/NinePieceImage.h"
39 #include "core/style/OutlineValue.h" 39 #include "core/style/OutlineValue.h"
40 #include "core/style/PaintImages.h"
40 #include "core/style/ShapeValue.h" 41 #include "core/style/ShapeValue.h"
41 #include "core/style/StyleContentAlignmentData.h" 42 #include "core/style/StyleContentAlignmentData.h"
42 #include "core/style/StyleScrollSnapData.h" 43 #include "core/style/StyleScrollSnapData.h"
43 #include "core/style/StyleSelfAlignmentData.h" 44 #include "core/style/StyleSelfAlignmentData.h"
44 #include "platform/LengthPoint.h" 45 #include "platform/LengthPoint.h"
45 #include "platform/graphics/TouchAction.h" 46 #include "platform/graphics/TouchAction.h"
46 #include "platform/wtf/PassRefPtr.h" 47 #include "platform/wtf/PassRefPtr.h"
47 #include "platform/wtf/RefCounted.h" 48 #include "platform/wtf/RefCounted.h"
48 #include "platform/wtf/Vector.h" 49 #include "platform/wtf/Vector.h"
49 50
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 StyleColor visited_link_text_decoration_color_; 141 StyleColor visited_link_text_decoration_color_;
141 StyleColor visited_link_background_color_; 142 StyleColor visited_link_background_color_;
142 StyleColor visited_link_outline_color_; 143 StyleColor visited_link_outline_color_;
143 StyleColor visited_link_border_left_color_; 144 StyleColor visited_link_border_left_color_;
144 StyleColor visited_link_border_right_color_; 145 StyleColor visited_link_border_right_color_;
145 StyleColor visited_link_border_top_color_; 146 StyleColor visited_link_border_top_color_;
146 StyleColor visited_link_border_bottom_color_; 147 StyleColor visited_link_border_bottom_color_;
147 148
148 Vector<String> callback_selectors_; 149 Vector<String> callback_selectors_;
149 150
150 std::unique_ptr<Vector<Persistent<StyleImage>>> paint_images_; 151 std::unique_ptr<PaintImages> paint_images_;
151 152
152 std::unique_ptr<StyleNonInheritedVariables> variables_; 153 std::unique_ptr<StyleNonInheritedVariables> variables_;
153 154
154 StyleContentAlignmentData align_content_; 155 StyleContentAlignmentData align_content_;
155 StyleSelfAlignmentData align_items_; 156 StyleSelfAlignmentData align_items_;
156 StyleSelfAlignmentData align_self_; 157 StyleSelfAlignmentData align_self_;
157 StyleContentAlignmentData justify_content_; 158 StyleContentAlignmentData justify_content_;
158 StyleSelfAlignmentData justify_items_; 159 StyleSelfAlignmentData justify_items_;
159 StyleSelfAlignmentData justify_self_; 160 StyleSelfAlignmentData justify_self_;
160 161
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 unsigned has_author_border_ : 1; // Whether there is a author-defined border. 219 unsigned has_author_border_ : 1; // Whether there is a author-defined border.
219 220
220 private: 221 private:
221 StyleRareNonInheritedData(); 222 StyleRareNonInheritedData();
222 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 223 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
223 }; 224 };
224 225
225 } // namespace blink 226 } // namespace blink
226 227
227 #endif // StyleRareNonInheritedData_h 228 #endif // StyleRareNonInheritedData_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/PaintImages.h ('k') | third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698