| 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 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 void dispatchPendingEvent(LinkEventSender*); | 67 void dispatchPendingEvent(LinkEventSender*); |
| 68 static void dispatchPendingLoadEvents(); | 68 static void dispatchPendingLoadEvents(); |
| 69 | 69 |
| 70 private: | 70 private: |
| 71 virtual void parseAttribute(Attribute*) OVERRIDE; | 71 virtual void parseAttribute(Attribute*) OVERRIDE; |
| 72 | 72 |
| 73 virtual bool shouldLoadLink(); | 73 virtual bool shouldLoadLink(); |
| 74 void process(); | 74 void process(); |
| 75 static void processCallback(Node*); | 75 static void processCallback(Node*); |
| 76 void clearSheet(); |
| 76 | 77 |
| 77 virtual void insertedIntoDocument(); | 78 virtual void insertedIntoDocument(); |
| 78 virtual void removedFromDocument(); | 79 virtual void removedFromDocument(); |
| 79 | 80 |
| 80 // from CachedResourceClient | 81 // from CachedResourceClient |
| 81 virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const
String& charset, const CachedCSSStyleSheet* sheet); | 82 virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const
String& charset, const CachedCSSStyleSheet* sheet); |
| 82 virtual bool sheetLoaded(); | 83 virtual bool sheetLoaded(); |
| 83 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred)
; | 84 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred)
; |
| 84 virtual void startLoadingDynamicSheet(); | 85 virtual void startLoadingDynamicSheet(); |
| 85 | 86 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 bool m_isInShadowTree; | 130 bool m_isInShadowTree; |
| 130 bool m_firedLoad; | 131 bool m_firedLoad; |
| 131 bool m_loadedSheet; | 132 bool m_loadedSheet; |
| 132 | 133 |
| 133 PendingSheetType m_pendingSheetType; | 134 PendingSheetType m_pendingSheetType; |
| 134 }; | 135 }; |
| 135 | 136 |
| 136 } //namespace | 137 } //namespace |
| 137 | 138 |
| 138 #endif | 139 #endif |
| OLD | NEW |