| 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 25 matching lines...) Expand all Loading... |
| 36 #include "core/css/CSSImportRule.h" | 36 #include "core/css/CSSImportRule.h" |
| 37 #include "core/css/CSSStyleRule.h" | 37 #include "core/css/CSSStyleRule.h" |
| 38 #include "core/css/StylePropertySet.h" | 38 #include "core/css/StylePropertySet.h" |
| 39 #include "core/css/StyleRule.h" | 39 #include "core/css/StyleRule.h" |
| 40 #include "core/css/StyleSheetContents.h" | 40 #include "core/css/StyleSheetContents.h" |
| 41 #include "core/dom/Document.h" | 41 #include "core/dom/Document.h" |
| 42 #include "core/dom/Element.h" | 42 #include "core/dom/Element.h" |
| 43 #include "core/dom/Text.h" | 43 #include "core/dom/Text.h" |
| 44 #include "core/editing/MarkupAccumulator.h" | 44 #include "core/editing/MarkupAccumulator.h" |
| 45 #include "core/html/HTMLFrameOwnerElement.h" | 45 #include "core/html/HTMLFrameOwnerElement.h" |
| 46 #include "core/html/HTMLHeadElement.h" | |
| 47 #include "core/html/HTMLImageElement.h" | 46 #include "core/html/HTMLImageElement.h" |
| 48 #include "core/html/HTMLLinkElement.h" | 47 #include "core/html/HTMLLinkElement.h" |
| 49 #include "core/html/HTMLStyleElement.h" | 48 #include "core/html/HTMLStyleElement.h" |
| 50 #include "core/html/parser/HTMLMetaCharsetParser.h" | 49 #include "core/html/parser/HTMLMetaCharsetParser.h" |
| 51 #include "core/loader/cache/CachedImage.h" | 50 #include "core/loader/cache/CachedImage.h" |
| 52 #include "core/page/Frame.h" | 51 #include "core/page/Frame.h" |
| 53 #include "core/page/Page.h" | 52 #include "core/page/Page.h" |
| 54 #include "core/platform/MIMETypeRegistry.h" | |
| 55 #include "core/platform/SerializedResource.h" | 53 #include "core/platform/SerializedResource.h" |
| 56 #include "core/platform/graphics/Image.h" | 54 #include "core/platform/graphics/Image.h" |
| 57 #include "core/platform/network/HTTPParsers.h" | |
| 58 #include "core/rendering/style/StyleCachedImage.h" | 55 #include "core/rendering/style/StyleCachedImage.h" |
| 59 #include "core/rendering/style/StyleImage.h" | 56 #include "core/rendering/style/StyleImage.h" |
| 60 #include "wtf/text/CString.h" | 57 #include "wtf/text/CString.h" |
| 61 #include "wtf/text/StringBuilder.h" | 58 #include "wtf/text/StringBuilder.h" |
| 62 #include "wtf/text/TextEncoding.h" | 59 #include "wtf/text/TextEncoding.h" |
| 63 #include "wtf/text/WTFString.h" | 60 #include "wtf/text/WTFString.h" |
| 64 | 61 |
| 65 namespace WebCore { | 62 namespace WebCore { |
| 66 | 63 |
| 67 static bool isCharsetSpecifyingNode(Node* node) | 64 static bool isCharsetSpecifyingNode(Node* node) |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 if (iter != m_blankFrameURLs.end()) | 336 if (iter != m_blankFrameURLs.end()) |
| 340 return iter->value; | 337 return iter->value; |
| 341 String url = "wyciwyg://frame/" + String::number(m_blankFrameCounter++); | 338 String url = "wyciwyg://frame/" + String::number(m_blankFrameCounter++); |
| 342 KURL fakeURL(ParsedURLString, url); | 339 KURL fakeURL(ParsedURLString, url); |
| 343 m_blankFrameURLs.add(frame, fakeURL); | 340 m_blankFrameURLs.add(frame, fakeURL); |
| 344 | 341 |
| 345 return fakeURL; | 342 return fakeURL; |
| 346 } | 343 } |
| 347 | 344 |
| 348 } | 345 } |
| OLD | NEW |