| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef DocumentXSLT_h | 5 #ifndef DocumentXSLT_h |
| 6 #define DocumentXSLT_h | 6 #define DocumentXSLT_h |
| 7 | 7 |
| 8 #include "core/dom/DocumentSupplementable.h" | 8 #include "core/dom/DocumentSupplementable.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/RefPtr.h" | 10 #include "wtf/RefPtr.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 // The following static methods don't use any instance of DocumentXSLT. | 35 // The following static methods don't use any instance of DocumentXSLT. |
| 36 // They are just using DocumentXSLT namespace. | 36 // They are just using DocumentXSLT namespace. |
| 37 static void applyXSLTransform(Document&, ProcessingInstruction*); | 37 static void applyXSLTransform(Document&, ProcessingInstruction*); |
| 38 static ProcessingInstruction* findXSLStyleSheet(Document&); | 38 static ProcessingInstruction* findXSLStyleSheet(Document&); |
| 39 static bool processingInstructionInsertedIntoDocument(Document&, ProcessingI
nstruction*); | 39 static bool processingInstructionInsertedIntoDocument(Document&, ProcessingI
nstruction*); |
| 40 static bool processingInstructionRemovedFromDocument(Document&, ProcessingIn
struction*); | 40 static bool processingInstructionRemovedFromDocument(Document&, ProcessingIn
struction*); |
| 41 static bool sheetLoaded(Document&, ProcessingInstruction*); | 41 static bool sheetLoaded(Document&, ProcessingInstruction*); |
| 42 static bool hasTransformSourceDocument(Document&); | 42 static bool hasTransformSourceDocument(Document&); |
| 43 | 43 |
| 44 virtual void trace(Visitor*) override; | 44 DECLARE_VIRTUAL_TRACE(); |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 DocumentXSLT(); | 47 DocumentXSLT(); |
| 48 | 48 |
| 49 RefPtrWillBeMember<Document> m_transformSourceDocument; | 49 RefPtrWillBeMember<Document> m_transformSourceDocument; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace blink | 52 } // namespace blink |
| 53 | 53 |
| 54 #endif | 54 #endif |
| OLD | NEW |