| 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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 case CSSPropertyWebkitBlendMode: return 399; | 461 case CSSPropertyWebkitBlendMode: return 399; |
| 462 case CSSPropertyWebkitBackgroundBlendMode: return 400; | 462 case CSSPropertyWebkitBackgroundBlendMode: return 400; |
| 463 #endif | 463 #endif |
| 464 case CSSPropertyTextDecorationLine: return 401; | 464 case CSSPropertyTextDecorationLine: return 401; |
| 465 case CSSPropertyTextDecorationStyle: return 402; | 465 case CSSPropertyTextDecorationStyle: return 402; |
| 466 case CSSPropertyTextDecorationColor: return 403; | 466 case CSSPropertyTextDecorationColor: return 403; |
| 467 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT | 467 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT |
| 468 case CSSPropertyWebkitTextAlignLast: return 404; | 468 case CSSPropertyWebkitTextAlignLast: return 404; |
| 469 case CSSPropertyWebkitTextUnderlinePosition: return 405; | 469 case CSSPropertyWebkitTextUnderlinePosition: return 405; |
| 470 #endif | 470 #endif |
| 471 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION | |
| 472 case CSSPropertyMaxZoom: return 406; | 471 case CSSPropertyMaxZoom: return 406; |
| 473 case CSSPropertyMinZoom: return 407; | 472 case CSSPropertyMinZoom: return 407; |
| 474 case CSSPropertyOrientation: return 408; | 473 case CSSPropertyOrientation: return 408; |
| 475 case CSSPropertyUserZoom: return 409; | 474 case CSSPropertyUserZoom: return 409; |
| 476 #endif | |
| 477 #if defined(ENABLE_DASHBOARD_SUPPORT) && ENABLE_DASHBOARD_SUPPORT | 475 #if defined(ENABLE_DASHBOARD_SUPPORT) && ENABLE_DASHBOARD_SUPPORT |
| 478 case CSSPropertyWebkitDashboardRegion: return 410; | 476 case CSSPropertyWebkitDashboardRegion: return 410; |
| 479 #endif | 477 #endif |
| 480 #if defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) && ENABLE_ACCELERATED_OVERFLO
W_SCROLLING | 478 #if defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) && ENABLE_ACCELERATED_OVERFLO
W_SCROLLING |
| 481 case CSSPropertyWebkitOverflowScrolling: return 411; | 479 case CSSPropertyWebkitOverflowScrolling: return 411; |
| 482 #endif | 480 #endif |
| 483 case CSSPropertyWebkitAppRegion: return 412; | 481 case CSSPropertyWebkitAppRegion: return 412; |
| 484 case CSSPropertyWebkitFilter: return 413; | 482 case CSSPropertyWebkitFilter: return 413; |
| 485 case CSSPropertyWebkitBoxDecorationBreak: return 414; | 483 case CSSPropertyWebkitBoxDecorationBreak: return 414; |
| 486 case CSSPropertyWebkitTapHighlightColor: return 415; | 484 case CSSPropertyWebkitTapHighlightColor: return 415; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 665 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 668 { | 666 { |
| 669 // FIXME: We may want to handle stylesheets that have multiple owners | 667 // FIXME: We may want to handle stylesheets that have multiple owners |
| 670 // http://crbug.com/242125 | 668 // http://crbug.com/242125 |
| 671 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 669 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
| 672 return getFrom(sheetContents->singleOwnerDocument()); | 670 return getFrom(sheetContents->singleOwnerDocument()); |
| 673 return 0; | 671 return 0; |
| 674 } | 672 } |
| 675 | 673 |
| 676 } // namespace WebCore | 674 } // namespace WebCore |
| OLD | NEW |