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

Side by Side Diff: Source/core/frame/UseCounter.cpp

Issue 216793009: Remove shape-padding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove m_padding Created 6 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 /* 2 /*
3 * Copyright (C) 2012 Google, Inc. All rights reserved. 3 * Copyright (C) 2012 Google, Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 case CSSPropertyWebkitUserSelect: return 339; 388 case CSSPropertyWebkitUserSelect: return 339;
389 // case CSSPropertyWebkitFlowInto: return 340; 389 // case CSSPropertyWebkitFlowInto: return 340;
390 // case CSSPropertyWebkitFlowFrom: return 341; 390 // case CSSPropertyWebkitFlowFrom: return 341;
391 // case CSSPropertyWebkitRegionFragment: return 342; 391 // case CSSPropertyWebkitRegionFragment: return 342;
392 // case CSSPropertyWebkitRegionBreakAfter: return 343; 392 // case CSSPropertyWebkitRegionBreakAfter: return 343;
393 // case CSSPropertyWebkitRegionBreakBefore: return 344; 393 // case CSSPropertyWebkitRegionBreakBefore: return 344;
394 // case CSSPropertyWebkitRegionBreakInside: return 345; 394 // case CSSPropertyWebkitRegionBreakInside: return 345;
395 // case CSSPropertyShapeInside: return 346; 395 // case CSSPropertyShapeInside: return 346;
396 case CSSPropertyShapeOutside: return 347; 396 case CSSPropertyShapeOutside: return 347;
397 case CSSPropertyShapeMargin: return 348; 397 case CSSPropertyShapeMargin: return 348;
398 case CSSPropertyShapePadding: return 349; 398 // case CSSPropertyShapePadding: return 349;
399 case CSSPropertyWebkitWrapFlow: return 350; 399 case CSSPropertyWebkitWrapFlow: return 350;
400 case CSSPropertyWebkitWrapThrough: return 351; 400 case CSSPropertyWebkitWrapThrough: return 351;
401 // CSSPropertyWebkitWrap was 352. 401 // CSSPropertyWebkitWrap was 352.
402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS 402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
403 case CSSPropertyWebkitTapHighlightColor: return 353; 403 case CSSPropertyWebkitTapHighlightColor: return 353;
404 #endif 404 #endif
405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION 405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION
406 case CSSPropertyWebkitAppRegion: return 354; 406 case CSSPropertyWebkitAppRegion: return 354;
407 #endif 407 #endif
408 case CSSPropertyClipPath: return 355; 408 case CSSPropertyClipPath: return 355;
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 748 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
749 { 749 {
750 // FIXME: We may want to handle stylesheets that have multiple owners 750 // FIXME: We may want to handle stylesheets that have multiple owners
751 // http://crbug.com/242125 751 // http://crbug.com/242125
752 if (sheetContents && sheetContents->hasSingleOwnerNode()) 752 if (sheetContents && sheetContents->hasSingleOwnerNode())
753 return getFrom(sheetContents->singleOwnerDocument()); 753 return getFrom(sheetContents->singleOwnerDocument());
754 return 0; 754 return 0;
755 } 755 }
756 756
757 } // namespace WebCore 757 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | Source/core/rendering/shapes/BoxShape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698