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

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

Issue 15072003: Move StyleResolver and related classes to core/css/resolver (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/core/editing/Editor.cpp ('k') | Source/core/html/HTMLDialogElement.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) 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 21 matching lines...) Expand all
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" 35 #include "XMLNSNames.h"
36 #include "core/css/CSSPrimitiveValue.h" 36 #include "core/css/CSSPrimitiveValue.h"
37 #include "core/css/CSSRule.h" 37 #include "core/css/CSSRule.h"
38 #include "core/css/CSSRuleList.h" 38 #include "core/css/CSSRuleList.h"
39 #include "core/css/CSSStyleRule.h" 39 #include "core/css/CSSStyleRule.h"
40 #include "core/css/CSSValue.h" 40 #include "core/css/CSSValue.h"
41 #include "core/css/StylePropertySet.h" 41 #include "core/css/StylePropertySet.h"
42 #include "core/css/StyleResolver.h" 42 #include "core/css/resolver/StyleResolver.h"
43 #include "core/dom/CDATASection.h" 43 #include "core/dom/CDATASection.h"
44 #include "core/dom/ChildListMutationScope.h" 44 #include "core/dom/ChildListMutationScope.h"
45 #include "core/dom/ContextFeatures.h" 45 #include "core/dom/ContextFeatures.h"
46 #include "core/dom/DocumentFragment.h" 46 #include "core/dom/DocumentFragment.h"
47 #include "core/dom/DocumentType.h" 47 #include "core/dom/DocumentType.h"
48 #include "core/dom/ExceptionCode.h" 48 #include "core/dom/ExceptionCode.h"
49 #include "core/dom/ExceptionCodePlaceholder.h" 49 #include "core/dom/ExceptionCodePlaceholder.h"
50 #include "core/dom/NodeTraversal.h" 50 #include "core/dom/NodeTraversal.h"
51 #include "core/dom/Range.h" 51 #include "core/dom/Range.h"
52 #include "core/editing/Editor.h" 52 #include "core/editing/Editor.h"
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 if (hasOneChild(containerNode.get())) { 1092 if (hasOneChild(containerNode.get())) {
1093 containerNode->replaceChild(textNode.release(), containerNode->firstChil d(), ec); 1093 containerNode->replaceChild(textNode.release(), containerNode->firstChil d(), ec);
1094 return; 1094 return;
1095 } 1095 }
1096 1096
1097 containerNode->removeChildren(); 1097 containerNode->removeChildren();
1098 containerNode->appendChild(textNode.release(), ec); 1098 containerNode->appendChild(textNode.release(), ec);
1099 } 1099 }
1100 1100
1101 } 1101 }
OLDNEW
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/html/HTMLDialogElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698