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

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

Issue 1919813002: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
5 * Copyright (C) 2016 Samsung Electronics. All rights reserved.
fs 2016/05/18 15:55:06 Ditto.
4 * 6 *
5 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
9 * 11 *
10 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 15 * Library General Public License for more details.
(...skipping 19 matching lines...) Expand all
33 35
34 class SameSizeStyleRareNonInheritedData : public RefCounted<StyleRareNonInherite dData> { 36 class SameSizeStyleRareNonInheritedData : public RefCounted<StyleRareNonInherite dData> {
35 public: 37 public:
36 float floats[3]; 38 float floats[3];
37 int integers; 39 int integers;
38 40
39 LengthPoint lengthPoints[2]; 41 LengthPoint lengthPoints[2];
40 LineClampValue lineClamps; 42 LineClampValue lineClamps;
41 DraggableRegionMode draggableRegions; 43 DraggableRegionMode draggableRegions;
42 44
43 void* dataRefs[10]; 45 void* dataRefs[11];
44 void* ownPtrs[4]; 46 void* ownPtrs[4];
45 #if ENABLE(OILPAN) 47 #if ENABLE(OILPAN)
46 Persistent<void*> persistentHandles[2]; 48 Persistent<void*> persistentHandles[2];
47 void* refPtrs[2]; 49 void* refPtrs[2];
48 #else 50 #else
49 void* refPtrs[4]; 51 void* refPtrs[4];
50 #endif 52 #endif
51 53
52 FillLayer fillLayers; 54 FillLayer fillLayers;
53 NinePieceImage ninePieces; 55 NinePieceImage ninePieces;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 , m_deprecatedFlexibleBox(o.m_deprecatedFlexibleBox) 145 , m_deprecatedFlexibleBox(o.m_deprecatedFlexibleBox)
144 , m_flexibleBox(o.m_flexibleBox) 146 , m_flexibleBox(o.m_flexibleBox)
145 , m_multiCol(o.m_multiCol) 147 , m_multiCol(o.m_multiCol)
146 , m_transform(o.m_transform) 148 , m_transform(o.m_transform)
147 , m_willChange(o.m_willChange) 149 , m_willChange(o.m_willChange)
148 , m_filter(o.m_filter) 150 , m_filter(o.m_filter)
149 , m_backdropFilter(o.m_backdropFilter) 151 , m_backdropFilter(o.m_backdropFilter)
150 , m_grid(o.m_grid) 152 , m_grid(o.m_grid)
151 , m_gridItem(o.m_gridItem) 153 , m_gridItem(o.m_gridItem)
152 , m_scrollSnap(o.m_scrollSnap) 154 , m_scrollSnap(o.m_scrollSnap)
155 , m_navigation(o.m_navigation)
153 , m_content(o.m_content ? o.m_content->clone() : nullptr) 156 , m_content(o.m_content ? o.m_content->clone() : nullptr)
154 , m_counterDirectives(o.m_counterDirectives ? clone(*o.m_counterDirectives) : nullptr) 157 , m_counterDirectives(o.m_counterDirectives ? clone(*o.m_counterDirectives) : nullptr)
155 , m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) : nullptr) 158 , m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) : nullptr)
156 , m_transitions(o.m_transitions ? CSSTransitionData::create(*o.m_transitions ) : nullptr) 159 , m_transitions(o.m_transitions ? CSSTransitionData::create(*o.m_transitions ) : nullptr)
157 , m_boxShadow(o.m_boxShadow) 160 , m_boxShadow(o.m_boxShadow)
158 , m_boxReflect(o.m_boxReflect) 161 , m_boxReflect(o.m_boxReflect)
159 , m_shapeOutside(o.m_shapeOutside) 162 , m_shapeOutside(o.m_shapeOutside)
160 , m_clipPath(o.m_clipPath) 163 , m_clipPath(o.m_clipPath)
161 , m_mask(o.m_mask) 164 , m_mask(o.m_mask)
162 , m_maskBoxImage(o.m_maskBoxImage) 165 , m_maskBoxImage(o.m_maskBoxImage)
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 && m_deprecatedFlexibleBox == o.m_deprecatedFlexibleBox 240 && m_deprecatedFlexibleBox == o.m_deprecatedFlexibleBox
238 && m_flexibleBox == o.m_flexibleBox 241 && m_flexibleBox == o.m_flexibleBox
239 && m_multiCol == o.m_multiCol 242 && m_multiCol == o.m_multiCol
240 && m_transform == o.m_transform 243 && m_transform == o.m_transform
241 && m_willChange == o.m_willChange 244 && m_willChange == o.m_willChange
242 && m_filter == o.m_filter 245 && m_filter == o.m_filter
243 && m_backdropFilter == o.m_backdropFilter 246 && m_backdropFilter == o.m_backdropFilter
244 && m_grid == o.m_grid 247 && m_grid == o.m_grid
245 && m_gridItem == o.m_gridItem 248 && m_gridItem == o.m_gridItem
246 && m_scrollSnap == o.m_scrollSnap 249 && m_scrollSnap == o.m_scrollSnap
250 && m_navigation == o.m_navigation
247 && contentDataEquivalent(o) 251 && contentDataEquivalent(o)
248 && counterDataEquivalent(o) 252 && counterDataEquivalent(o)
249 && shadowDataEquivalent(o) 253 && shadowDataEquivalent(o)
250 && reflectionDataEquivalent(o) 254 && reflectionDataEquivalent(o)
251 && animationDataEquivalent(o) 255 && animationDataEquivalent(o)
252 && transitionDataEquivalent(o) 256 && transitionDataEquivalent(o)
253 && shapeOutsideDataEquivalent(o) 257 && shapeOutsideDataEquivalent(o)
254 && m_mask == o.m_mask 258 && m_mask == o.m_mask
255 && m_maskBoxImage == o.m_maskBoxImage 259 && m_maskBoxImage == o.m_maskBoxImage
256 && m_pageSize == o.m_pageSize 260 && m_pageSize == o.m_pageSize
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 { 365 {
362 return dataEquivalent(m_shapeOutside, o.m_shapeOutside); 366 return dataEquivalent(m_shapeOutside, o.m_shapeOutside);
363 } 367 }
364 368
365 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const 369 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const
366 { 370 {
367 return dataEquivalent(m_clipPath, o.m_clipPath); 371 return dataEquivalent(m_clipPath, o.m_clipPath);
368 } 372 }
369 373
370 } // namespace blink 374 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698