| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #define HTMLViewSourceDocument_h | 26 #define HTMLViewSourceDocument_h |
| 27 | 27 |
| 28 #include "HTMLDocument.h" | 28 #include "HTMLDocument.h" |
| 29 | 29 |
| 30 namespace WebCore { | 30 namespace WebCore { |
| 31 | 31 |
| 32 class HTMLTableCellElement; | 32 class HTMLTableCellElement; |
| 33 class HTMLTableSectionElement; | 33 class HTMLTableSectionElement; |
| 34 class HTMLToken; | 34 class HTMLToken; |
| 35 | 35 |
| 36 class HTMLViewSourceDocument : public HTMLDocument { | 36 class HTMLViewSourceDocument FINAL : public HTMLDocument { |
| 37 public: | 37 public: |
| 38 static PassRefPtr<HTMLViewSourceDocument> create(Frame* frame, const KURL& u
rl, const String& mimeType) | 38 static PassRefPtr<HTMLViewSourceDocument> create(Frame* frame, const KURL& u
rl, const String& mimeType) |
| 39 { | 39 { |
| 40 return adoptRef(new HTMLViewSourceDocument(frame, url, mimeType)); | 40 return adoptRef(new HTMLViewSourceDocument(frame, url, mimeType)); |
| 41 } | 41 } |
| 42 | 42 |
| 43 void addSource(const String&, HTMLToken&); | 43 void addSource(const String&, HTMLToken&); |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 HTMLViewSourceDocument(Frame*, const KURL&, const String& mimeType); | 46 HTMLViewSourceDocument(Frame*, const KURL&, const String& mimeType); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 64 | 64 |
| 65 String m_type; | 65 String m_type; |
| 66 RefPtr<Element> m_current; | 66 RefPtr<Element> m_current; |
| 67 RefPtr<HTMLTableSectionElement> m_tbody; | 67 RefPtr<HTMLTableSectionElement> m_tbody; |
| 68 RefPtr<HTMLTableCellElement> m_td; | 68 RefPtr<HTMLTableCellElement> m_td; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } | 71 } |
| 72 | 72 |
| 73 #endif // HTMLViewSourceDocument_h | 73 #endif // HTMLViewSourceDocument_h |
| OLD | NEW |