Searched refs:callbackId (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/resources/chromeos/network/
H A Dnetwork_config.js47 callbackId: 1,
50 var id = this.callbackId++;
72 * entry must be the callbackId passed to chrome.send.
75 var callbackId = args.shift();
76 var callback = this.retrieveCallback_(callbackId);
81 console.error('Callback not found for id: ' + callbackId);
88 * callbackId passed to chrome.send.
92 var callbackId = args.shift();
97 var callback = this.retrieveCallback_(callbackId);
109 var callbackId
[all...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwQuotaManagerBridge.java106 int callbackId = getNextId();
107 assert mPendingGetOriginCallbacks.get(callbackId) == null;
108 mPendingGetOriginCallbacks.put(callbackId, callback);
109 nativeGetOrigins(mNativeAwQuotaManagerBridgeImpl, callbackId);
117 int callbackId = getNextId();
118 assert mPendingGetQuotaForOriginCallbacks.get(callbackId) == null;
119 mPendingGetQuotaForOriginCallbacks.put(callbackId, callback);
120 nativeGetUsageAndQuotaForOrigin(mNativeAwQuotaManagerBridgeImpl, origin, callbackId, true);
128 int callbackId = getNextId();
129 assert mPendingGetUsageForOriginCallbacks.get(callbackId)
135 onGetOriginsCallback(int callbackId, String[] origin, long[] usages, long[] quotas) argument
144 onGetUsageAndQuotaForOriginCallback( int callbackId, boolean isQuota, long usage, long quota) argument
160 nativeGetOrigins(long nativeAwQuotaManagerBridgeImpl, int callbackId) argument
161 nativeGetUsageAndQuotaForOrigin(long nativeAwQuotaManagerBridgeImpl, String origin, int callbackId, boolean isQuota) argument
[all...]
/external/chromium_org/chrome/third_party/chromevox/chromevox/injected/
H A Dmathjax.js48 * @param {string} callbackId A string representing the callback id.
51 cvox.MathJax.postMessage = function(cmd, callbackId, args) {
52 channel_.port1.postMessage({'cmd': cmd, 'id': callbackId, 'args': args});
92 * @param {string} callbackId A string representing the callback id.
94 cvox.MathJax.getAllJax = function(callbackId) {
96 cvox.MathJax.getMathmlCallback_(callbackId));
102 * @param {string} callbackId A string representing the callback id.
105 cvox.MathJax.registerSignal = function(callbackId, signal) {
107 cvox.MathJax.getMathmlCallback_(callbackId), signal);
114 * @param {string} callbackId
[all...]
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dapp_custom_bindings.js49 function onInstallStateResponse(state, callbackId) {
50 var callback = callbacks[callbackId];
51 delete callbacks[callbackId];
67 var callbackId = nextCallbackId++;
68 callbacks[callbackId] = callback;
69 appNatives.GetInstallState(callbackId);
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
H A Dapi_implementation.js114 * Sets endCallback in properties to call callbackId's function.
116 * @param {number} callbackId The callback Id.
119 function setupEndCallback_(properties, callbackId) {
123 'id': callbackId
134 * @param {number} callbackId The callback Id.
140 callbackId, textString, queueMode, properties) {
145 setupEndCallback_(properties, callbackId);
169 * @param {number} callbackId The callback Id.
175 callbackId, nodeRef, queueMode, properties) {
180 setupEndCallback_(properties, callbackId);
[all...]
/external/chromium_org/content/browser/resources/service_worker/
H A Dserviceworker_internals.js59 var callbackId = 0;
60 while (callbackId in commandCallbacks) {
61 callbackId++;
63 commandCallbacks[callbackId] = callback;
64 chrome.send(command, [callbackId, args]);
68 function onOperationComplete(status, callbackId) {
69 var callback = commandCallbacks[callbackId];
70 delete commandCallbacks[callbackId];
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DAsyncCallStackTracker.cpp180 void AsyncCallStackTracker::didRequestAnimationFrame(ExecutionContext* context, int callbackId, const ScriptValue& callFrames) argument
186 ASSERT(callbackId > 0);
188 data->m_animationFrameCallChains.set(callbackId, createAsyncCallChain(requestAnimationFrameName, callFrames));
191 void AsyncCallStackTracker::didCancelAnimationFrame(ExecutionContext* context, int callbackId) argument
195 if (callbackId <= 0)
198 data->m_animationFrameCallChains.remove(callbackId);
201 void AsyncCallStackTracker::willFireAnimationFrame(ExecutionContext* context, int callbackId) argument
205 ASSERT(callbackId > 0);
208 setCurrentAsyncCallChain(context, data->m_animationFrameCallChains.take(callbackId));
H A DAsyncCallStackTracker.h123 void didRequestAnimationFrame(ExecutionContext*, int callbackId, const ScriptValue& callFrames);
124 void didCancelAnimationFrame(ExecutionContext*, int callbackId);
125 void willFireAnimationFrame(ExecutionContext*, int callbackId);
H A DInspectorDOMDebuggerAgent.h92 void didRequestAnimationFrame(Document*, int callbackId);
93 void didCancelAnimationFrame(Document*, int callbackId);
94 void willFireAnimationFrame(Document*, int callbackId);
H A DInspectorTimelineAgent.h206 void didRequestAnimationFrame(Document*, int callbackId);
207 void didCancelAnimationFrame(Document*, int callbackId);
208 bool willFireAnimationFrame(Document*, int callbackId);
H A DInspectorDebuggerAgent.h159 void didRequestAnimationFrame(Document*, int callbackId);
160 void didCancelAnimationFrame(Document*, int callbackId);
161 bool willFireAnimationFrame(Document*, int callbackId);
H A DInspectorTraceEvents.h86 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Document*, int callbackId);
H A DTimelineRecordFactory.h73 static PassRefPtr<JSONObject> createAnimationFrameData(int callbackId);
H A DInspectorInstrumentation.idl380 void didRequestAnimationFrame([Keep] Document*, int callbackId);
383 void didCancelAnimationFrame([Keep] Document*, int callbackId);
386 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int callbackId);
H A DTimelineRecordFactory.cpp222 PassRefPtr<JSONObject> TimelineRecordFactory::createAnimationFrameData(int callbackId) argument
225 data->setNumber("id", callbackId);
H A DInspectorDebuggerAgent.cpp765 void InspectorDebuggerAgent::didRequestAnimationFrame(Document* document, int callbackId) argument
768 asyncCallStackTracker().didRequestAnimationFrame(document, callbackId, scriptDebugServer().currentCallFramesForAsyncStack());
771 void InspectorDebuggerAgent::didCancelAnimationFrame(Document* document, int callbackId) argument
774 asyncCallStackTracker().didCancelAnimationFrame(document, callbackId);
777 bool InspectorDebuggerAgent::willFireAnimationFrame(Document* document, int callbackId) argument
780 asyncCallStackTracker().willFireAnimationFrame(document, callbackId);
H A DInspectorTimelineAgent.cpp888 void InspectorTimelineAgent::didRequestAnimationFrame(Document* document, int callbackId) argument
890 appendRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType::RequestAnimationFrame, true, document->frame());
893 void InspectorTimelineAgent::didCancelAnimationFrame(Document* document, int callbackId) argument
895 appendRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType::CancelAnimationFrame, true, document->frame());
898 bool InspectorTimelineAgent::willFireAnimationFrame(Document* document, int callbackId) argument
900 pushCurrentRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType::FireAnimationFrame, false, document->frame());
H A DInspectorTraceEvents.cpp221 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorAnimationFrameEvent::data(Document* document, int callbackId) argument
224 value->setInteger("id", callbackId);
/external/chromium_org/chrome/browser/resources/google_now/
H A Dutility.js306 var callbackId = nextCallbackId++;
310 pendingCallbacks[callbackId] = new Error().stack + ' @' + Date.now();
324 delete pendingCallbacks[callbackId];

Completed in 516 milliseconds