| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 26 matching lines...) Expand all Loading... |
| 37 #include "core/HTMLNames.h" | 37 #include "core/HTMLNames.h" |
| 38 #include "core/HTMLTokenizerNames.h" | 38 #include "core/HTMLTokenizerNames.h" |
| 39 #include "core/InputTypeNames.h" | 39 #include "core/InputTypeNames.h" |
| 40 #include "core/MathMLNames.h" | 40 #include "core/MathMLNames.h" |
| 41 #include "core/MediaFeatureNames.h" | 41 #include "core/MediaFeatureNames.h" |
| 42 #include "core/MediaTypeNames.h" | 42 #include "core/MediaTypeNames.h" |
| 43 #include "core/SVGNames.h" | 43 #include "core/SVGNames.h" |
| 44 #include "core/XLinkNames.h" | 44 #include "core/XLinkNames.h" |
| 45 #include "core/XMLNSNames.h" | 45 #include "core/XMLNSNames.h" |
| 46 #include "core/XMLNames.h" | 46 #include "core/XMLNames.h" |
| 47 #include "core/css/MediaQueryEvaluator.h" |
| 47 #include "core/css/parser/CSSParserTokenRange.h" | 48 #include "core/css/parser/CSSParserTokenRange.h" |
| 48 #include "core/dom/Document.h" | 49 #include "core/dom/Document.h" |
| 49 #include "core/dom/StyleChangeReason.h" | 50 #include "core/dom/StyleChangeReason.h" |
| 50 #include "core/events/EventFactory.h" | 51 #include "core/events/EventFactory.h" |
| 51 #include "core/fetch/FetchInitiatorTypeNames.h" | 52 #include "core/fetch/FetchInitiatorTypeNames.h" |
| 52 #include "core/html/canvas/CanvasRenderingContextFactory.h" | 53 #include "core/html/canvas/CanvasRenderingContextFactory.h" |
| 53 #include "core/html/parser/HTMLParserThread.h" | 54 #include "core/html/parser/HTMLParserThread.h" |
| 54 #include "core/workers/WorkerThread.h" | 55 #include "core/workers/WorkerThread.h" |
| 55 #include "platform/EventTracer.h" | 56 #include "platform/EventTracer.h" |
| 56 #include "platform/FontFamilyNames.h" | 57 #include "platform/FontFamilyNames.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 EventTargetNames::init(); | 120 EventTargetNames::init(); |
| 120 EventTypeNames::init(); | 121 EventTypeNames::init(); |
| 121 FetchInitiatorTypeNames::init(); | 122 FetchInitiatorTypeNames::init(); |
| 122 FontFamilyNames::init(); | 123 FontFamilyNames::init(); |
| 123 HTMLTokenizerNames::init(); | 124 HTMLTokenizerNames::init(); |
| 124 HTTPNames::init(); | 125 HTTPNames::init(); |
| 125 InputTypeNames::init(); | 126 InputTypeNames::init(); |
| 126 MediaFeatureNames::init(); | 127 MediaFeatureNames::init(); |
| 127 MediaTypeNames::init(); | 128 MediaTypeNames::init(); |
| 128 | 129 |
| 130 MediaQueryEvaluator::init(); |
| 129 CSSParserTokenRange::initStaticEOFToken(); | 131 CSSParserTokenRange::initStaticEOFToken(); |
| 130 | 132 |
| 131 StyleChangeExtraData::init(); | 133 StyleChangeExtraData::init(); |
| 132 | 134 |
| 133 EventTracer::initialize(); | 135 EventTracer::initialize(); |
| 134 KURL::initialize(); | 136 KURL::initialize(); |
| 135 SchemeRegistry::initialize(); | 137 SchemeRegistry::initialize(); |
| 136 SecurityPolicy::init(); | 138 SecurityPolicy::init(); |
| 137 | 139 |
| 138 registerEventFactory(); | 140 registerEventFactory(); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 155 // Make sure we stop the HTMLParserThread before Platform::current() is | 157 // Make sure we stop the HTMLParserThread before Platform::current() is |
| 156 // cleared. | 158 // cleared. |
| 157 ASSERT(Platform::current()); | 159 ASSERT(Platform::current()); |
| 158 if (!RuntimeEnabledFeatures::parseHTMLOnMainThreadEnabled()) | 160 if (!RuntimeEnabledFeatures::parseHTMLOnMainThreadEnabled()) |
| 159 HTMLParserThread::shutdown(); | 161 HTMLParserThread::shutdown(); |
| 160 | 162 |
| 161 WorkerThread::terminateAndWaitForAllWorkers(); | 163 WorkerThread::terminateAndWaitForAllWorkers(); |
| 162 } | 164 } |
| 163 | 165 |
| 164 } // namespace blink | 166 } // namespace blink |
| OLD | NEW |