| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "core/html/HTMLFrameOwnerElement.h" | 53 #include "core/html/HTMLFrameOwnerElement.h" |
| 54 #include "core/html/HTMLImageElement.h" | 54 #include "core/html/HTMLImageElement.h" |
| 55 #include "core/html/HTMLInputElement.h" | 55 #include "core/html/HTMLInputElement.h" |
| 56 #include "core/html/HTMLLinkElement.h" | 56 #include "core/html/HTMLLinkElement.h" |
| 57 #include "core/html/HTMLMetaElement.h" | 57 #include "core/html/HTMLMetaElement.h" |
| 58 #include "core/html/HTMLStyleElement.h" | 58 #include "core/html/HTMLStyleElement.h" |
| 59 #include "core/html/parser/HTMLParserIdioms.h" | 59 #include "core/html/parser/HTMLParserIdioms.h" |
| 60 #include "core/layout/style/StyleFetchedImage.h" | 60 #include "core/layout/style/StyleFetchedImage.h" |
| 61 #include "core/layout/style/StyleImage.h" | 61 #include "core/layout/style/StyleImage.h" |
| 62 #include "core/page/Page.h" | 62 #include "core/page/Page.h" |
| 63 #include "core/rendering/RenderImage.h" | |
| 64 #include "platform/SerializedResource.h" | 63 #include "platform/SerializedResource.h" |
| 65 #include "platform/graphics/Image.h" | 64 #include "platform/graphics/Image.h" |
| 66 #include "wtf/text/CString.h" | 65 #include "wtf/text/CString.h" |
| 67 #include "wtf/text/StringBuilder.h" | 66 #include "wtf/text/StringBuilder.h" |
| 68 #include "wtf/text/TextEncoding.h" | 67 #include "wtf/text/TextEncoding.h" |
| 69 #include "wtf/text/WTFString.h" | 68 #include "wtf/text/WTFString.h" |
| 70 | 69 |
| 71 namespace blink { | 70 namespace blink { |
| 72 | 71 |
| 73 static bool isCharsetSpecifyingNode(const Node& node) | 72 static bool isCharsetSpecifyingNode(const Node& node) |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 if (iter != m_blankFrameURLs.end()) | 381 if (iter != m_blankFrameURLs.end()) |
| 383 return iter->value; | 382 return iter->value; |
| 384 String url = "wyciwyg://frame/" + String::number(m_blankFrameCounter++); | 383 String url = "wyciwyg://frame/" + String::number(m_blankFrameCounter++); |
| 385 KURL fakeURL(ParsedURLString, url); | 384 KURL fakeURL(ParsedURLString, url); |
| 386 m_blankFrameURLs.add(frame, fakeURL); | 385 m_blankFrameURLs.add(frame, fakeURL); |
| 387 | 386 |
| 388 return fakeURL; | 387 return fakeURL; |
| 389 } | 388 } |
| 390 | 389 |
| 391 } // namespace blink | 390 } // namespace blink |
| OLD | NEW |