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

Side by Side Diff: Source/core/css/CSSPrimitiveValueMappings.h

Issue 13937017: Implement lazy block layout prototype behind a runtime flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Alexey Proskuryakov <ap@nypop.com>. 2 * Copyright (C) 2007 Alexey Proskuryakov <ap@nypop.com>.
3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
5 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> 5 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com>
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 break; 1249 break;
1250 case INLINE_FLEX: 1250 case INLINE_FLEX:
1251 m_value.ident = CSSValueWebkitInlineFlex; 1251 m_value.ident = CSSValueWebkitInlineFlex;
1252 break; 1252 break;
1253 case GRID: 1253 case GRID:
1254 m_value.ident = CSSValueWebkitGrid; 1254 m_value.ident = CSSValueWebkitGrid;
1255 break; 1255 break;
1256 case INLINE_GRID: 1256 case INLINE_GRID:
1257 m_value.ident = CSSValueWebkitInlineGrid; 1257 m_value.ident = CSSValueWebkitInlineGrid;
1258 break; 1258 break;
1259 case LAZY_BLOCK:
1260 m_value.ident = CSSValueLazyBlock;
1261 break;
1259 case NONE: 1262 case NONE:
1260 m_value.ident = CSSValueNone; 1263 m_value.ident = CSSValueNone;
1261 break; 1264 break;
1262 } 1265 }
1263 } 1266 }
1264 1267
1265 template<> inline CSSPrimitiveValue::operator EDisplay() const 1268 template<> inline CSSPrimitiveValue::operator EDisplay() const
1266 { 1269 {
1267 if (m_value.ident == CSSValueNone) 1270 if (m_value.ident == CSSValueNone)
1268 return NONE; 1271 return NONE;
(...skipping 3317 matching lines...) Expand 10 before | Expand all | Expand 10 after
4586 4589
4587 ASSERT_NOT_REACHED(); 4590 ASSERT_NOT_REACHED();
4588 return OriginTopLeft; 4591 return OriginTopLeft;
4589 } 4592 }
4590 4593
4591 #endif // ENABLE(CSS_IMAGE_ORIENTATION) 4594 #endif // ENABLE(CSS_IMAGE_ORIENTATION)
4592 4595
4593 } 4596 }
4594 4597
4595 #endif 4598 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698