| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 #include <wtf/text/WTFString.h> | 36 #include <wtf/text/WTFString.h> |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace WebCore { |
| 39 | 39 |
| 40 class Element; | 40 class Element; |
| 41 class InspectorHistory; | 41 class InspectorHistory; |
| 42 class Node; | 42 class Node; |
| 43 class Text; | 43 class Text; |
| 44 | 44 |
| 45 #if ENABLE(INSPECTOR) | |
| 46 | 45 |
| 47 typedef String ErrorString; | 46 typedef String ErrorString; |
| 48 | 47 |
| 49 class DOMEditor { | 48 class DOMEditor { |
| 50 WTF_MAKE_NONCOPYABLE(DOMEditor); WTF_MAKE_FAST_ALLOCATED; | 49 WTF_MAKE_NONCOPYABLE(DOMEditor); WTF_MAKE_FAST_ALLOCATED; |
| 51 public: | 50 public: |
| 52 explicit DOMEditor(InspectorHistory*); | 51 explicit DOMEditor(InspectorHistory*); |
| 53 ~DOMEditor(); | 52 ~DOMEditor(); |
| 54 | 53 |
| 55 bool insertBefore(Node* parentNode, PassRefPtr<Node>, Node* anchorNode, Exce
ptionCode&); | 54 bool insertBefore(Node* parentNode, PassRefPtr<Node>, Node* anchorNode, Exce
ptionCode&); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 75 class RemoveAttributeAction; | 74 class RemoveAttributeAction; |
| 76 class SetAttributeAction; | 75 class SetAttributeAction; |
| 77 class SetOuterHTMLAction; | 76 class SetOuterHTMLAction; |
| 78 class ReplaceWholeTextAction; | 77 class ReplaceWholeTextAction; |
| 79 class ReplaceChildNodeAction; | 78 class ReplaceChildNodeAction; |
| 80 class SetNodeValueAction; | 79 class SetNodeValueAction; |
| 81 | 80 |
| 82 InspectorHistory* m_history; | 81 InspectorHistory* m_history; |
| 83 }; | 82 }; |
| 84 | 83 |
| 85 #endif // ENABLE(INSPECTOR) | |
| 86 | 84 |
| 87 } // namespace WebCore | 85 } // namespace WebCore |
| 88 | 86 |
| 89 #endif // !defined(DOMEditor_h) | 87 #endif // !defined(DOMEditor_h) |
| OLD | NEW |