| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 27 matching lines...) Expand all Loading... |
| 38 #include "Document.h" | 38 #include "Document.h" |
| 39 #include "Element.h" | 39 #include "Element.h" |
| 40 #include "Frame.h" | 40 #include "Frame.h" |
| 41 #include "HTMLFrameOwnerElement.h" | 41 #include "HTMLFrameOwnerElement.h" |
| 42 #include "HTMLHeadElement.h" | 42 #include "HTMLHeadElement.h" |
| 43 #include "HTMLImageElement.h" | 43 #include "HTMLImageElement.h" |
| 44 #include "HTMLLinkElement.h" | 44 #include "HTMLLinkElement.h" |
| 45 #include "HTMLMetaCharsetParser.h" | 45 #include "HTMLMetaCharsetParser.h" |
| 46 #include "HTMLNames.h" | 46 #include "HTMLNames.h" |
| 47 #include "HTMLStyleElement.h" | 47 #include "HTMLStyleElement.h" |
| 48 #include "HTTPParsers.h" | |
| 49 #include "MIMETypeRegistry.h" | 48 #include "MIMETypeRegistry.h" |
| 50 #include "MarkupAccumulator.h" | 49 #include "MarkupAccumulator.h" |
| 51 #include "Page.h" | 50 #include "Page.h" |
| 52 #include "StyleCachedImage.h" | 51 #include "StyleCachedImage.h" |
| 53 #include "StyleImage.h" | 52 #include "StyleImage.h" |
| 54 #include "StylePropertySet.h" | 53 #include "StylePropertySet.h" |
| 55 #include "StyleRule.h" | 54 #include "StyleRule.h" |
| 56 #include "StyleSheetContents.h" | 55 #include "StyleSheetContents.h" |
| 57 #include "Text.h" | 56 #include "Text.h" |
| 58 #include "TextEncoding.h" | 57 #include "TextEncoding.h" |
| 59 #include "core/platform/graphics/Image.h" | 58 #include "core/platform/graphics/Image.h" |
| 59 #include "core/platform/network/HTTPParsers.h" |
| 60 #include <wtf/text/CString.h> | 60 #include <wtf/text/CString.h> |
| 61 #include <wtf/text/StringBuilder.h> | 61 #include <wtf/text/StringBuilder.h> |
| 62 #include <wtf/text/WTFString.h> | 62 #include <wtf/text/WTFString.h> |
| 63 | 63 |
| 64 namespace WebCore { | 64 namespace WebCore { |
| 65 | 65 |
| 66 static bool isCharsetSpecifyingNode(Node* node) | 66 static bool isCharsetSpecifyingNode(Node* node) |
| 67 { | 67 { |
| 68 if (!node->isHTMLElement()) | 68 if (!node->isHTMLElement()) |
| 69 return false; | 69 return false; |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 if (iter != m_blankFrameURLs.end()) | 351 if (iter != m_blankFrameURLs.end()) |
| 352 return iter->value; | 352 return iter->value; |
| 353 String url = "wyciwyg://frame/" + String::number(m_blankFrameCounter++); | 353 String url = "wyciwyg://frame/" + String::number(m_blankFrameCounter++); |
| 354 KURL fakeURL(ParsedURLString, url); | 354 KURL fakeURL(ParsedURLString, url); |
| 355 m_blankFrameURLs.add(frame, fakeURL); | 355 m_blankFrameURLs.add(frame, fakeURL); |
| 356 | 356 |
| 357 return fakeURL; | 357 return fakeURL; |
| 358 } | 358 } |
| 359 | 359 |
| 360 } | 360 } |
| OLD | NEW |