Home | History | Annotate | Download | only in resources

Lines Matching refs:cb

260   EventImpl.prototype.addListener = function(cb, filters) {
277 var listener = {callback: cb, filters: filters};
298 EventImpl.prototype.removeListener = function(cb) {
302 var idx = this.findListener_(cb);
324 EventImpl.prototype.hasListener = function(cb) {
327 return this.findListener_(cb) > -1;
344 EventImpl.prototype.findListener_ = function(cb) {
346 if (this.listeners[i].callback == cb) {
487 EventImpl.prototype.getRules = function(ruleIdentifiers, cb) {
493 validate([this.webViewInstanceId, ruleIdentifiers, cb],
499 [this.eventName, this.webViewInstanceId, ruleIdentifiers, cb],