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

Side by Side Diff: Source/WebCore/inspector/DOMEditor.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: comments addressed 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
« no previous file with comments | « Source/WebCore/inspector/ContentSearchUtils.cpp ('k') | Source/WebCore/inspector/DOMEditor.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 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
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)
OLDNEW
« no previous file with comments | « Source/WebCore/inspector/ContentSearchUtils.cpp ('k') | Source/WebCore/inspector/DOMEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698