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

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

Issue 134473008: Remove CSS regions support, keeping a bare minimum to support "region-based" multicol. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review: Revert changes in Source/devtools/Inspector-1.1.json Created 6 years, 10 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 case CSSPropertyWebkitTransformOriginZ: return 330; 377 case CSSPropertyWebkitTransformOriginZ: return 330;
378 case CSSPropertyWebkitTransformStyle: return 331; 378 case CSSPropertyWebkitTransformStyle: return 331;
379 case CSSPropertyWebkitTransition: return 332; 379 case CSSPropertyWebkitTransition: return 332;
380 case CSSPropertyWebkitTransitionDelay: return 333; 380 case CSSPropertyWebkitTransitionDelay: return 333;
381 case CSSPropertyWebkitTransitionDuration: return 334; 381 case CSSPropertyWebkitTransitionDuration: return 334;
382 case CSSPropertyWebkitTransitionProperty: return 335; 382 case CSSPropertyWebkitTransitionProperty: return 335;
383 case CSSPropertyWebkitTransitionTimingFunction: return 336; 383 case CSSPropertyWebkitTransitionTimingFunction: return 336;
384 case CSSPropertyWebkitUserDrag: return 337; 384 case CSSPropertyWebkitUserDrag: return 337;
385 case CSSPropertyWebkitUserModify: return 338; 385 case CSSPropertyWebkitUserModify: return 338;
386 case CSSPropertyWebkitUserSelect: return 339; 386 case CSSPropertyWebkitUserSelect: return 339;
387 case CSSPropertyWebkitFlowInto: return 340;
eseidel 2014/02/14 11:44:23 I'm not sure if we remove these or just comment th
mstensho (USE GERRIT) 2014/02/14 12:06:13 Done.
388 case CSSPropertyWebkitFlowFrom: return 341;
389 case CSSPropertyWebkitRegionFragment: return 342;
390 case CSSPropertyWebkitRegionBreakAfter: return 343;
391 case CSSPropertyWebkitRegionBreakBefore: return 344;
392 case CSSPropertyWebkitRegionBreakInside: return 345;
393 case CSSPropertyShapeInside: return 346; 387 case CSSPropertyShapeInside: return 346;
394 case CSSPropertyShapeOutside: return 347; 388 case CSSPropertyShapeOutside: return 347;
395 case CSSPropertyShapeMargin: return 348; 389 case CSSPropertyShapeMargin: return 348;
396 case CSSPropertyShapePadding: return 349; 390 case CSSPropertyShapePadding: return 349;
397 case CSSPropertyWebkitWrapFlow: return 350; 391 case CSSPropertyWebkitWrapFlow: return 350;
398 case CSSPropertyWebkitWrapThrough: return 351; 392 case CSSPropertyWebkitWrapThrough: return 351;
399 // CSSPropertyWebkitWrap was 352. 393 // CSSPropertyWebkitWrap was 352.
400 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS 394 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
401 case CSSPropertyWebkitTapHighlightColor: return 353; 395 case CSSPropertyWebkitTapHighlightColor: return 353;
402 #endif 396 #endif
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 750 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
757 { 751 {
758 // FIXME: We may want to handle stylesheets that have multiple owners 752 // FIXME: We may want to handle stylesheets that have multiple owners
759 // http://crbug.com/242125 753 // http://crbug.com/242125
760 if (sheetContents && sheetContents->hasSingleOwnerNode()) 754 if (sheetContents && sheetContents->hasSingleOwnerNode())
761 return getFrom(sheetContents->singleOwnerDocument()); 755 return getFrom(sheetContents->singleOwnerDocument());
762 return 0; 756 return 0;
763 } 757 }
764 758
765 } // namespace WebCore 759 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698