| 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 25 matching lines...) Expand all Loading... |
| 36 #include "core/platform/Timer.h" | 36 #include "core/platform/Timer.h" |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace WebCore { |
| 39 | 39 |
| 40 class HTMLLinkElement; | 40 class HTMLLinkElement; |
| 41 class KURL; | 41 class KURL; |
| 42 | 42 |
| 43 template<typename T> class EventSender; | 43 template<typename T> class EventSender; |
| 44 typedef EventSender<HTMLLinkElement> LinkEventSender; | 44 typedef EventSender<HTMLLinkElement> LinkEventSender; |
| 45 | 45 |
| 46 class HTMLLinkElement : public HTMLElement, public CachedStyleSheetClient, publi
c LinkLoaderClient { | 46 class HTMLLinkElement FINAL : public HTMLElement, public CachedStyleSheetClient,
public LinkLoaderClient { |
| 47 public: | 47 public: |
| 48 static PassRefPtr<HTMLLinkElement> create(const QualifiedName&, Document*, b
ool createdByParser); | 48 static PassRefPtr<HTMLLinkElement> create(const QualifiedName&, Document*, b
ool createdByParser); |
| 49 virtual ~HTMLLinkElement(); | 49 virtual ~HTMLLinkElement(); |
| 50 | 50 |
| 51 KURL href() const; | 51 KURL href() const; |
| 52 String rel() const; | 52 String rel() const; |
| 53 | 53 |
| 54 virtual String target() const; | 54 virtual String target() const; |
| 55 | 55 |
| 56 String type() const; | 56 String type() const; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 bool m_loadedSheet; | 141 bool m_loadedSheet; |
| 142 | 142 |
| 143 PendingSheetType m_pendingSheetType; | 143 PendingSheetType m_pendingSheetType; |
| 144 | 144 |
| 145 int m_beforeLoadRecurseCount; | 145 int m_beforeLoadRecurseCount; |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } //namespace | 148 } //namespace |
| 149 | 149 |
| 150 #endif | 150 #endif |
| OLD | NEW |