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 29 matching lines...) Expand all Loading... |
40 #include "core/css/CSSStyleDeclaration.h" | 40 #include "core/css/CSSStyleDeclaration.h" |
41 #include "core/css/CSSStyleRule.h" | 41 #include "core/css/CSSStyleRule.h" |
42 #include "core/css/CSSValueList.h" | 42 #include "core/css/CSSValueList.h" |
43 #include "core/css/StylePropertySet.h" | 43 #include "core/css/StylePropertySet.h" |
44 #include "core/css/StyleRule.h" | 44 #include "core/css/StyleRule.h" |
45 #include "core/css/StyleSheetContents.h" | 45 #include "core/css/StyleSheetContents.h" |
46 #include "core/dom/Document.h" | 46 #include "core/dom/Document.h" |
47 #include "core/dom/Element.h" | 47 #include "core/dom/Element.h" |
48 #include "core/dom/Text.h" | 48 #include "core/dom/Text.h" |
49 #include "core/editing/serializers/MarkupAccumulator.h" | 49 #include "core/editing/serializers/MarkupAccumulator.h" |
50 #include "core/fetch/ImageResourceContent.h" | |
51 #include "core/frame/LocalFrame.h" | 50 #include "core/frame/LocalFrame.h" |
52 #include "core/html/HTMLFrameElementBase.h" | 51 #include "core/html/HTMLFrameElementBase.h" |
53 #include "core/html/HTMLImageElement.h" | 52 #include "core/html/HTMLImageElement.h" |
54 #include "core/html/HTMLInputElement.h" | 53 #include "core/html/HTMLInputElement.h" |
55 #include "core/html/HTMLLinkElement.h" | 54 #include "core/html/HTMLLinkElement.h" |
56 #include "core/html/HTMLMetaElement.h" | 55 #include "core/html/HTMLMetaElement.h" |
57 #include "core/html/HTMLStyleElement.h" | 56 #include "core/html/HTMLStyleElement.h" |
58 #include "core/html/ImageDocument.h" | 57 #include "core/html/ImageDocument.h" |
59 #include "core/loader/resource/FontResource.h" | 58 #include "core/loader/resource/FontResource.h" |
| 59 #include "core/loader/resource/ImageResourceContent.h" |
60 #include "core/style/StyleFetchedImage.h" | 60 #include "core/style/StyleFetchedImage.h" |
61 #include "core/style/StyleImage.h" | 61 #include "core/style/StyleImage.h" |
62 #include "platform/Histogram.h" | 62 #include "platform/Histogram.h" |
63 #include "platform/SerializedResource.h" | 63 #include "platform/SerializedResource.h" |
64 #include "platform/graphics/Image.h" | 64 #include "platform/graphics/Image.h" |
65 #include "platform/heap/Handle.h" | 65 #include "platform/heap/Handle.h" |
66 #include "platform/tracing/TraceEvent.h" | 66 #include "platform/tracing/TraceEvent.h" |
67 #include "wtf/HashSet.h" | 67 #include "wtf/HashSet.h" |
68 #include "wtf/text/CString.h" | 68 #include "wtf/text/CString.h" |
69 #include "wtf/text/StringBuilder.h" | 69 #include "wtf/text/StringBuilder.h" |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 emitsMinus = ch == '-'; | 579 emitsMinus = ch == '-'; |
580 builder.append(ch); | 580 builder.append(ch); |
581 } | 581 } |
582 CString escapedUrl = builder.toString().ascii(); | 582 CString escapedUrl = builder.toString().ascii(); |
583 return String::format("saved from url=(%04d)%s", | 583 return String::format("saved from url=(%04d)%s", |
584 static_cast<int>(escapedUrl.length()), | 584 static_cast<int>(escapedUrl.length()), |
585 escapedUrl.data()); | 585 escapedUrl.data()); |
586 } | 586 } |
587 | 587 |
588 } // namespace blink | 588 } // namespace blink |
OLD | NEW |