Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: Source/WebKit/chromium/src/WebPageSerializerImpl.cpp

Issue 14519003: Absolutify paths to dom/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix testrunner Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // know those old base tags are original content or added by JavaScript. If 72 // know those old base tags are original content or added by JavaScript. If
73 // they are added by JavaScript, it means when loading saved page, the script(s) 73 // they are added by JavaScript, it means when loading saved page, the script(s)
74 // will still insert base tag(s) to DOM, so the new added base tag(s) can 74 // will still insert base tag(s) to DOM, so the new added base tag(s) can
75 // override the incorrect base URL and make sure we alway load correct local 75 // override the incorrect base URL and make sure we alway load correct local
76 // saved resource files. 76 // saved resource files.
77 77
78 #include "config.h" 78 #include "config.h"
79 #include "WebPageSerializerImpl.h" 79 #include "WebPageSerializerImpl.h"
80 80
81 #include "DOMUtilitiesPrivate.h" 81 #include "DOMUtilitiesPrivate.h"
82 #include "Document.h"
83 #include "DocumentType.h"
84 #include "Element.h"
85 #include "HTMLAllCollection.h" 82 #include "HTMLAllCollection.h"
86 #include "HTMLElement.h" 83 #include "HTMLElement.h"
87 #include "HTMLFormElement.h" 84 #include "HTMLFormElement.h"
88 #include "HTMLMetaElement.h" 85 #include "HTMLMetaElement.h"
89 #include "HTMLNames.h" 86 #include "HTMLNames.h"
90 #include "WebFrameImpl.h" 87 #include "WebFrameImpl.h"
88 #include "core/dom/Document.h"
89 #include "core/dom/DocumentType.h"
90 #include "core/dom/Element.h"
91 #include "core/editing/markup.h" 91 #include "core/editing/markup.h"
92 #include "core/loader/DocumentLoader.h" 92 #include "core/loader/DocumentLoader.h"
93 #include "core/loader/FrameLoader.h" 93 #include "core/loader/FrameLoader.h"
94 #include "core/platform/KURL.h" 94 #include "core/platform/KURL.h"
95 #include "core/platform/text/TextEncoding.h" 95 #include "core/platform/text/TextEncoding.h"
96 #include <public/WebURL.h> 96 #include <public/WebURL.h>
97 #include <public/WebVector.h> 97 #include <public/WebVector.h>
98 98
99 using namespace WebCore; 99 using namespace WebCore;
100 100
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 522
523 encodeAndFlushBuffer(WebPageSerializerClient::CurrentFrameIsFinished, &p aram, ForceFlush); 523 encodeAndFlushBuffer(WebPageSerializerClient::CurrentFrameIsFinished, &p aram, ForceFlush);
524 } 524 }
525 525
526 ASSERT(m_dataBuffer.isEmpty()); 526 ASSERT(m_dataBuffer.isEmpty());
527 m_client->didSerializeDataForFrame(KURL(), WebCString("", 0), WebPageSeriali zerClient::AllFramesAreFinished); 527 m_client->didSerializeDataForFrame(KURL(), WebCString("", 0), WebPageSeriali zerClient::AllFramesAreFinished);
528 return didSerialization; 528 return didSerialization;
529 } 529 }
530 530
531 } // namespace WebKit 531 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebPageSerializer.cpp ('k') | Source/WebKit/chromium/src/WebPasswordFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698