| 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, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) | 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) |
| 7 * Copyright (C) 2011 Google Inc. All rights reserved. | 7 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 } | 252 } |
| 253 | 253 |
| 254 void HTMLLinkElement::enableIfExitTransitionStyle() | 254 void HTMLLinkElement::enableIfExitTransitionStyle() |
| 255 { | 255 { |
| 256 if (m_relAttribute.isTransitionExitingStylesheet()) { | 256 if (m_relAttribute.isTransitionExitingStylesheet()) { |
| 257 if (LinkStyle* link = linkStyle()) | 257 if (LinkStyle* link = linkStyle()) |
| 258 link->setDisabledState(false); | 258 link->setDisabledState(false); |
| 259 } | 259 } |
| 260 } | 260 } |
| 261 | 261 |
| 262 void HTMLLinkElement::disableIfExitTransitionStyle() |
| 263 { |
| 264 if (m_relAttribute.isTransitionExitingStylesheet()) { |
| 265 if (LinkStyle* link = linkStyle()) |
| 266 link->setDisabledState(true); |
| 267 } |
| 268 } |
| 269 |
| 262 Node::InsertionNotificationRequest HTMLLinkElement::insertedInto(ContainerNode*
insertionPoint) | 270 Node::InsertionNotificationRequest HTMLLinkElement::insertedInto(ContainerNode*
insertionPoint) |
| 263 { | 271 { |
| 264 if (insertionPoint->inDocument()) { | 272 if (insertionPoint->inDocument()) { |
| 265 V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivi
tyLoggerIfIsolatedWorld(); | 273 V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivi
tyLoggerIfIsolatedWorld(); |
| 266 if (activityLogger) { | 274 if (activityLogger) { |
| 267 Vector<String> argv; | 275 Vector<String> argv; |
| 268 argv.append("link"); | 276 argv.append("link"); |
| 269 argv.append(fastGetAttribute(relAttr)); | 277 argv.append(fastGetAttribute(relAttr)); |
| 270 argv.append(fastGetAttribute(hrefAttr)); | 278 argv.append(fastGetAttribute(hrefAttr)); |
| 271 activityLogger->logEvent("blinkAddElement", argv.size(), argv.data()
); | 279 activityLogger->logEvent("blinkAddElement", argv.size(), argv.data()
); |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 removePendingSheet(); | 758 removePendingSheet(); |
| 751 } | 759 } |
| 752 | 760 |
| 753 void LinkStyle::trace(Visitor* visitor) | 761 void LinkStyle::trace(Visitor* visitor) |
| 754 { | 762 { |
| 755 visitor->trace(m_sheet); | 763 visitor->trace(m_sheet); |
| 756 LinkResource::trace(visitor); | 764 LinkResource::trace(visitor); |
| 757 } | 765 } |
| 758 | 766 |
| 759 } // namespace blink | 767 } // namespace blink |
| OLD | NEW |