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

Side by Side Diff: Source/WebCore/inspector/DOMPatchSupport.h

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
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 28 matching lines...) Expand all
39 #include <wtf/Vector.h> 39 #include <wtf/Vector.h>
40 #include <wtf/text/WTFString.h> 40 #include <wtf/text/WTFString.h>
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 class ContainerNode; 44 class ContainerNode;
45 class DOMEditor; 45 class DOMEditor;
46 class Document; 46 class Document;
47 class Node; 47 class Node;
48 48
49 #if ENABLE(INSPECTOR)
50 49
51 class DOMPatchSupport { 50 class DOMPatchSupport {
52 WTF_MAKE_NONCOPYABLE(DOMPatchSupport); 51 WTF_MAKE_NONCOPYABLE(DOMPatchSupport);
53 public: 52 public:
54 static void patchDocument(Document*, const String& markup); 53 static void patchDocument(Document*, const String& markup);
55 54
56 DOMPatchSupport(DOMEditor*, Document*); 55 DOMPatchSupport(DOMEditor*, Document*);
57 virtual ~DOMPatchSupport(); 56 virtual ~DOMPatchSupport();
58 57
59 void patchDocument(const String& markup); 58 void patchDocument(const String& markup);
(...skipping 14 matching lines...) Expand all
74 #ifdef DEBUG_DOM_PATCH_SUPPORT 73 #ifdef DEBUG_DOM_PATCH_SUPPORT
75 void dumpMap(const ResultMap&, const String& name); 74 void dumpMap(const ResultMap&, const String& name);
76 #endif 75 #endif
77 76
78 DOMEditor* m_domEditor; 77 DOMEditor* m_domEditor;
79 Document* m_document; 78 Document* m_document;
80 79
81 UnusedNodesMap m_unusedNodesMap; 80 UnusedNodesMap m_unusedNodesMap;
82 }; 81 };
83 82
84 #endif // ENABLE(INSPECTOR)
85 83
86 } // namespace WebCore 84 } // namespace WebCore
87 85
88 #endif // !defined(DOMPatchSupport_h) 86 #endif // !defined(DOMPatchSupport_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698