Home
last modified time | relevance | path

Searched refs:callbackId (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwQuotaManagerBridge.java108 int callbackId = getNextId(); in getOrigins() local
109 assert !mPendingGetOriginCallbacks.containsKey(callbackId); in getOrigins()
110 mPendingGetOriginCallbacks.put(callbackId, callback); in getOrigins()
111 nativeGetOrigins(mNativeAwQuotaManagerBridgeImpl, callbackId); in getOrigins()
119 int callbackId = getNextId(); in getQuotaForOrigin() local
120 assert !mPendingGetQuotaForOriginCallbacks.containsKey(callbackId); in getQuotaForOrigin()
121 mPendingGetQuotaForOriginCallbacks.put(callbackId, callback); in getQuotaForOrigin()
122 nativeGetUsageAndQuotaForOrigin(mNativeAwQuotaManagerBridgeImpl, origin, callbackId, true); in getQuotaForOrigin()
130 int callbackId = getNextId(); in getUsageForOrigin() local
131 assert !mPendingGetUsageForOriginCallbacks.containsKey(callbackId); in getUsageForOrigin()
[all …]
/external/chromium_org/chrome/third_party/chromevox/chromevox/injected/
Dmathjax.js62 cvox.MathJax.postMessage = function(cmd, callbackId, args) { argument
63 channel_.port1.postMessage({'cmd': cmd, 'id': callbackId, 'args': args});
105 cvox.MathJax.getAllJax = function(callbackId) { argument
107 cvox.MathJax.getMathmlCallback_(callbackId));
116 cvox.MathJax.registerSignal = function(callbackId, signal) { argument
118 cvox.MathJax.getMathmlCallback_(callbackId), signal);
130 cvox.MathJax.getMathmlCallback_ = function(callbackId) { argument
132 cvox.MathJax.postMessage('NodeMml', callbackId,
161 cvox.MathJax.texToMml = function(callbackId, tex, cvoxId) { argument
164 cvox.MathJax.getMathmlCallback_(callbackId)(mml, cvoxId);
[all …]
/external/chromium_org/chrome/renderer/resources/extensions/
Dapp_custom_bindings.js49 function onInstallStateResponse(state, callbackId) { argument
50 var callback = callbacks[callbackId];
51 delete callbacks[callbackId];
67 var callbackId = nextCallbackId++;
68 callbacks[callbackId] = callback;
69 appNatives.GetInstallState(callbackId);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DAsyncCallStackTracker.cpp138 void AsyncCallStackTracker::didRequestAnimationFrame(ExecutionContext* context, int callbackId, con… in didRequestAnimationFrame() argument
146 ASSERT(callbackId > 0); in didRequestAnimationFrame()
148 …data->m_animationFrameCallChains.set(callbackId, createAsyncCallChain(requestAnimationFrameName, c… in didRequestAnimationFrame()
151 void AsyncCallStackTracker::didCancelAnimationFrame(ExecutionContext* context, int callbackId) in didCancelAnimationFrame() argument
154 if (!isEnabled() || callbackId <= 0) in didCancelAnimationFrame()
157 data->m_animationFrameCallChains.remove(callbackId); in didCancelAnimationFrame()
160 void AsyncCallStackTracker::willFireAnimationFrame(ExecutionContext* context, int callbackId) in willFireAnimationFrame() argument
165 ASSERT(callbackId > 0); in willFireAnimationFrame()
168 m_currentAsyncCallChain = data->m_animationFrameCallChains.take(callbackId); in willFireAnimationFrame()
DAsyncCallStackTracker.h82 void didRequestAnimationFrame(ExecutionContext*, int callbackId, const ScriptValue& callFrames);
83 void didCancelAnimationFrame(ExecutionContext*, int callbackId);
84 void willFireAnimationFrame(ExecutionContext*, int callbackId);
DInspectorDOMDebuggerAgent.h83 void didRequestAnimationFrame(Document*, int callbackId);
84 void didCancelAnimationFrame(Document*, int callbackId);
85 void willFireAnimationFrame(Document*, int callbackId);
DInspectorTimelineAgent.h226 void didRequestAnimationFrame(Document*, int callbackId);
227 void didCancelAnimationFrame(Document*, int callbackId);
228 bool willFireAnimationFrame(Document*, int callbackId);
DInspectorDebuggerAgent.h137 void didRequestAnimationFrame(Document*, int callbackId);
138 void didCancelAnimationFrame(Document*, int callbackId);
139 bool willFireAnimationFrame(Document*, int callbackId);
DInspectorDOMDebuggerAgent.cpp423 void InspectorDOMDebuggerAgent::didRequestAnimationFrame(Document* document, int callbackId) in didRequestAnimationFrame() argument
428 void InspectorDOMDebuggerAgent::didCancelAnimationFrame(Document* document, int callbackId) in didCancelAnimationFrame() argument
433 void InspectorDOMDebuggerAgent::willFireAnimationFrame(Document* document, int callbackId) in willFireAnimationFrame() argument
DTimelineRecordFactory.cpp217 PassRefPtr<JSONObject> TimelineRecordFactory::createAnimationFrameData(int callbackId) in createAnimationFrameData() argument
220 data->setNumber("id", callbackId); in createAnimationFrameData()
DTimelineRecordFactory.h91 static PassRefPtr<JSONObject> createAnimationFrameData(int callbackId);
DInspectorDebuggerAgent.cpp689 void InspectorDebuggerAgent::didRequestAnimationFrame(Document* document, int callbackId) in didRequestAnimationFrame() argument
692 …m_asyncCallStackTracker.didRequestAnimationFrame(document, callbackId, scriptDebugServer().current… in didRequestAnimationFrame()
695 void InspectorDebuggerAgent::didCancelAnimationFrame(Document* document, int callbackId) in didCancelAnimationFrame() argument
697 m_asyncCallStackTracker.didCancelAnimationFrame(document, callbackId); in didCancelAnimationFrame()
700 bool InspectorDebuggerAgent::willFireAnimationFrame(Document* document, int callbackId) in willFireAnimationFrame() argument
702 m_asyncCallStackTracker.willFireAnimationFrame(document, callbackId); in willFireAnimationFrame()
DInspectorTimelineAgent.cpp847 void InspectorTimelineAgent::didRequestAnimationFrame(Document* document, int callbackId) in didRequestAnimationFrame() argument
849 …appendRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType::Requ… in didRequestAnimationFrame()
852 void InspectorTimelineAgent::didCancelAnimationFrame(Document* document, int callbackId) in didCancelAnimationFrame() argument
854 …appendRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType::Canc… in didCancelAnimationFrame()
857 bool InspectorTimelineAgent::willFireAnimationFrame(Document* document, int callbackId) in willFireAnimationFrame() argument
859 …pushCurrentRecord(TimelineRecordFactory::createAnimationFrameData(callbackId), TimelineRecordType:… in willFireAnimationFrame()
DInspectorInstrumentation.idl376 void didRequestAnimationFrame([Keep] Document*, int callbackId);
379 void didCancelAnimationFrame([Keep] Document*, int callbackId);
382 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int callbackId);
/external/chromium_org/chrome/browser/resources/google_now/
Dutility.js276 var callbackId = nextCallbackId++;
280 pendingCallbacks[callbackId] = new Error().stack + ' @' + Date.now();
294 delete pendingCallbacks[callbackId];
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DInspectorBackend.js60 var callbackId = this.nextCallbackId();
64 this._callbacks[callbackId] = callback;
69 return callbackId;