| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 28 matching lines...) Expand all Loading... |
| 39 #include "core/frame/RemoteFrame.h" | 39 #include "core/frame/RemoteFrame.h" |
| 40 #include "core/html/HTMLAllCollection.h" | 40 #include "core/html/HTMLAllCollection.h" |
| 41 #include "core/html/HTMLFrameElementBase.h" | 41 #include "core/html/HTMLFrameElementBase.h" |
| 42 #include "core/html/HTMLFrameOwnerElement.h" | 42 #include "core/html/HTMLFrameOwnerElement.h" |
| 43 #include "core/html/HTMLInputElement.h" | 43 #include "core/html/HTMLInputElement.h" |
| 44 #include "core/html/HTMLTableElement.h" | 44 #include "core/html/HTMLTableElement.h" |
| 45 #include "core/loader/DocumentLoader.h" | 45 #include "core/loader/DocumentLoader.h" |
| 46 #include "platform/Histogram.h" | 46 #include "platform/Histogram.h" |
| 47 #include "platform/SerializedResource.h" | 47 #include "platform/SerializedResource.h" |
| 48 #include "platform/SharedBuffer.h" | 48 #include "platform/SharedBuffer.h" |
| 49 #include "platform/TraceEvent.h" | |
| 50 #include "platform/mhtml/MHTMLArchive.h" | 49 #include "platform/mhtml/MHTMLArchive.h" |
| 51 #include "platform/mhtml/MHTMLParser.h" | 50 #include "platform/mhtml/MHTMLParser.h" |
| 52 #include "platform/network/ResourceRequest.h" | 51 #include "platform/network/ResourceRequest.h" |
| 53 #include "platform/network/ResourceResponse.h" | 52 #include "platform/network/ResourceResponse.h" |
| 53 #include "platform/tracing/TraceEvent.h" |
| 54 #include "platform/weborigin/KURL.h" | 54 #include "platform/weborigin/KURL.h" |
| 55 #include "public/platform/WebString.h" | 55 #include "public/platform/WebString.h" |
| 56 #include "public/platform/WebURL.h" | 56 #include "public/platform/WebURL.h" |
| 57 #include "public/platform/WebURLResponse.h" | 57 #include "public/platform/WebURLResponse.h" |
| 58 #include "public/platform/WebVector.h" | 58 #include "public/platform/WebVector.h" |
| 59 #include "public/web/WebDataSource.h" | 59 #include "public/web/WebDataSource.h" |
| 60 #include "public/web/WebDocument.h" | 60 #include "public/web/WebDocument.h" |
| 61 #include "public/web/WebFrame.h" | 61 #include "public/web/WebFrame.h" |
| 62 #include "public/web/WebFrameSerializerCacheControlPolicy.h" | 62 #include "public/web/WebFrameSerializerCacheControlPolicy.h" |
| 63 #include "public/web/WebFrameSerializerClient.h" | 63 #include "public/web/WebFrameSerializerClient.h" |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 const WebString& baseTarget) { | 306 const WebString& baseTarget) { |
| 307 // TODO(yosin) We should call |FrameSerializer::baseTagDeclarationOf()|. | 307 // TODO(yosin) We should call |FrameSerializer::baseTagDeclarationOf()|. |
| 308 if (baseTarget.isEmpty()) | 308 if (baseTarget.isEmpty()) |
| 309 return String("<base href=\".\">"); | 309 return String("<base href=\".\">"); |
| 310 String baseString = "<base href=\".\" target=\"" + | 310 String baseString = "<base href=\".\" target=\"" + |
| 311 static_cast<const String&>(baseTarget) + "\">"; | 311 static_cast<const String&>(baseTarget) + "\">"; |
| 312 return baseString; | 312 return baseString; |
| 313 } | 313 } |
| 314 | 314 |
| 315 } // namespace blink | 315 } // namespace blink |
| OLD | NEW |