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: Source/core/css/CSSProperty.cpp

Issue 15012010: Remove the CSS_COMPOSITING define, leaving the implementation under the runtime flag, since runtime… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed bogus test Created 7 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
« no previous file with comments | « Source/core/css/CSSParser.cpp ('k') | Source/core/css/CSSPropertyNames.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 case CSSPropertyShapeRendering: 364 case CSSPropertyShapeRendering:
365 case CSSPropertyTextAnchor: 365 case CSSPropertyTextAnchor:
366 case CSSPropertyWritingMode: 366 case CSSPropertyWritingMode:
367 #endif 367 #endif
368 case CSSPropertyWebkitTapHighlightColor: 368 case CSSPropertyWebkitTapHighlightColor:
369 return true; 369 return true;
370 case CSSPropertyDisplay: 370 case CSSPropertyDisplay:
371 case CSSPropertyZoom: 371 case CSSPropertyZoom:
372 case CSSPropertyBackground: 372 case CSSPropertyBackground:
373 case CSSPropertyBackgroundAttachment: 373 case CSSPropertyBackgroundAttachment:
374 #if ENABLE(CSS_COMPOSITING)
375 case CSSPropertyBackgroundBlendMode: 374 case CSSPropertyBackgroundBlendMode:
376 #endif
377 case CSSPropertyBackgroundClip: 375 case CSSPropertyBackgroundClip:
378 case CSSPropertyBackgroundColor: 376 case CSSPropertyBackgroundColor:
379 case CSSPropertyBackgroundImage: 377 case CSSPropertyBackgroundImage:
380 case CSSPropertyBackgroundOrigin: 378 case CSSPropertyBackgroundOrigin:
381 case CSSPropertyBackgroundPosition: 379 case CSSPropertyBackgroundPosition:
382 case CSSPropertyBackgroundPositionX: 380 case CSSPropertyBackgroundPositionX:
383 case CSSPropertyBackgroundPositionY: 381 case CSSPropertyBackgroundPositionY:
384 case CSSPropertyBackgroundRepeat: 382 case CSSPropertyBackgroundRepeat:
385 case CSSPropertyBackgroundRepeatX: 383 case CSSPropertyBackgroundRepeatX:
386 case CSSPropertyBackgroundRepeatY: 384 case CSSPropertyBackgroundRepeatY:
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 case CSSPropertyLeft: 428 case CSSPropertyLeft:
431 case CSSPropertyMargin: 429 case CSSPropertyMargin:
432 case CSSPropertyMarginBottom: 430 case CSSPropertyMarginBottom:
433 case CSSPropertyMarginLeft: 431 case CSSPropertyMarginLeft:
434 case CSSPropertyMarginRight: 432 case CSSPropertyMarginRight:
435 case CSSPropertyMarginTop: 433 case CSSPropertyMarginTop:
436 case CSSPropertyMaxHeight: 434 case CSSPropertyMaxHeight:
437 case CSSPropertyMaxWidth: 435 case CSSPropertyMaxWidth:
438 case CSSPropertyMinHeight: 436 case CSSPropertyMinHeight:
439 case CSSPropertyMinWidth: 437 case CSSPropertyMinWidth:
440 #if ENABLE(CSS_COMPOSITING)
441 case CSSPropertyMixBlendMode: 438 case CSSPropertyMixBlendMode:
442 #endif
443 case CSSPropertyOpacity: 439 case CSSPropertyOpacity:
444 case CSSPropertyOutline: 440 case CSSPropertyOutline:
445 case CSSPropertyOutlineColor: 441 case CSSPropertyOutlineColor:
446 case CSSPropertyOutlineOffset: 442 case CSSPropertyOutlineOffset:
447 case CSSPropertyOutlineStyle: 443 case CSSPropertyOutlineStyle:
448 case CSSPropertyOutlineWidth: 444 case CSSPropertyOutlineWidth:
449 case CSSPropertyOverflow: 445 case CSSPropertyOverflow:
450 case CSSPropertyOverflowWrap: 446 case CSSPropertyOverflowWrap:
451 case CSSPropertyOverflowX: 447 case CSSPropertyOverflowX:
452 case CSSPropertyOverflowY: 448 case CSSPropertyOverflowY:
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 } 684 }
689 685
690 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 686 void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
691 { 687 {
692 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 688 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
693 info.addMember(m_value, "value"); 689 info.addMember(m_value, "value");
694 info.ignoreMember(m_metadata); 690 info.ignoreMember(m_metadata);
695 } 691 }
696 692
697 } // namespace WebCore 693 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/CSSParser.cpp ('k') | Source/core/css/CSSPropertyNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698