HomeSort by relevance Sort by last modified time
    Searched full:mhtml (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /external/chromium_org/chrome/common/extensions/api/
page_capture.json 8 "description": "Use the <code>chrome.pageCapture</code> API to save a tab as MHTML.",
13 "description": "Saves the content of the tab with given id as MHTML.",
22 "description": "The id of the tab to save as MHTML."
29 "description": "Called when the MHTML has been generated.",
35 "description": "The MHTML data as a Blob."
  /external/chromium_org/content/browser/download/
mhtml_generation_manager.h 28 typedef base::Callback<void(const base::FilePath& /* path to the MHTML file */,
31 // Instructs the render view to generate a MHTML representation of the current
37 // Notification from the renderer that the MHTML generation finished.
38 // |mhtml_data_size| contains the size in bytes of the generated MHTML data,
51 // The handles to file the MHTML is saved to, for the browser and renderer
72 // Called on the UI thread when the file that should hold the MHTML data has
80 // Called on the file thread to close the file the MHTML was saved to.
85 // |mhtml_data_size| is -1 if the MHTML generation failed.
mhtml_generation_browsertest.cc 46 // Tests that generating a MHTML does create contents.
48 // test is to ensure we were successfull in creating the MHTML data from the
61 // Block until the MHTML is generated.
save_package.h 41 // complete-html or MHTML and providing the information for displaying saving
47 // MHTML means the same thing as complete-html, but it uses the MHTML format to
  /external/chromium_org/chrome/common/extensions/docs/templates/intros/
pageCapture.html 2 MHTML is a <a href="http://tools.ietf.org/html/rfc2557">standard format</a>
8 Note that for security reasons a MHTML file can only be loaded from the file
  /external/chromium_org/content/renderer/
mhtml_generator.cc 51 WebKit::WebCString mhtml = local
54 const char* data = mhtml.data();
56 while (total_bytes_written < mhtml.length()) {
58 std::min(mhtml.length() - total_bytes_written, chunk_size);
mhtml_generator.h 28 // Returns the size of the generated MHTML, -1 if it failed.
  /external/chromium_org/chrome/browser/extensions/api/page_capture/
page_capture_api.h 52 // Callback called once the MHTML generation is done.
60 // The path to the temporary file containing the MHTML data.
63 // The file containing the MHTML.
page_capture_api.cc 32 const char kFileTooBigError[] = "The MHTML file generated is too big.";
33 const char kMHTMLGenerationFailedError[] = "Failed to generate MHTML.";
  /external/chromium_org/content/public/browser/
save_page_type.h 17 // User chose to save complete-html page as MHTML.
  /packages/apps/Browser/src/com/android/browser/preferences/
FontSizePreview.java 33 String mHtml;
53 mHtml = String.format(HTML_FORMAT, visualNames);
64 mWebView.loadDataWithBaseURL(null, mHtml, "text/html", "utf-8", null);
InvertedContrastPreview.java 42 String mHtml;
72 mHtml = builder.toString();
  /external/chromium_org/third_party/WebKit/Source/core/loader/archive/
MHTMLParser.cpp 66 LOG_ERROR("Failed to parse MHTML part: no header.");
88 LOG_ERROR("Failed to parse MHTML, invalid MIME header.");
95 LOG_ERROR("Failed to parse MHTML subframe.");
109 LOG_ERROR("Failed to parse MHTML part.");
190 LOG_ERROR("No bounday found for MHTML part.");
198 LOG_ERROR("Invalid base64 content for MHTML part.");
210 LOG_ERROR("Invalid encoding for MHTML part.");
MHTMLArchive.cpp 101 // For security reasons we only load MHTML pages from local URLs.
108 return 0; // Invalid MHTML file.
110 // Since MHTML is a flat format, we need to make all frames aware of all resources.
197 // We are not specifying insertLFs = true below as it would cut the lines with LFs and MHTML requires CRLFs.
MHTMLArchive.h 58 // Binary encoding results in smaller MHTML files but they might not work in other browsers.
ArchiveResourceCollection.cpp 59 // In the MHTML case, frames don't have a name so we use the URL instead.
  /external/chromium_org/content/public/common/
frame_navigate_params.h 37 // This is of interest when a MHTML file is loaded, as the base URL has been
38 // set to original URL of the site the MHTML represents.
  /external/chromium_org/third_party/WebKit/Source/web/
WebPageSerializer.cpp 215 RefPtr<SharedBuffer> mhtml = serializePageToMHTML(static_cast<WebViewImpl*>(view)->page(), MHTMLArchive::UseDefaultEncoding); local
217 return WebCString(mhtml->data(), mhtml->size());
222 RefPtr<SharedBuffer> mhtml = serializePageToMHTML(static_cast<WebViewImpl*>(view)->page(), MHTMLArchive::UseBinaryEncoding); local
224 return WebCString(mhtml->data(), mhtml->size());
  /external/chromium_org/third_party/WebKit/public/web/
WebPageSerializer.h 61 // Serializes the WebView contents to a MHTML representation.
64 // Similar to serializeToMHTML but uses binary encoding for the MHTML parts.
65 // This results in a smaller MHTML file but it might not be supported by other browsers.
  /external/chromium_org/third_party/WebKit/Source/core/platform/network/
MIMEHeader.h 43 // FIXME: This class is a limited MIME parser used to parse the MIME headers of MHTML files.
  /packages/apps/Exchange/src/com/android/exchange/adapter/
Search.java 268 if (msg.mHtml != null) {
269 msg.mHtml = TextUtilities.highlightTermsInHtml(msg.mHtml, mQuery);
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ArchiveTest.java 54 // Generate MHTML and wait for completion
  /external/chromium_org/content/browser/renderer_host/
render_view_host_browsertest.cc 86 // But should be set to the original page when reading MHTML.
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTestUtils.java 197 message.mHtml = "body html " + name;
420 assertEquals(caller + " mHtml", expect.mHtml, actual.mHtml);
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
EmailContentSetupUtils.java 109 message.mHtml = "body html " + name;

Completed in 1494 milliseconds

1 2 3 4 5