| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. |
| 6 * (C) 2007 Rob Buis (buis@kde.org) | 6 * (C) 2007 Rob Buis (buis@kde.org) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 StyleElement::finishParsingChildren(*this); | 75 StyleElement::finishParsingChildren(*this); |
| 76 HTMLElement::finishParsingChildren(); | 76 HTMLElement::finishParsingChildren(); |
| 77 if (result == StyleElement::ProcessingFatalError) | 77 if (result == StyleElement::ProcessingFatalError) |
| 78 notifyLoadedSheetAndAllCriticalSubresources( | 78 notifyLoadedSheetAndAllCriticalSubresources( |
| 79 ErrorOccurredLoadingSubresource); | 79 ErrorOccurredLoadingSubresource); |
| 80 } | 80 } |
| 81 | 81 |
| 82 Node::InsertionNotificationRequest HTMLStyleElement::insertedInto( | 82 Node::InsertionNotificationRequest HTMLStyleElement::insertedInto( |
| 83 ContainerNode* insertionPoint) { | 83 ContainerNode* insertionPoint) { |
| 84 HTMLElement::insertedInto(insertionPoint); | 84 HTMLElement::insertedInto(insertionPoint); |
| 85 StyleElement::insertedInto(*this, insertionPoint); | |
| 86 return InsertionShouldCallDidNotifySubtreeInsertions; | 85 return InsertionShouldCallDidNotifySubtreeInsertions; |
| 87 } | 86 } |
| 88 | 87 |
| 89 void HTMLStyleElement::removedFrom(ContainerNode* insertionPoint) { | 88 void HTMLStyleElement::removedFrom(ContainerNode* insertionPoint) { |
| 90 HTMLElement::removedFrom(insertionPoint); | 89 HTMLElement::removedFrom(insertionPoint); |
| 91 StyleElement::removedFrom(*this, insertionPoint); | 90 StyleElement::removedFrom(*this, insertionPoint); |
| 92 } | 91 } |
| 93 | 92 |
| 94 void HTMLStyleElement::didNotifySubtreeInsertionsToDocument() { | 93 void HTMLStyleElement::didNotifySubtreeInsertionsToDocument() { |
| 95 if (StyleElement::processStyleSheet(document(), *this) == | 94 if (StyleElement::processStyleSheet(document(), *this) == |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 if (CSSStyleSheet* styleSheet = sheet()) | 144 if (CSSStyleSheet* styleSheet = sheet()) |
| 146 styleSheet->setDisabled(setDisabled); | 145 styleSheet->setDisabled(setDisabled); |
| 147 } | 146 } |
| 148 | 147 |
| 149 DEFINE_TRACE(HTMLStyleElement) { | 148 DEFINE_TRACE(HTMLStyleElement) { |
| 150 StyleElement::trace(visitor); | 149 StyleElement::trace(visitor); |
| 151 HTMLElement::trace(visitor); | 150 HTMLElement::trace(visitor); |
| 152 } | 151 } |
| 153 | 152 |
| 154 } // namespace blink | 153 } // namespace blink |
| OLD | NEW |