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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 69 |
70 virtual bool RemovePopupOverlay() = 0; | 70 virtual bool RemovePopupOverlay() = 0; |
| 71 |
| 72 virtual bool UsePageProblemDetectors() = 0; |
71 }; | 73 }; |
72 | 74 |
73 // Generates and returns an MHTML header. | 75 // Generates and returns an MHTML header. |
74 // | 76 // |
75 // Contents of the header (i.e. title and mime type) will be based | 77 // Contents of the header (i.e. title and mime type) will be based |
76 // on the frame passed as an argument (which typically should be | 78 // on the frame passed as an argument (which typically should be |
77 // the main, top-level frame). | 79 // the main, top-level frame). |
78 // | 80 // |
79 // Same |boundary| needs to used for all generateMHTMLHeader and | 81 // Same |boundary| needs to used for all generateMHTMLHeader and |
80 // generateMHTMLParts and generateMHTMLFooter calls that belong to the same | 82 // generateMHTMLParts and generateMHTMLFooter calls that belong to the same |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // Generate the MOTW declaration. | 145 // Generate the MOTW declaration. |
144 BLINK_EXPORT static WebString GenerateMarkOfTheWebDeclaration(const WebURL&); | 146 BLINK_EXPORT static WebString GenerateMarkOfTheWebDeclaration(const WebURL&); |
145 // Generate the default base tag declaration. | 147 // Generate the default base tag declaration. |
146 BLINK_EXPORT static WebString GenerateBaseTagDeclaration( | 148 BLINK_EXPORT static WebString GenerateBaseTagDeclaration( |
147 const WebString& base_target); | 149 const WebString& base_target); |
148 }; | 150 }; |
149 | 151 |
150 } // namespace blink | 152 } // namespace blink |
151 | 153 |
152 #endif | 154 #endif |
OLD | NEW |