OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // How we handle the base tag better. | 5 // How we handle the base tag better. |
6 // Current status: | 6 // Current status: |
7 // At now the normal way we use to handling base tag is | 7 // At now the normal way we use to handling base tag is |
8 // a) For those links which have corresponding local saved files, such as | 8 // a) For those links which have corresponding local saved files, such as |
9 // savable CSS, JavaScript files, they will be written to relative URLs which | 9 // savable CSS, JavaScript files, they will be written to relative URLs which |
10 // point to local saved file. Why those links can not be resolved as absolute | 10 // point to local saved file. Why those links can not be resolved as absolute |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 #include "KURL.h" | 66 #include "KURL.h" |
67 #include "markup.h" | 67 #include "markup.h" |
68 #include "PlatformString.h" | 68 #include "PlatformString.h" |
69 #include "TextEncoding.h" | 69 #include "TextEncoding.h" |
70 MSVC_POP_WARNING(); | 70 MSVC_POP_WARNING(); |
71 #undef LOG | 71 #undef LOG |
72 | 72 |
73 #include "webkit/glue/dom_serializer.h" | 73 #include "webkit/glue/dom_serializer.h" |
74 | 74 |
75 #include "base/string_util.h" | 75 #include "base/string_util.h" |
76 #include "webkit/api/src/WebFrameImpl.h" | 76 #include "third_party/WebKit/WebKit/chromium/src/WebFrameImpl.h" |
77 #include "webkit/glue/dom_operations.h" | 77 #include "webkit/glue/dom_operations.h" |
78 #include "webkit/glue/dom_operations_private.h" | 78 #include "webkit/glue/dom_operations_private.h" |
79 #include "webkit/glue/dom_serializer_delegate.h" | 79 #include "webkit/glue/dom_serializer_delegate.h" |
80 #include "webkit/glue/entity_map.h" | 80 #include "webkit/glue/entity_map.h" |
81 #include "webkit/glue/glue_util.h" | 81 #include "webkit/glue/glue_util.h" |
82 | 82 |
83 using WebKit::WebFrame; | 83 using WebKit::WebFrame; |
84 using WebKit::WebFrameImpl; | 84 using WebKit::WebFrameImpl; |
85 | 85 |
86 namespace { | 86 namespace { |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 // We have done call frames, so we send message to embedder to tell it that | 614 // We have done call frames, so we send message to embedder to tell it that |
615 // frames are finished serializing. | 615 // frames are finished serializing. |
616 DCHECK(data_buffer_.empty()); | 616 DCHECK(data_buffer_.empty()); |
617 delegate_->DidSerializeDataForFrame(GURL(), data_buffer_, | 617 delegate_->DidSerializeDataForFrame(GURL(), data_buffer_, |
618 DomSerializerDelegate::ALL_FRAMES_ARE_FINISHED); | 618 DomSerializerDelegate::ALL_FRAMES_ARE_FINISHED); |
619 | 619 |
620 return did_serialization; | 620 return did_serialization; |
621 } | 621 } |
622 | 622 |
623 } // namespace webkit_glue | 623 } // namespace webkit_glue |
OLD | NEW |