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

Side by Side Diff: Source/core/editing/markup.cpp

Issue 17388003: Remove unused includes from core/{editing,fileapi,history,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 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/editing/VisibleUnits.cpp ('k') | Source/core/fileapi/Blob.h » ('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) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved.
4 * Copyright (C) 2011 Igalia S.L. 4 * Copyright (C) 2011 Igalia S.L.
5 * Copyright (C) 2011 Motorola Mobility. All rights reserved. 5 * Copyright (C) 2011 Motorola Mobility. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 14 matching lines...) Expand all
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/editing/markup.h" 30 #include "core/editing/markup.h"
31 31
32 #include "CSSPropertyNames.h" 32 #include "CSSPropertyNames.h"
33 #include "CSSValueKeywords.h" 33 #include "CSSValueKeywords.h"
34 #include "HTMLNames.h" 34 #include "HTMLNames.h"
35 #include "XMLNSNames.h"
36 #include "core/css/CSSPrimitiveValue.h" 35 #include "core/css/CSSPrimitiveValue.h"
37 #include "core/css/CSSRule.h"
38 #include "core/css/CSSRuleList.h"
39 #include "core/css/CSSStyleRule.h"
40 #include "core/css/CSSValue.h" 36 #include "core/css/CSSValue.h"
41 #include "core/css/StylePropertySet.h" 37 #include "core/css/StylePropertySet.h"
42 #include "core/css/resolver/StyleResolver.h"
43 #include "core/dom/CDATASection.h" 38 #include "core/dom/CDATASection.h"
44 #include "core/dom/ChildListMutationScope.h" 39 #include "core/dom/ChildListMutationScope.h"
45 #include "core/dom/ContextFeatures.h" 40 #include "core/dom/ContextFeatures.h"
46 #include "core/dom/DocumentFragment.h" 41 #include "core/dom/DocumentFragment.h"
47 #include "core/dom/DocumentType.h"
48 #include "core/dom/ExceptionCode.h" 42 #include "core/dom/ExceptionCode.h"
49 #include "core/dom/ExceptionCodePlaceholder.h" 43 #include "core/dom/ExceptionCodePlaceholder.h"
50 #include "core/dom/NodeTraversal.h" 44 #include "core/dom/NodeTraversal.h"
51 #include "core/dom/Range.h" 45 #include "core/dom/Range.h"
52 #include "core/editing/Editor.h" 46 #include "core/editing/Editor.h"
53 #include "core/editing/MarkupAccumulator.h" 47 #include "core/editing/MarkupAccumulator.h"
54 #include "core/editing/TextIterator.h" 48 #include "core/editing/TextIterator.h"
55 #include "core/editing/VisibleSelection.h" 49 #include "core/editing/VisibleSelection.h"
56 #include "core/editing/VisibleUnits.h" 50 #include "core/editing/VisibleUnits.h"
57 #include "core/editing/htmlediting.h" 51 #include "core/editing/htmlediting.h"
58 #include "core/html/HTMLBodyElement.h" 52 #include "core/html/HTMLBodyElement.h"
59 #include "core/html/HTMLElement.h" 53 #include "core/html/HTMLElement.h"
60 #include "core/html/HTMLTextFormControlElement.h" 54 #include "core/html/HTMLTextFormControlElement.h"
61 #include "core/page/Frame.h" 55 #include "core/page/Frame.h"
62 #include "core/page/Settings.h"
63 #include "core/rendering/RenderBlock.h"
64 #include "core/rendering/RenderObject.h" 56 #include "core/rendering/RenderObject.h"
65 #include "weborigin/KURL.h" 57 #include "weborigin/KURL.h"
66 #include "wtf/StdLibExtras.h" 58 #include "wtf/StdLibExtras.h"
67 #include "wtf/text/StringBuilder.h" 59 #include "wtf/text/StringBuilder.h"
68 #include "wtf/unicode/CharacterNames.h"
69 60
70 using namespace std; 61 using namespace std;
71 62
72 namespace WebCore { 63 namespace WebCore {
73 64
74 using namespace HTMLNames; 65 using namespace HTMLNames;
75 66
76 static bool propertyMissingOrEqualToNone(StylePropertySet*, CSSPropertyID); 67 static bool propertyMissingOrEqualToNone(StylePropertySet*, CSSPropertyID);
77 68
78 class AttributeChange { 69 class AttributeChange {
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 if (hasOneChild(containerNode.get())) { 1083 if (hasOneChild(containerNode.get())) {
1093 containerNode->replaceChild(textNode.release(), containerNode->firstChil d(), ec); 1084 containerNode->replaceChild(textNode.release(), containerNode->firstChil d(), ec);
1094 return; 1085 return;
1095 } 1086 }
1096 1087
1097 containerNode->removeChildren(); 1088 containerNode->removeChildren();
1098 containerNode->appendChild(textNode.release(), ec); 1089 containerNode->appendChild(textNode.release(), ec);
1099 } 1090 }
1100 1091
1101 } 1092 }
OLDNEW
« no previous file with comments | « Source/core/editing/VisibleUnits.cpp ('k') | Source/core/fileapi/Blob.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698