This page is part of the documentation for the Chrome Apps platform, which was deprecated in 2020. Chrome Apps in Kiosk Mode used by Enterprise and Education customers will no longer be supported after April 2027, marking their end of life. Additionally, all remaining Chrome Apps used in managed environments by Enterprise and Education organizations will reach their end of life in October 2028. Learn more about migrating your app.
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
One or more mappings from MIME types to the Native Client module that handles each type. For
example, the bold code in the following snippet registers a Native Client module as the content
handler for the OpenOffice spreadsheet MIME type.
{"name":"Native Client OpenOffice Spreadsheet Viewer","version":"0.1","description":"Open OpenOffice spreadsheets, right in your browser.","nacl_modules":[{"path":"OpenOfficeViewer.nmf","mime_type":"application/vnd.oasis.opendocument.spreadsheet"}]}
The value of "path" is the location of a Native Client manifest (a .nmf file) within the extension
directory. For more information on Native Client and .nmf files, see the Native Client Technical
Overview.
Each MIME type can be associated with only one .nmf file, but a single .nmf file might handle
multiple MIME types. The following example shows an extension with two .nmf files that handle
three MIME types.
{"name":"Spreadsheet Viewer","version":"0.1","description":"Open OpenOffice and Excel spreadsheets, right in your browser.","nacl_modules":[{"path":"OpenOfficeViewer.nmf","mime_type":"application/vnd.oasis.opendocument.spreadsheet"},{"path":"OpenOfficeViewer.nmf","mime_type":"application/vnd.oasis.opendocument.spreadsheet-template"},{"path":"ExcelViewer.nmf","mime_type":"application/excel"}]}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-12 UTC."],[],[]]