| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2  * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 
| 3  *           (C) 1999 Antti Koivisto (koivisto@kde.org) | 3  *           (C) 1999 Antti Koivisto (koivisto@kde.org) | 
| 4  *           (C) 2001 Dirk Mueller (mueller@kde.org) | 4  *           (C) 2001 Dirk Mueller (mueller@kde.org) | 
| 5  * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5  * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 
| 6  * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) | 6  * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) | 
| 7  * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
     orchmobile.com/) | 7  * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
     orchmobile.com/) | 
| 8  * | 8  * | 
| 9  * This library is free software; you can redistribute it and/or | 9  * This library is free software; you can redistribute it and/or | 
| 10  * modify it under the terms of the GNU Library General Public | 10  * modify it under the terms of the GNU Library General Public | 
| (...skipping 29 matching lines...) Expand all  Loading... | 
| 40 #include "core/html/HTMLDocument.h" | 40 #include "core/html/HTMLDocument.h" | 
| 41 #include "core/html/HTMLMediaElement.h" | 41 #include "core/html/HTMLMediaElement.h" | 
| 42 #include "core/html/HTMLViewSourceDocument.h" | 42 #include "core/html/HTMLViewSourceDocument.h" | 
| 43 #include "core/html/ImageDocument.h" | 43 #include "core/html/ImageDocument.h" | 
| 44 #include "core/html/MediaDocument.h" | 44 #include "core/html/MediaDocument.h" | 
| 45 #include "core/html/PluginDocument.h" | 45 #include "core/html/PluginDocument.h" | 
| 46 #include "core/html/TextDocument.h" | 46 #include "core/html/TextDocument.h" | 
| 47 #include "core/loader/FrameLoader.h" | 47 #include "core/loader/FrameLoader.h" | 
| 48 #include "core/frame/Frame.h" | 48 #include "core/frame/Frame.h" | 
| 49 #include "core/page/Page.h" | 49 #include "core/page/Page.h" | 
| 50 #include "core/platform/MIMETypeRegistry.h" |  | 
| 51 #include "core/platform/graphics/Image.h" | 50 #include "core/platform/graphics/Image.h" | 
| 52 #include "core/platform/graphics/MediaPlayer.h" | 51 #include "core/platform/graphics/MediaPlayer.h" | 
| 53 #include "core/plugins/PluginData.h" | 52 #include "core/plugins/PluginData.h" | 
| 54 #include "core/svg/SVGDocument.h" | 53 #include "core/svg/SVGDocument.h" | 
| 55 #include "platform/ContentType.h" | 54 #include "platform/ContentType.h" | 
|  | 55 #include "platform/MIMETypeRegistry.h" | 
| 56 #include "weborigin/SecurityOrigin.h" | 56 #include "weborigin/SecurityOrigin.h" | 
| 57 #include "wtf/StdLibExtras.h" | 57 #include "wtf/StdLibExtras.h" | 
| 58 | 58 | 
| 59 namespace WebCore { | 59 namespace WebCore { | 
| 60 | 60 | 
| 61 typedef HashSet<String, CaseFoldingHash> FeatureSet; | 61 typedef HashSet<String, CaseFoldingHash> FeatureSet; | 
| 62 | 62 | 
| 63 static void addString(FeatureSet& set, const char* string) | 63 static void addString(FeatureSet& set, const char* string) | 
| 64 { | 64 { | 
| 65     set.add(string); | 65     set.add(string); | 
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 359         return TextDocument::create(init); | 359         return TextDocument::create(init); | 
| 360     if (type == "image/svg+xml") | 360     if (type == "image/svg+xml") | 
| 361         return SVGDocument::create(init); | 361         return SVGDocument::create(init); | 
| 362     if (isXMLMIMEType(type)) | 362     if (isXMLMIMEType(type)) | 
| 363         return Document::create(init); | 363         return Document::create(init); | 
| 364 | 364 | 
| 365     return HTMLDocument::create(init); | 365     return HTMLDocument::create(init); | 
| 366 } | 366 } | 
| 367 | 367 | 
| 368 } | 368 } | 
| OLD | NEW | 
|---|