Home
last modified time | relevance | path

Searched refs:postMessage (Results 1 – 25 of 137) sorted by relevance

123456

/external/chromium_org/net/data/websocket/
Dwebsocket_worker_simple.js5 if (!self.postMessage) {
9 self.postMessage = function (msg) { function
10 event.ports[0].postMessage(msg);
31 postMessage("FAIL: received data is wrong: " + e.data);
38 postMessage("FAIL: close is not clean");
40 postMessage("DONE");
44 postMessage("FAIL: worker: Unexpected exception: " + e);
/external/chromium_org/content/test/data/workers/
Dworker_common.js5 if (!self.postMessage) {
10 self.postMessage = function(msg) { function
11 event.ports[0].postMessage(msg);
21 postMessage("pong");
28 postMessage(eval(evt.data.substr(5)));
30 postMessage(ex);
Dmessageport_worker.js3 port.postMessage("Worker connected.");
5 port.postMessage("Worker got a port.");
9 anotherport.postMessage("Worker got a message via the passed port.");
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/
Dexample.js81 nacl_module.postMessage(makeCall('fopen', filename, access));
93 nacl_module.postMessage(makeCall('fclose', filehandle));
105 nacl_module.postMessage(makeCall('fread', filehandle, numBytes));
116 nacl_module.postMessage(makeCall('fwrite', filehandle, data));
129 nacl_module.postMessage(makeCall('fseek', filehandle, offset, whence));
140 nacl_module.postMessage(makeCall('stat', filename));
149 nacl_module.postMessage(makeCall('opendir', dirname));
161 nacl_module.postMessage(makeCall('readdir', dirhandle));
176 nacl_module.postMessage(makeCall('closedir', dirhandle));
190 nacl_module.postMessage(makeCall('mkdir', dirname, mode));
[all …]
/external/chromium_org/v8/tools/profviz/
Dworker.js40 self.postMessage({ "call" : "log", "args" : text });
45 self.postMessage({ "call" : "displayplot", "args" : content});
50 self.postMessage({ "call" : "displayprof", "args" : content});
55 self.postMessage({ "call" : "range",
71 self.postMessage({ "call" : "script" });
76 self.postMessage({"call": "error", "args": text});
77 self.postMessage({"call": "reset"});
168 self.postMessage({"call": "error", "args": text});
171 self.postMessage({"call": "error", "args": text});
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
Dexample.js10 common.naclModule.postMessage({'message' : 'set_threads',
20 common.naclModule.postMessage({'message' : 'run_benchmark'});
26 common.naclModule.postMessage({'message' : 'draw_points',
32 common.naclModule.postMessage({'message' : 'draw_interiors',
43 common.naclModule.postMessage({'message' : 'set_points',
/external/chromium_org/remoting/webapp/
Dclient_plugin_async.js395 if (this.plugin && this.plugin.postMessage) {
396 this.plugin.postMessage(JSON.stringify(
426 this.plugin.postMessage(JSON.stringify(
445 this.plugin.postMessage(JSON.stringify(
457 this.plugin.postMessage(JSON.stringify(
472 this.plugin.postMessage(JSON.stringify(
486 this.plugin.postMessage(JSON.stringify(
512 this.plugin.postMessage(JSON.stringify(
528 this.plugin.postMessage(JSON.stringify(
545 this.plugin.postMessage(JSON.stringify(
[all …]
Dwcs_sandbox_content.js137 this.parentWindow_.postMessage(message, '*');
151 this.parentWindow_.postMessage(message, '*');
169 this.parentWindow_.postMessage(message, '*');
190 this.parentWindow_.postMessage(message, '*');
206 this.parentWindow_.postMessage(message, '*');
Dwcs_sandbox_container.js49 this.sandbox_.postMessage(message, '*');
114 this.sandbox_.postMessage(message, '*');
126 this.sandbox_.postMessage(message, '*');
282 this.sandbox_.postMessage(message, '*');
/external/chromium_org/chrome/browser/resources/app_list/
Dplugin_manager.js45 return !!($('recognizer') && $('recognizer').postMessage);
111 $('recognizer').postMessage(
113 $('recognizer').postMessage(pluginCommands.SET_CONFIG + config);
137 $('recognizer').postMessage(pluginCommands.START_RECOGNIZING);
145 $('recognizer').postMessage(pluginCommands.STOP_RECOGNIZING);
155 $('recognizer').postMessage(event.data.buffer);
/external/chromium_org/native_client_sdk/src/examples/api/socket/
Dexample.js33 common.naclModule.postMessage(msgTcpCreate + hostname);
35 common.naclModule.postMessage(msgUdpCreate + hostname);
45 common.naclModule.postMessage(msgSend + message);
53 common.naclModule.postMessage(msgListen + port);
58 common.naclModule.postMessage(msgClose);
/external/chromium_org/chrome/browser/resources/gaia_auth/
Dmain.js103 window.parent.postMessage(msg, this.parentPage_);
112 window.parent.postMessage(msg, this.parentPage_);
120 gaiaFrame.contentWindow.postMessage('', gaiaFrame.src);
150 window.parent.postMessage(msg, this.parentPage_);
177 window.parent.postMessage(msg, this.parentPage_);
209 window.parent.postMessage({
219 window.parent.postMessage(msg, this.parentPage_);
236 window.parent.postMessage(
240 window.parent.postMessage(
257 window.parent.postMessage(
/external/chromium_org/native_client_sdk/src/examples/api/audio/
Dexample.js25 common.naclModule.postMessage('setFrequency:' + getFrequencyElement().value);
26 common.naclModule.postMessage('playSound');
30 common.naclModule.postMessage('stopSound');
34 common.naclModule.postMessage('setFrequency:' + getFrequencyElement().value);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/
Dexample.js308 naclModule.postMessage({cmd: 'clear', color: color});
312 naclModule.postMessage({cmd: 'setSize', size: size});
316 naclModule.postMessage({cmd: 'setMaxScale', scale: scale});
320 naclModule.postMessage({cmd: 'setThreadCount', threadCount: threadCount});
325 naclModule.postMessage({
333 naclModule.postMessage({
349 naclModule.postMessage({
357 naclModule.postMessage({cmd: 'splat'});
361 naclModule.postMessage({cmd: 'setBrush', radius: radius, color: color});
/external/chromium_org/native_client_sdk/src/examples/demo/earth/
Dexample.js10 common.naclModule.postMessage({'message' : 'set_threads',
20 common.naclModule.postMessage({'message' : 'run benchmark'});
31 common.naclModule.postMessage({'message' : 'set_zoom',
37 common.naclModule.postMessage({'message' : 'set_light',
54 common.naclModule.postMessage({'message' : 'texture',
/external/chromium_org/native_client_sdk/src/examples/api/var_dictionary/
Dexample.js38 common.naclModule.postMessage({cmd: 'Get', key: key});
52 common.naclModule.postMessage({cmd: 'Set', key: key, value: value});
57 common.naclModule.postMessage({cmd: 'Delete', key: key});
61 common.naclModule.postMessage({cmd: 'GetKeys'});
66 common.naclModule.postMessage({cmd: 'HasKey', key: key});
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/
Dmetadata_dispatcher.js76 this.postMessage('initialized', [this.parserRegexp_]);
88 this.postMessage('result', [fileURL, metadata]);
103 this.postMessage('error', ary);
114 this.postMessage('log', ary);
131 MetadataDispatcher.prototype.postMessage = function(verb, args) { method in MetadataDispatcher
132 this.port_.postMessage({verb: verb, arguments: args});
/external/chromium_org/chrome/third_party/chromevox/chromevox/injected/
Dmathjax.js52 window.postMessage('cvox.MathJaxPortSetup', [channel_.port2], '*');
62 cvox.MathJax.postMessage = function(cmd, callbackId, args) { function in cvox.MathJax
63 channel_.port1.postMessage({'cmd': cmd, 'id': callbackId, 'args': args});
132 cvox.MathJax.postMessage('NodeMml', callbackId,
190 cvox.MathJax.postMessage(
Dapi.js95 window.postMessage(PORT_SETUP_MSG, [channel_.port2], '*');
126 channel_.port1.postMessage(JSON.stringify(message));
279 channel_.port1.postMessage(JSON.stringify(message));
331 channel_.port1.postMessage(JSON.stringify(message));
357 channel_.port1.postMessage(JSON.stringify(message));
414 channel_.port1.postMessage(JSON.stringify(message));
534 channel_.port1.postMessage(JSON.stringify(message));
571 channel_.port1.postMessage(JSON.stringify(msg));
/external/chromium_org/native_client_sdk/src/examples/api/websocket/
Dexample.js22 common.naclModule.postMessage('o;' + url);
30 common.naclModule.postMessage(type + message);
36 common.naclModule.postMessage('c;');
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
Dexample.js12 common.naclModule.postMessage([xAngle, yAngle]);
22 common.naclModule.postMessage(false);
26 common.naclModule.postMessage(true);
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
Dexample.js71 common.naclModule.postMessage(makeMessage('sv', fileName, fileText));
83 common.naclModule.postMessage(makeMessage('ld', fileName));
90 common.naclModule.postMessage(makeMessage('de', fileName));
97 common.naclModule.postMessage(makeMessage('ls', dirName));
104 common.naclModule.postMessage(makeMessage('md', dirName));
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/voronoi/
Dexample.js194 naclModule.postMessage({'message': 'set_threads',
207 naclModule.postMessage({'message' : 'draw_points',
213 naclModule.postMessage({'message' : 'draw_interiors',
219 naclModule.postMessage({'message' : 'set_points',
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/chromeos_login_ext/
Dmain.js10 window.parent.postMessage(msg, PARENT_PAGE);
17 window.parent.postMessage(msg, PARENT_PAGE);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/earth/
Dexample.js184 naclModule.postMessage({'message': 'set_threads',
197 naclModule.postMessage({'message' : 'set_zoom',
203 naclModule.postMessage({'message' : 'set_light',
223 naclModule.postMessage({'message' : 'texture',

123456