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

Side by Side Diff: third_party/WebKit/public/web/WebFrameSerializer.h

Issue 2656713002: Merge to M57: Remove popup overlay from MHTML when requested (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/WebKit/Source/web/tests/data/frameserialization/popup.html ('k') | no next file » | 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Returns a Content-ID to be used for the given frame. 59 // Returns a Content-ID to be used for the given frame.
60 // See rfc2557 - section 8.3 - "Use of the Content-ID header and CID URLs". 60 // See rfc2557 - section 8.3 - "Use of the Content-ID header and CID URLs".
61 // Format note - the returned string should be of the form "<foo@bar.com>" 61 // Format note - the returned string should be of the form "<foo@bar.com>"
62 // (i.e. the strings should include the angle brackets). The method 62 // (i.e. the strings should include the angle brackets). The method
63 // should return null WebString if the frame doesn't have a content-id. 63 // should return null WebString if the frame doesn't have a content-id.
64 virtual WebString getContentID(WebFrame*) = 0; 64 virtual WebString getContentID(WebFrame*) = 0;
65 65
66 virtual WebFrameSerializerCacheControlPolicy cacheControlPolicy() = 0; 66 virtual WebFrameSerializerCacheControlPolicy cacheControlPolicy() = 0;
67 67
68 virtual bool useBinaryEncoding() = 0; 68 virtual bool useBinaryEncoding() = 0;
69
70 virtual bool removePopupOverlay() = 0;
69 }; 71 };
70 72
71 // Generates and returns an MHTML header. 73 // Generates and returns an MHTML header.
72 // 74 //
73 // Contents of the header (i.e. title and mime type) will be based 75 // Contents of the header (i.e. title and mime type) will be based
74 // on the frame passed as an argument (which typically should be 76 // on the frame passed as an argument (which typically should be
75 // the main, top-level frame). 77 // the main, top-level frame).
76 // 78 //
77 // Same |boundary| needs to used for all generateMHTMLHeader and 79 // Same |boundary| needs to used for all generateMHTMLHeader and
78 // generateMHTMLParts and generateMHTMLFooter calls that belong to the same 80 // generateMHTMLParts and generateMHTMLFooter calls that belong to the same
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Generate the MOTW declaration. 151 // Generate the MOTW declaration.
150 BLINK_EXPORT static WebString generateMarkOfTheWebDeclaration(const WebURL&); 152 BLINK_EXPORT static WebString generateMarkOfTheWebDeclaration(const WebURL&);
151 // Generate the default base tag declaration. 153 // Generate the default base tag declaration.
152 BLINK_EXPORT static WebString generateBaseTagDeclaration( 154 BLINK_EXPORT static WebString generateBaseTagDeclaration(
153 const WebString& baseTarget); 155 const WebString& baseTarget);
154 }; 156 };
155 157
156 } // namespace blink 158 } // namespace blink
157 159
158 #endif 160 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/data/frameserialization/popup.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698