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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp

Issue 2197953002: Remove unnecessary uses of HTMLDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: simplify Created 4 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011, 2014 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 2014 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 15 matching lines...) Expand all
26 26
27 #include "core/html/parser/HTMLTreeBuilder.h" 27 #include "core/html/parser/HTMLTreeBuilder.h"
28 28
29 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 29 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
30 #include "core/HTMLNames.h" 30 #include "core/HTMLNames.h"
31 #include "core/MathMLNames.h" 31 #include "core/MathMLNames.h"
32 #include "core/SVGNames.h" 32 #include "core/SVGNames.h"
33 #include "core/XLinkNames.h" 33 #include "core/XLinkNames.h"
34 #include "core/XMLNSNames.h" 34 #include "core/XMLNSNames.h"
35 #include "core/XMLNames.h" 35 #include "core/XMLNames.h"
36 #include "core/dom/Document.h"
36 #include "core/dom/DocumentFragment.h" 37 #include "core/dom/DocumentFragment.h"
37 #include "core/dom/ElementTraversal.h" 38 #include "core/dom/ElementTraversal.h"
38 #include "core/frame/UseCounter.h" 39 #include "core/frame/UseCounter.h"
39 #include "core/html/HTMLDocument.h"
40 #include "core/html/HTMLFormElement.h" 40 #include "core/html/HTMLFormElement.h"
41 #include "core/html/HTMLTemplateElement.h" 41 #include "core/html/HTMLTemplateElement.h"
42 #include "core/html/parser/AtomicHTMLToken.h" 42 #include "core/html/parser/AtomicHTMLToken.h"
43 #include "core/html/parser/HTMLDocumentParser.h" 43 #include "core/html/parser/HTMLDocumentParser.h"
44 #include "core/html/parser/HTMLParserIdioms.h" 44 #include "core/html/parser/HTMLParserIdioms.h"
45 #include "core/html/parser/HTMLStackItem.h" 45 #include "core/html/parser/HTMLStackItem.h"
46 #include "core/html/parser/HTMLToken.h" 46 #include "core/html/parser/HTMLToken.h"
47 #include "core/html/parser/HTMLTokenizer.h" 47 #include "core/html/parser/HTMLTokenizer.h"
48 #include "platform/text/PlatformLocale.h" 48 #include "platform/text/PlatformLocale.h"
49 #include "wtf/text/CharacterNames.h" 49 #include "wtf/text/CharacterNames.h"
(...skipping 2779 matching lines...) Expand 10 before | Expand all | Expand 10 after
2829 DEFINE_STRINGIFY(AfterFramesetMode) 2829 DEFINE_STRINGIFY(AfterFramesetMode)
2830 DEFINE_STRINGIFY(AfterAfterBodyMode) 2830 DEFINE_STRINGIFY(AfterAfterBodyMode)
2831 DEFINE_STRINGIFY(AfterAfterFramesetMode) 2831 DEFINE_STRINGIFY(AfterAfterFramesetMode)
2832 #undef DEFINE_STRINGIFY 2832 #undef DEFINE_STRINGIFY
2833 } 2833 }
2834 return "<unknown>"; 2834 return "<unknown>";
2835 } 2835 }
2836 #endif 2836 #endif
2837 2837
2838 } // namespace blink 2838 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698