Searched refs:postMessage (Results 1 - 25 of 105) sorted by relevance

12345

/external/chromium_org/tools/telemetry/telemetry/core/chrome/chromeos_login_ext/
H A Dmain.js10 window.parent.postMessage(msg, PARENT_PAGE);
17 window.parent.postMessage(msg, PARENT_PAGE);
/external/chromium_org/content/test/data/workers/
H A Dincognito_worker.js4 event.ports[0].postMessage(++count);
H A Dworker_common.js5 if (!self.postMessage) {
10 self.postMessage = function(msg) {
11 event.ports[0].postMessage(msg);
21 postMessage("pong");
28 postMessage(eval(evt.data.substr(5)));
30 postMessage(ex);
H A Dworker_utils.js12 worker.postMessage = function(msg, port) {
13 worker.port.postMessage(msg, port);
/external/chromium_org/net/data/websocket/
H A Dwebsocket_worker_simple.js5 if (!self.postMessage) {
9 self.postMessage = function (msg) {
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/remoting/webapp/
H A Dviewer_plugin_proto.js17 remoting.ViewerPlugin.prototype.postMessage = function(message) {};
/external/chromium/chrome/common/extensions/docs/examples/extensions/email_this_page/
H A Dcontent_script.js12 chrome.extension.connect().postMessage(additionalInfo);
/external/chromium_org/chrome/browser/resources/gaia_auth/
H A Dsuccess.js11 window.parent.postMessage(msg,
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/
H A Dcontent_script.js10 chrome.runtime.connect().postMessage(additionalInfo);
/external/chromium_org/native_client_sdk/src/examples/api/audio/
H A 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/third_party/WebKit/Source/bindings/tests/idls/
H A DTestActiveDOMObject.idl34 [DoNotCheckSecurity] void postMessage(DOMString message);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DMessagePort.idl33 [Custom, RaisesException] void postMessage(any message, optional Array messagePorts);
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DDedicatedWorkerGlobalScope.idl34 [Custom, RaisesException] void postMessage(any message, optional Array messagePorts);
H A DWorker.idl37 [Custom, RaisesException] void postMessage(SerializedScriptValue message, optional Array messagePorts);
/external/chromium_org/native_client_sdk/src/examples/api/websocket/
H A Dexample.js22 common.naclModule.postMessage('o;' + url);
30 common.naclModule.postMessage(type + message);
36 common.naclModule.postMessage('c;');
/external/chromium/chrome/browser/debugger/manual_tests/resources/
H A Dworker-primes.js9 postMessage([p, primes.test(p)]);
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
H A Dexample.js10 common.naclModule.postMessage({'message' : 'set_threads',
16 // forward messages to the NaCl module via postMessage()
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/chrome/common/extensions/docs/examples/api/messaging/timer/
H A Dpage.js3 port.postMessage({counter: msg.counter+1});
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/
H A Dpage.js7 port.postMessage({counter: msg.counter+1});
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/news_a11y/
H A Dfeed_iframe.js7 parent.postMessage(msg, "*");
23 parent.postMessage(JSON.stringify({type:"show", url:href}), "*");
/external/chromium_org/native_client_sdk/src/examples/tutorial/dlopen/
H A Dexample.js23 common.naclModule.postMessage('eightball');
32 common.naclModule.postMessage('reverse:' + query);
/external/chromium_org/native_client_sdk/src/examples/api/input_event/
H A Dexample.js25 common.naclModule.postMessage('CANCEL');
/external/chromium_org/ppapi/examples/crxfs/
H A Dcrxfs.js8 plugin.postMessage(filename);
/external/chromium_org/v8/tools/profviz/
H A 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" });
162 self.postMessage({"call": "error", "args": text});
165 self.postMessage({"call": "error", "args": text});
/external/chromium_org/native_client_sdk/src/examples/demo/earth/
H A Dexample.js10 common.naclModule.postMessage({'message' : 'set_threads',
16 // forward messages to the NaCl module via postMessage()
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',

Completed in 666 milliseconds

12345