OLD | NEW |
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 case CSSPropertyWebkitBorderAfterStyle: return 184; | 229 case CSSPropertyWebkitBorderAfterStyle: return 184; |
230 case CSSPropertyWebkitBorderAfterWidth: return 185; | 230 case CSSPropertyWebkitBorderAfterWidth: return 185; |
231 case CSSPropertyWebkitBorderBefore: return 186; | 231 case CSSPropertyWebkitBorderBefore: return 186; |
232 case CSSPropertyWebkitBorderBeforeColor: return 187; | 232 case CSSPropertyWebkitBorderBeforeColor: return 187; |
233 case CSSPropertyWebkitBorderBeforeStyle: return 188; | 233 case CSSPropertyWebkitBorderBeforeStyle: return 188; |
234 case CSSPropertyWebkitBorderBeforeWidth: return 189; | 234 case CSSPropertyWebkitBorderBeforeWidth: return 189; |
235 case CSSPropertyWebkitBorderEnd: return 190; | 235 case CSSPropertyWebkitBorderEnd: return 190; |
236 case CSSPropertyWebkitBorderEndColor: return 191; | 236 case CSSPropertyWebkitBorderEndColor: return 191; |
237 case CSSPropertyWebkitBorderEndStyle: return 192; | 237 case CSSPropertyWebkitBorderEndStyle: return 192; |
238 case CSSPropertyWebkitBorderEndWidth: return 193; | 238 case CSSPropertyWebkitBorderEndWidth: return 193; |
239 case CSSPropertyWebkitBorderFit: return 194; | 239 // CSSPropertyWebkitBorderFit was 194 |
240 case CSSPropertyWebkitBorderHorizontalSpacing: return 195; | 240 case CSSPropertyWebkitBorderHorizontalSpacing: return 195; |
241 case CSSPropertyWebkitBorderImage: return 196; | 241 case CSSPropertyWebkitBorderImage: return 196; |
242 case CSSPropertyWebkitBorderRadius: return 197; | 242 case CSSPropertyWebkitBorderRadius: return 197; |
243 case CSSPropertyWebkitBorderStart: return 198; | 243 case CSSPropertyWebkitBorderStart: return 198; |
244 case CSSPropertyWebkitBorderStartColor: return 199; | 244 case CSSPropertyWebkitBorderStartColor: return 199; |
245 case CSSPropertyWebkitBorderStartStyle: return 200; | 245 case CSSPropertyWebkitBorderStartStyle: return 200; |
246 case CSSPropertyWebkitBorderStartWidth: return 201; | 246 case CSSPropertyWebkitBorderStartWidth: return 201; |
247 case CSSPropertyWebkitBorderVerticalSpacing: return 202; | 247 case CSSPropertyWebkitBorderVerticalSpacing: return 202; |
248 case CSSPropertyWebkitBoxAlign: return 203; | 248 case CSSPropertyWebkitBoxAlign: return 203; |
249 case CSSPropertyWebkitBoxDirection: return 204; | 249 case CSSPropertyWebkitBoxDirection: return 204; |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 833 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
834 { | 834 { |
835 // FIXME: We may want to handle stylesheets that have multiple owners | 835 // FIXME: We may want to handle stylesheets that have multiple owners |
836 // http://crbug.com/242125 | 836 // http://crbug.com/242125 |
837 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 837 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
838 return getFrom(sheetContents->singleOwnerDocument()); | 838 return getFrom(sheetContents->singleOwnerDocument()); |
839 return 0; | 839 return 0; |
840 } | 840 } |
841 | 841 |
842 } // namespace blink | 842 } // namespace blink |
OLD | NEW |