OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 return true; | 450 return true; |
451 break; | 451 break; |
452 case StyleRuleBase::Import: | 452 case StyleRuleBase::Import: |
453 ASSERT_NOT_REACHED(); | 453 ASSERT_NOT_REACHED(); |
454 case StyleRuleBase::Page: | 454 case StyleRuleBase::Page: |
455 case StyleRuleBase::Keyframes: | 455 case StyleRuleBase::Keyframes: |
456 case StyleRuleBase::Unknown: | 456 case StyleRuleBase::Unknown: |
457 case StyleRuleBase::Charset: | 457 case StyleRuleBase::Charset: |
458 case StyleRuleBase::Keyframe: | 458 case StyleRuleBase::Keyframe: |
459 case StyleRuleBase::Supports: | 459 case StyleRuleBase::Supports: |
460 #if ENABLE(CSS_DEVICE_ADAPTATION) | |
461 case StyleRuleBase::Viewport: | 460 case StyleRuleBase::Viewport: |
462 #endif | |
463 case StyleRuleBase::Filter: | 461 case StyleRuleBase::Filter: |
464 break; | 462 break; |
465 } | 463 } |
466 } | 464 } |
467 return false; | 465 return false; |
468 } | 466 } |
469 | 467 |
470 bool StyleSheetContents::hasFailedOrCanceledSubresources() const | 468 bool StyleSheetContents::hasFailedOrCanceledSubresources() const |
471 { | 469 { |
472 ASSERT(isCacheable()); | 470 ASSERT(isCacheable()); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 info.addMember(m_originalURL, "originalURL"); | 516 info.addMember(m_originalURL, "originalURL"); |
519 info.addMember(m_encodingFromCharsetRule, "encodingFromCharsetRule"); | 517 info.addMember(m_encodingFromCharsetRule, "encodingFromCharsetRule"); |
520 info.addMember(m_importRules, "importRules"); | 518 info.addMember(m_importRules, "importRules"); |
521 info.addMember(m_childRules, "childRules"); | 519 info.addMember(m_childRules, "childRules"); |
522 info.addMember(m_namespaces, "namespaces"); | 520 info.addMember(m_namespaces, "namespaces"); |
523 info.addMember(m_parserContext, "parserContext"); | 521 info.addMember(m_parserContext, "parserContext"); |
524 info.addMember(m_clients, "clients"); | 522 info.addMember(m_clients, "clients"); |
525 } | 523 } |
526 | 524 |
527 } | 525 } |
OLD | NEW |