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

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

Issue 563553002: Remove CSSPropertyWebkitCursorVisibility from UseCounter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 case CSSPropertyAlignmentBaseline: return 386; 430 case CSSPropertyAlignmentBaseline: return 386;
431 case CSSPropertyBaselineShift: return 387; 431 case CSSPropertyBaselineShift: return 387;
432 case CSSPropertyDominantBaseline: return 388; 432 case CSSPropertyDominantBaseline: return 388;
433 case CSSPropertyGlyphOrientationHorizontal: return 389; 433 case CSSPropertyGlyphOrientationHorizontal: return 389;
434 case CSSPropertyGlyphOrientationVertical: return 390; 434 case CSSPropertyGlyphOrientationVertical: return 390;
435 // CSSPropertyKerning has been removed, was return 391; 435 // CSSPropertyKerning has been removed, was return 391;
436 case CSSPropertyTextAnchor: return 392; 436 case CSSPropertyTextAnchor: return 392;
437 case CSSPropertyVectorEffect: return 393; 437 case CSSPropertyVectorEffect: return 393;
438 case CSSPropertyWritingMode: return 394; 438 case CSSPropertyWritingMode: return 394;
439 // CSSPropertyWebkitSvgShadow has been removed, was return 395; 439 // CSSPropertyWebkitSvgShadow has been removed, was return 395;
440 #if defined(ENABLE_CURSOR_VISIBILITY) && ENABLE_CURSOR_VISIBILITY 440 // CSSPropertyWebkitCursorVisibility has been removed, was return 396;
441 case CSSPropertyWebkitCursorVisibility: return 396;
442 #endif
443 // CSSPropertyImageOrientation has been removed, was return 397; 441 // CSSPropertyImageOrientation has been removed, was return 397;
444 // CSSPropertyImageResolution has been removed, was return 398; 442 // CSSPropertyImageResolution has been removed, was return 398;
445 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING 443 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING
446 case CSSPropertyWebkitBlendMode: return 399; 444 case CSSPropertyWebkitBlendMode: return 399;
447 case CSSPropertyWebkitBackgroundBlendMode: return 400; 445 case CSSPropertyWebkitBackgroundBlendMode: return 400;
448 #endif 446 #endif
449 case CSSPropertyTextDecorationLine: return 401; 447 case CSSPropertyTextDecorationLine: return 401;
450 case CSSPropertyTextDecorationStyle: return 402; 448 case CSSPropertyTextDecorationStyle: return 402;
451 case CSSPropertyTextDecorationColor: return 403; 449 case CSSPropertyTextDecorationColor: return 403;
452 case CSSPropertyTextAlignLast: return 404; 450 case CSSPropertyTextAlignLast: return 404;
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 833 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
836 { 834 {
837 // FIXME: We may want to handle stylesheets that have multiple owners 835 // FIXME: We may want to handle stylesheets that have multiple owners
838 // http://crbug.com/242125 836 // http://crbug.com/242125
839 if (sheetContents && sheetContents->hasSingleOwnerNode()) 837 if (sheetContents && sheetContents->hasSingleOwnerNode())
840 return getFrom(sheetContents->singleOwnerDocument()); 838 return getFrom(sheetContents->singleOwnerDocument());
841 return 0; 839 return 0;
842 } 840 }
843 841
844 } // namespace blink 842 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698