OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "HTMLFormElement.h" | 40 #include "HTMLFormElement.h" |
41 #include "HTMLHtmlElement.h" | 41 #include "HTMLHtmlElement.h" |
42 #include "HTMLNames.h" | 42 #include "HTMLNames.h" |
43 #include "HTMLParserIdioms.h" | 43 #include "HTMLParserIdioms.h" |
44 #include "HTMLPlugInElement.h" | 44 #include "HTMLPlugInElement.h" |
45 #include "HTMLScriptElement.h" | 45 #include "HTMLScriptElement.h" |
46 #include "HTMLStackItem.h" | 46 #include "HTMLStackItem.h" |
47 #include "HTMLTemplateElement.h" | 47 #include "HTMLTemplateElement.h" |
48 #include "HTMLToken.h" | 48 #include "HTMLToken.h" |
49 #include "HTMLTokenizer.h" | 49 #include "HTMLTokenizer.h" |
50 #include "LocalizedStrings.h" | |
51 #include "NotImplemented.h" | |
52 #include "Settings.h" | 50 #include "Settings.h" |
53 #include "Text.h" | 51 #include "Text.h" |
| 52 #include "core/platform/LocalizedStrings.h" |
| 53 #include "core/platform/NotImplemented.h" |
54 #include <wtf/UnusedParam.h> | 54 #include <wtf/UnusedParam.h> |
55 | 55 |
56 namespace WebCore { | 56 namespace WebCore { |
57 | 57 |
58 using namespace HTMLNames; | 58 using namespace HTMLNames; |
59 | 59 |
60 static const unsigned maximumHTMLParserDOMTreeDepth = 512; | 60 static const unsigned maximumHTMLParserDOMTreeDepth = 512; |
61 | 61 |
62 static inline void setAttributes(Element* element, AtomicHTMLToken* token, Parse
rContentPolicy parserContentPolicy) | 62 static inline void setAttributes(Element* element, AtomicHTMLToken* token, Parse
rContentPolicy parserContentPolicy) |
63 { | 63 { |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 { | 648 { |
649 HTMLConstructionSiteTask task; | 649 HTMLConstructionSiteTask task; |
650 findFosterSite(task); | 650 findFosterSite(task); |
651 task.child = node; | 651 task.child = node; |
652 ASSERT(task.parent); | 652 ASSERT(task.parent); |
653 | 653 |
654 m_attachmentQueue.append(task); | 654 m_attachmentQueue.append(task); |
655 } | 655 } |
656 | 656 |
657 } | 657 } |
OLD | NEW |