Home
last modified time | relevance | path

Searched refs:mimetype (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/chrome/common/extensions/docs/server2/
Dcontent_provider.py85 mimetype = _MIMETYPE_OVERRIDES.get(ext, mimetypes.guess_type(path)[0])
93 mimetype = 'text/html'
94 elif mimetype is None:
96 mimetype = 'text/plain'
97 elif mimetype == 'text/html':
101 elif (mimetype.startswith('text/') or
102 mimetype in ('application/javascript', 'application/json')):
107 mimetype,
/external/chromium_org/native_client_sdk/src/resources/
Dcommon.js34 var mimetype = 'application/x-nacl';
39 mimetype = 'application/x-ppapi-release';
41 mimetype = 'application/x-ppapi-debug';
43 mimetype = 'application/x-pnacl';
45 return mimetype;
62 var mimetype = mimeTypeForTool(tool);
63 return navigator.mimeTypes[mimetype] !== undefined;
139 var mimetype = mimeTypeForTool(tool);
140 moduleEl.setAttribute('type', mimetype);
/external/chromium_org/third_party/npapi/npspy/common/
Depmanager.cpp59 mimetype[0] = '\0'; in PluginEntryPointList()
91 void NPPEntryPointManager::createEntryPointsForPlugin(char * mimetype, NPPluginFuncs * funcs, NP_SH… in createEntryPointsForPlugin() argument
98 strcpy(eps->mimetype, mimetype); in createEntryPointsForPlugin()
151 NPPluginFuncs * NPPEntryPointManager::findEntryPointsForPlugin(char * mimetype) in findEntryPointsForPlugin() argument
155 if(0 == _stricmp(eps->mimetype, mimetype)) in findEntryPointsForPlugin()
182 logger->logSPY_NP_Shutdown(eps->mimetype); in callNP_ShutdownAll()
199 logger->logSPY_NP_Shutdown(eps->mimetype); in callNP_Shutdown()
214 if(0 == _stricmp(eps->mimetype, pluginType)) in callNPP_New()
Dplugload.cpp82 XP_HLIB LoadRealPlugin(char * mimetype) in LoadRealPlugin() argument
84 if(!mimetype || !strlen(mimetype)) in LoadRealPlugin()
169 if(0 == _stricmp(mimetype, type)) in LoadRealPlugin()
Dlogger.cpp284 void Logger::logSPY_NP_Shutdown(char * mimetype) in logSPY_NP_Shutdown() argument
287 if(mimetype) in logSPY_NP_Shutdown()
290 strcat(szLog, mimetype); in logSPY_NP_Shutdown()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DPepperPluginManager.java50 String mimetype = metaData.getString(MIMETYPE); in getPluginDescription() local
51 if (mimetype == null || mimetype.isEmpty()) { in getPluginDescription()
78 plugin.append(mimetype); in getPluginDescription()
/external/chromium_org/third_party/npapi/npspy/include/
Depmanager.h60 char mimetype[80]; member
76 …void createEntryPointsForPlugin(char * mimetype, NPPluginFuncs * funcs, NP_SHUTDOWN shutdownproc, …
78 NPPluginFuncs * findEntryPointsForPlugin(char * mimetype);
Dplugload.h42 XP_HLIB LoadRealPlugin(char * mimetype);
Dlogger.h93 void logSPY_NP_Shutdown(char * mimetype);
/external/chromium_org/mojo/examples/html_viewer/
Dblink_platform_impl.cc149 std::string mimetype, charset, data; in parseDataURL() local
150 if (net::DataURL::Parse(url, &mimetype, &charset, &data) in parseDataURL()
151 && net::IsSupportedMimeType(mimetype)) { in parseDataURL()
152 mimetype_out = blink::WebString::fromUTF8(mimetype); in parseDataURL()
/external/chromium_org/tools/perf/page_sets/mse_cases/
Dstartup_test.js176 function BufferAppender(mimetype, url, id, startOffset, appendSize) { argument
177 this.mimetype = mimetype;
205 this.sourceBuffer = mediaSource.addSourceBuffer(this.mimetype);
249 function StreamAppender(mimetype, url, id, startOffset, appendSize) { argument
250 this.mimetype = mimetype;
284 this.sourceBuffer = mediaSource.addSourceBuffer(this.mimetype);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
Dtest_importer.py237 mimetype = mimetypes.guess_type(fullpath)
238 if not 'html' in str(mimetype[0]) and not 'xml' in str(mimetype[0]):
370 mimetype = mimetypes.guess_type(orig_filepath)
371 … if 'html' in str(mimetype[0]) or 'xml' in str(mimetype[0]) or 'css' in str(mimetype[0]):
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/lua/
Dnaclterm.js197 var mimetype = 'application/x-pnacl';
198 if (navigator.mimeTypes[mimetype] === undefined) {
199 if (mimetype.indexOf('pnacl') != -1)
210 embed.type = mimetype;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/life/
Dexample.js34 var mimetype = PNaClmimeType();
35 return navigator.mimeTypes[mimetype] !== undefined;
/external/smack/src/org/jivesoftware/smackx/provider/
DVCardProvider.java132 String mimetype = null; in setupPhoto() local
155 mimetype = value; in setupPhoto()
159 if (binval == null || mimetype == null) in setupPhoto()
162 vCard.setAvatar(binval, mimetype); in setupPhoto()
/external/chromium_org/cloud_print/gcp20/prototype/
Dcloud_print_request.cc52 const std::string& mimetype, in CreatePost() argument
56 request->fetcher_->SetUploadData(mimetype, content); in CreatePost()
Dcloud_print_request.h50 const std::string& mimetype,
Dcloud_print_requester.h159 const std::string& mimetype,
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/voronoi/
Dexample.js34 var mimetype = PNaClmimeType();
35 return navigator.mimeTypes[mimetype] !== undefined;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/cube/
Dexample.js34 var mimetype = PNaClmimeType();
35 return navigator.mimeTypes[mimetype] !== undefined;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/earth/
Dexample.js34 var mimetype = PNaClmimeType();
35 return navigator.mimeTypes[mimetype] !== undefined;
/external/chromium_org/testing/gtest/scripts/
Dupload.py715 mimetype = mimetypes.guess_type(filename)[0]
716 if not mimetype:
718 return mimetype.startswith("image/")
910 mimetype = RunShell(["svn", "propget", "svn:mime-type", filename],
913 is_binary = mimetype and not mimetype.startswith("text/")
927 mimetype, returncode = RunShellWithReturnCode(cmd)
931 mimetype = ""
933 is_binary = mimetype and not mimetype.startswith("text/")
/external/chromium_org/tools/grit/grit/format/
Dhtml_inline.py109 mimetype = mimetypes.guess_type(filename)[0]
110 if mimetype is None:
117 return '%sdata:%s;base64,%s%s' % (prefix, mimetype, inline_data, suffix)
/external/chromium_org/chrome/test/chromedriver/
Drun_buildbot_steps.py71 mimetype='text/plain')
214 if slave_utils.GSUtilCopy(latest_file, latest_url, mimetype='text/plain'):
339 if slave_utils.GSUtilCopy(temp_notes_fname, notes_url, mimetype='text/plain'):
366 mimetype='text/plain'):
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/
Dexample.js65 var mimetype = PNaClmimeType();
66 return navigator.mimeTypes[mimetype] !== undefined;

12