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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 return link->importedDocument(); | 244 return link->importedDocument(); |
245 return nullptr; | 245 return nullptr; |
246 } | 246 } |
247 | 247 |
248 void HTMLLinkElement::process() | 248 void HTMLLinkElement::process() |
249 { | 249 { |
250 if (LinkResource* link = linkResourceToProcess()) | 250 if (LinkResource* link = linkResourceToProcess()) |
251 link->process(); | 251 link->process(); |
252 } | 252 } |
253 | 253 |
254 void HTMLLinkElement::enableIfExitTransitionStyle() | 254 void HTMLLinkElement::setEnabledIfExitTransitionStyle(bool enabled) |
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(!enabled); |
259 } | 259 } |
260 } | 260 } |
261 | 261 |
262 Node::InsertionNotificationRequest HTMLLinkElement::insertedInto(ContainerNode*
insertionPoint) | 262 Node::InsertionNotificationRequest HTMLLinkElement::insertedInto(ContainerNode*
insertionPoint) |
263 { | 263 { |
264 if (insertionPoint->inDocument()) { | 264 if (insertionPoint->inDocument()) { |
265 V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivi
tyLoggerIfIsolatedWorld(); | 265 V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivi
tyLoggerIfIsolatedWorld(); |
266 if (activityLogger) { | 266 if (activityLogger) { |
267 Vector<String> argv; | 267 Vector<String> argv; |
268 argv.append("link"); | 268 argv.append("link"); |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 removePendingSheet(); | 750 removePendingSheet(); |
751 } | 751 } |
752 | 752 |
753 void LinkStyle::trace(Visitor* visitor) | 753 void LinkStyle::trace(Visitor* visitor) |
754 { | 754 { |
755 visitor->trace(m_sheet); | 755 visitor->trace(m_sheet); |
756 LinkResource::trace(visitor); | 756 LinkResource::trace(visitor); |
757 } | 757 } |
758 | 758 |
759 } // namespace blink | 759 } // namespace blink |
OLD | NEW |