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

Side by Side Diff: Source/web/WebPageSerializerImpl.cpp

Issue 343733002: Qualify core include file in web and bindings, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // base tags and append new base tag after each old base tag because we do not 71 // base tags and append new base tag after each old base tag because we do not
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 "web/WebPageSerializerImpl.h" 79 #include "web/WebPageSerializerImpl.h"
80 80
81 #include "HTMLNames.h" 81 #include "core/HTMLNames.h"
82 #include "core/dom/Document.h" 82 #include "core/dom/Document.h"
83 #include "core/dom/DocumentType.h" 83 #include "core/dom/DocumentType.h"
84 #include "core/dom/Element.h" 84 #include "core/dom/Element.h"
85 #include "core/editing/markup.h" 85 #include "core/editing/markup.h"
86 #include "core/html/HTMLAllCollection.h" 86 #include "core/html/HTMLAllCollection.h"
87 #include "core/html/HTMLElement.h" 87 #include "core/html/HTMLElement.h"
88 #include "core/html/HTMLFormElement.h" 88 #include "core/html/HTMLFormElement.h"
89 #include "core/html/HTMLHtmlElement.h" 89 #include "core/html/HTMLHtmlElement.h"
90 #include "core/html/HTMLMetaElement.h" 90 #include "core/html/HTMLMetaElement.h"
91 #include "core/loader/DocumentLoader.h" 91 #include "core/loader/DocumentLoader.h"
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 515
516 encodeAndFlushBuffer(WebPageSerializerClient::CurrentFrameIsFinished, &p aram, ForceFlush); 516 encodeAndFlushBuffer(WebPageSerializerClient::CurrentFrameIsFinished, &p aram, ForceFlush);
517 } 517 }
518 518
519 ASSERT(m_dataBuffer.isEmpty()); 519 ASSERT(m_dataBuffer.isEmpty());
520 m_client->didSerializeDataForFrame(KURL(), WebCString("", 0), WebPageSeriali zerClient::AllFramesAreFinished); 520 m_client->didSerializeDataForFrame(KURL(), WebCString("", 0), WebPageSeriali zerClient::AllFramesAreFinished);
521 return didSerialization; 521 return didSerialization;
522 } 522 }
523 523
524 } // namespace blink 524 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698