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 #include "bindings/v8/ExceptionStatePlaceholder.h" | 35 #include "bindings/v8/ExceptionStatePlaceholder.h" |
36 #include "core/dom/DOMException.h" | 36 #include "core/dom/DOMException.h" |
37 #include "core/dom/Element.h" | 37 #include "core/dom/Element.h" |
38 #include "core/dom/Node.h" | 38 #include "core/dom/Node.h" |
39 #include "core/dom/Text.h" | 39 #include "core/dom/Text.h" |
40 #include "core/editing/markup.h" | 40 #include "core/editing/markup.h" |
41 #include "core/inspector/DOMPatchSupport.h" | 41 #include "core/inspector/DOMPatchSupport.h" |
42 #include "core/inspector/InspectorHistory.h" | 42 #include "core/inspector/InspectorHistory.h" |
43 #include "wtf/RefPtr.h" | 43 #include "wtf/RefPtr.h" |
44 | 44 |
45 using namespace std; | |
46 | |
47 namespace WebCore { | 45 namespace WebCore { |
48 | 46 |
49 class DOMEditor::RemoveChildAction FINAL : public InspectorHistory::Action { | 47 class DOMEditor::RemoveChildAction FINAL : public InspectorHistory::Action { |
50 WTF_MAKE_NONCOPYABLE(RemoveChildAction); | 48 WTF_MAKE_NONCOPYABLE(RemoveChildAction); |
51 public: | 49 public: |
52 RemoveChildAction(Node* parentNode, Node* node) | 50 RemoveChildAction(Node* parentNode, Node* node) |
53 : InspectorHistory::Action("RemoveChild") | 51 : InspectorHistory::Action("RemoveChild") |
54 , m_parentNode(parentNode) | 52 , m_parentNode(parentNode) |
55 , m_node(node) | 53 , m_node(node) |
56 { | 54 { |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 return result; | 516 return result; |
519 } | 517 } |
520 | 518 |
521 void DOMEditor::trace(Visitor* visitor) | 519 void DOMEditor::trace(Visitor* visitor) |
522 { | 520 { |
523 visitor->trace(m_history); | 521 visitor->trace(m_history); |
524 } | 522 } |
525 | 523 |
526 } // namespace WebCore | 524 } // namespace WebCore |
527 | 525 |
OLD | NEW |