Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: third_party/WebKit/Source/core/inspector/DOMEditor.cpp

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win compile Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 21 matching lines...) Expand all
32 32
33 #include "bindings/core/v8/ExceptionState.h" 33 #include "bindings/core/v8/ExceptionState.h"
34 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 34 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
35 #include "core/dom/DOMException.h" 35 #include "core/dom/DOMException.h"
36 #include "core/dom/Element.h" 36 #include "core/dom/Element.h"
37 #include "core/dom/Node.h" 37 #include "core/dom/Node.h"
38 #include "core/dom/Text.h" 38 #include "core/dom/Text.h"
39 #include "core/editing/serializers/Serialization.h" 39 #include "core/editing/serializers/Serialization.h"
40 #include "core/inspector/DOMPatchSupport.h" 40 #include "core/inspector/DOMPatchSupport.h"
41 #include "core/inspector/InspectorHistory.h" 41 #include "core/inspector/InspectorHistory.h"
42 #include "core/inspector/protocol/Protocol.h"
42 #include "wtf/RefPtr.h" 43 #include "wtf/RefPtr.h"
43 44
44 namespace blink { 45 namespace blink {
45 46
46 class DOMEditor::RemoveChildAction final : public InspectorHistory::Action { 47 class DOMEditor::RemoveChildAction final : public InspectorHistory::Action {
47 WTF_MAKE_NONCOPYABLE(RemoveChildAction); 48 WTF_MAKE_NONCOPYABLE(RemoveChildAction);
48 public: 49 public:
49 RemoveChildAction(ContainerNode* parentNode, Node* node) 50 RemoveChildAction(ContainerNode* parentNode, Node* node)
50 : InspectorHistory::Action("RemoveChild") 51 : InspectorHistory::Action("RemoveChild")
51 , m_parentNode(parentNode) 52 , m_parentNode(parentNode)
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 return result; 512 return result;
512 } 513 }
513 514
514 DEFINE_TRACE(DOMEditor) 515 DEFINE_TRACE(DOMEditor)
515 { 516 {
516 visitor->trace(m_history); 517 visitor->trace(m_history);
517 } 518 }
518 519
519 } // namespace blink 520 } // namespace blink
520 521
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698