OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 Google, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 case CSSPropertyWebkitSvgShadow: return 395; | 455 case CSSPropertyWebkitSvgShadow: return 395; |
456 #if defined(ENABLE_CURSOR_VISIBILITY) && ENABLE_CURSOR_VISIBILITY | 456 #if defined(ENABLE_CURSOR_VISIBILITY) && ENABLE_CURSOR_VISIBILITY |
457 case CSSPropertyWebkitCursorVisibility: return 396; | 457 case CSSPropertyWebkitCursorVisibility: return 396; |
458 #endif | 458 #endif |
459 // CSSPropertyImageOrientation has been removed, was return 397; | 459 // CSSPropertyImageOrientation has been removed, was return 397; |
460 // CSSPropertyImageResolution has been removed, was return 398; | 460 // CSSPropertyImageResolution has been removed, was return 398; |
461 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING | 461 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING |
462 case CSSPropertyWebkitBlendMode: return 399; | 462 case CSSPropertyWebkitBlendMode: return 399; |
463 case CSSPropertyWebkitBackgroundBlendMode: return 400; | 463 case CSSPropertyWebkitBackgroundBlendMode: return 400; |
464 #endif | 464 #endif |
| 465 case CSSPropertyTextDecorationLine: return 401; |
| 466 case CSSPropertyTextDecorationStyle: return 402; |
| 467 case CSSPropertyTextDecorationColor: return 403; |
465 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT | 468 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT |
466 case CSSPropertyWebkitTextDecorationLine: return 401; | |
467 case CSSPropertyWebkitTextDecorationStyle: return 402; | |
468 case CSSPropertyWebkitTextDecorationColor: return 403; | |
469 case CSSPropertyWebkitTextAlignLast: return 404; | 469 case CSSPropertyWebkitTextAlignLast: return 404; |
470 case CSSPropertyWebkitTextUnderlinePosition: return 405; | 470 case CSSPropertyWebkitTextUnderlinePosition: return 405; |
471 #endif | 471 #endif |
472 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION | 472 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION |
473 case CSSPropertyMaxZoom: return 406; | 473 case CSSPropertyMaxZoom: return 406; |
474 case CSSPropertyMinZoom: return 407; | 474 case CSSPropertyMinZoom: return 407; |
475 case CSSPropertyOrientation: return 408; | 475 case CSSPropertyOrientation: return 408; |
476 case CSSPropertyUserZoom: return 409; | 476 case CSSPropertyUserZoom: return 409; |
477 #endif | 477 #endif |
478 #if defined(ENABLE_DASHBOARD_SUPPORT) && ENABLE_DASHBOARD_SUPPORT | 478 #if defined(ENABLE_DASHBOARD_SUPPORT) && ENABLE_DASHBOARD_SUPPORT |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 668 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
669 { | 669 { |
670 // FIXME: We may want to handle stylesheets that have multiple owners | 670 // FIXME: We may want to handle stylesheets that have multiple owners |
671 // http://crbug.com/242125 | 671 // http://crbug.com/242125 |
672 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 672 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
673 return getFrom(sheetContents->singleOwnerDocument()); | 673 return getFrom(sheetContents->singleOwnerDocument()); |
674 return 0; | 674 return 0; |
675 } | 675 } |
676 | 676 |
677 } // namespace WebCore | 677 } // namespace WebCore |
OLD | NEW |