| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
| 3 * Copyright (C) 2006 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 #include "Node.h" | 25 #include "Node.h" |
| 26 #include "core/loader/cache/CachedResourceHandle.h" | 26 #include "core/loader/cache/CachedResourceHandle.h" |
| 27 #include "core/loader/cache/CachedStyleSheetClient.h" | 27 #include "core/loader/cache/CachedStyleSheetClient.h" |
| 28 | 28 |
| 29 namespace WebCore { | 29 namespace WebCore { |
| 30 | 30 |
| 31 class StyleSheet; | 31 class StyleSheet; |
| 32 class CSSStyleSheet; | 32 class CSSStyleSheet; |
| 33 | 33 |
| 34 class ProcessingInstruction : public Node, private CachedStyleSheetClient { | 34 class ProcessingInstruction FINAL : public Node, private CachedStyleSheetClient
{ |
| 35 public: | 35 public: |
| 36 static PassRefPtr<ProcessingInstruction> create(Document*, const String& tar
get, const String& data); | 36 static PassRefPtr<ProcessingInstruction> create(Document*, const String& tar
get, const String& data); |
| 37 virtual ~ProcessingInstruction(); | 37 virtual ~ProcessingInstruction(); |
| 38 | 38 |
| 39 const String& target() const { return m_target; } | 39 const String& target() const { return m_target; } |
| 40 const String& data() const { return m_data; } | 40 const String& data() const { return m_data; } |
| 41 void setData(const String&, ExceptionCode&); | 41 void setData(const String&, ExceptionCode&); |
| 42 | 42 |
| 43 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdB
yParser; } | 43 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdB
yParser; } |
| 44 | 44 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 bool m_loading; | 86 bool m_loading; |
| 87 bool m_alternate; | 87 bool m_alternate; |
| 88 bool m_createdByParser; | 88 bool m_createdByParser; |
| 89 bool m_isCSS; | 89 bool m_isCSS; |
| 90 bool m_isXSL; | 90 bool m_isXSL; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } //namespace | 93 } //namespace |
| 94 | 94 |
| 95 #endif | 95 #endif |
| OLD | NEW |