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

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

Issue 330933002: Revert of Removing "using" declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/inspector/ContentSearchUtils.cpp ('k') | Source/core/inspector/DOMPatchSupport.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
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
45 namespace WebCore { 47 namespace WebCore {
46 48
47 class DOMEditor::RemoveChildAction FINAL : public InspectorHistory::Action { 49 class DOMEditor::RemoveChildAction FINAL : public InspectorHistory::Action {
48 WTF_MAKE_NONCOPYABLE(RemoveChildAction); 50 WTF_MAKE_NONCOPYABLE(RemoveChildAction);
49 public: 51 public:
50 RemoveChildAction(Node* parentNode, Node* node) 52 RemoveChildAction(Node* parentNode, Node* node)
51 : InspectorHistory::Action("RemoveChild") 53 : InspectorHistory::Action("RemoveChild")
52 , m_parentNode(parentNode) 54 , m_parentNode(parentNode)
53 , m_node(node) 55 , m_node(node)
54 { 56 {
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 return result; 518 return result;
517 } 519 }
518 520
519 void DOMEditor::trace(Visitor* visitor) 521 void DOMEditor::trace(Visitor* visitor)
520 { 522 {
521 visitor->trace(m_history); 523 visitor->trace(m_history);
522 } 524 }
523 525
524 } // namespace WebCore 526 } // namespace WebCore
525 527
OLDNEW
« no previous file with comments | « Source/core/inspector/ContentSearchUtils.cpp ('k') | Source/core/inspector/DOMPatchSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698