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

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

Issue 153233002: *** DO NOT LAND *** Remove regions support, keeping a bare minimum to support "region-based"... (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/inspector/InspectorCSSAgent.h » ('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 /* 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;
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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 738 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
745 { 739 {
746 // FIXME: We may want to handle stylesheets that have multiple owners 740 // FIXME: We may want to handle stylesheets that have multiple owners
747 // http://crbug.com/242125 741 // http://crbug.com/242125
748 if (sheetContents && sheetContents->hasSingleOwnerNode()) 742 if (sheetContents && sheetContents->hasSingleOwnerNode())
749 return getFrom(sheetContents->singleOwnerDocument()); 743 return getFrom(sheetContents->singleOwnerDocument());
750 return 0; 744 return 0;
751 } 745 }
752 746
753 } // namespace WebCore 747 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698