Lines Matching refs:selector

82 static inline id CallDelegate(WebView *self, id delegate, SEL selector)
84 if (!delegate || ![delegate respondsToSelector:selector])
87 return objc_msgSend(delegate, selector, self);
89 return objc_msgSend(delegate, selector, self);
91 ReportDiscardedDelegateException(selector, exception);
96 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object)
98 if (!delegate || ![delegate respondsToSelector:selector])
101 return objc_msgSend(delegate, selector, self, object);
103 return objc_msgSend(delegate, selector, self, object);
105 ReportDiscardedDelegateException(selector, exception);
110 static inline id CallDelegate(WebView *self, id delegate, SEL selector, NSRect rect)
112 if (!delegate || ![delegate respondsToSelector:selector])
115 return reinterpret_cast<id (*)(id, SEL, WebView *, NSRect)>(objc_msgSend)(delegate, selector, self, rect);
117 return reinterpret_cast<id (*)(id, SEL, WebView *, NSRect)>(objc_msgSend)(delegate, selector, self, rect);
119 ReportDiscardedDelegateException(selector, exception);
124 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object1, id object2)
126 if (!delegate || ![delegate respondsToSelector:selector])
129 return objc_msgSend(delegate, selector, self, object1, object2);
131 return objc_msgSend(delegate, selector, self, object1, object2);
133 ReportDiscardedDelegateException(selector, exception);
138 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object, BOOL boolean)
140 if (!delegate || ![delegate respondsToSelector:selector])
143 return objc_msgSend(delegate, selector, self, object, boolean);
145 return objc_msgSend(delegate, selector, self, object, boolean);
147 ReportDiscardedDelegateException(selector, exception);
152 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object1, id object2, id object3)
154 if (!delegate || ![delegate respondsToSelector:selector])
157 return objc_msgSend(delegate, selector, self, object1, object2, object3);
159 return objc_msgSend(delegate, selector, self, object1, object2, object3);
161 ReportDiscardedDelegateException(selector, exception);
166 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object, NSUInteger integer)
168 if (!delegate || ![delegate respondsToSelector:selector])
171 return objc_msgSend(delegate, selector, self, object, integer);
173 return objc_msgSend(delegate, selector, self, object, integer);
175 ReportDiscardedDelegateException(selector, exception);
180 static inline float CallDelegateReturningFloat(WebView *self, id delegate, SEL selector)
182 if (!delegate || ![delegate respondsToSelector:selector])
185 return objc_msgSend_float_return(delegate, selector, self);
187 return objc_msgSend_float_return(delegate, selector, self);
189 ReportDiscardedDelegateException(selector, exception);
194 static inline BOOL CallDelegateReturningBoolean(BOOL result, WebView *self, id delegate, SEL selector)
196 if (!delegate || ![delegate respondsToSelector:selector])
199 return reinterpret_cast<BOOL (*)(id, SEL, WebView *)>(objc_msgSend)(delegate, selector, self);
201 return reinterpret_cast<BOOL (*)(id, SEL, WebView *)>(objc_msgSend)(delegate, selector, self);
203 ReportDiscardedDelegateException(selector, exception);
208 static inline BOOL CallDelegateReturningBoolean(BOOL result, WebView *self, id delegate, SEL selector, id object)
210 if (!delegate || ![delegate respondsToSelector:selector])
213 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id)>(objc_msgSend)(delegate, selector, self, object);
215 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id)>(objc_msgSend)(delegate, selector, self, object);
217 ReportDiscardedDelegateException(selector, exception);
222 static inline BOOL CallDelegateReturningBoolean(BOOL result, WebView *self, id delegate, SEL selector, id object, BOOL boolean)
224 if (!delegate || ![delegate respondsToSelector:selector])
227 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, BOOL)>(objc_msgSend)(delegate, selector, self, object, boolean);
229 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, BOOL)>(objc_msgSend)(delegate, selector, self, object, boolean);
231 ReportDiscardedDelegateException(selector, exception);
236 static inline BOOL CallDelegateReturningBoolean(BOOL result, WebView *self, id delegate, SEL selector, id object, BOOL boolean, id object2)
238 if (!delegate || ![delegate respondsToSelector:selector])
241 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, BOOL, id)>(objc_msgSend)(delegate, selector, self, object, boolean, object2);
243 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, BOOL, id)>(objc_msgSend)(delegate, selector, self, object, boolean, object2);
245 ReportDiscardedDelegateException(selector, exception);
250 static inline BOOL CallDelegateReturningBoolean(BOOL result, WebView *self, id delegate, SEL selector, id object1, id object2)
252 if (!delegate || ![delegate respondsToSelector:selector])
255 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, id)>(objc_msgSend)(delegate, selector, self, object1, object2);
257 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, id)>(objc_msgSend)(delegate, selector, self, object1, object2);
259 ReportDiscardedDelegateException(selector, exception);
264 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector)
269 return implementation(delegate, selector, self);
271 return implementation(delegate, selector, self);
273 ReportDiscardedDelegateException(selector, exception);
278 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object)
283 return implementation(delegate, selector, self, object);
285 return implementation(delegate, selector, self, object);
287 ReportDiscardedDelegateException(selector, exception);
292 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, id object2)
297 return implementation(delegate, selector, self, object1, object2);
299 return implementation(delegate, selector, self, object1, object2);
301 ReportDiscardedDelegateException(selector, exception);
306 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, id object2, id object3)
311 return implementation(delegate, selector, self, object1, object2, object3);
313 return implementation(delegate, selector, self, object1, object2, object3);
315 ReportDiscardedDelegateException(selector, exception);
320 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, id object2, id object3, id object4)
325 return implementation(delegate, selector, self, object1, object2, object3, object4);
327 return implementation(delegate, selector, self, object1, object2, object3, object4);
329 ReportDiscardedDelegateException(selector, exception);
334 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, NSInteger integer, id object2)
339 return implementation(delegate, selector, self, object1, integer, object2);
341 return implementation(delegate, selector, self, object1, integer, object2);
343 ReportDiscardedDelegateException(selector, exception);
348 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, NSInteger integer1, int integer2, id object2)
353 return implementation(delegate, selector, self, object1, integer1, integer2, object2);
355 return implementation(delegate, selector, self, object1, integer1, integer2, object2);
357 ReportDiscardedDelegateException(selector, exception);
362 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, BOOL boolean, NSInteger integer1, int integer2, id object2)
367 return implementation(delegate, selector, self, object1, boolean, integer1, integer2, object2);
369 return implementation(delegate, selector, self, object1, boolean, integer1, integer2, object2);
371 ReportDiscardedDelegateException(selector, exception);
376 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, id object2, NSInteger integer, id object3)
381 return implementation(delegate, selector, self, object1, object2, integer, object3);
383 return implementation(delegate, selector, self, object1, object2, integer, object3);
385 ReportDiscardedDelegateException(selector, exception);
390 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, NSInteger integer1, id object2, NSInteger integer2, id object3)
395 return implementation(delegate, selector, self, object1, integer1, object2, integer2, object3);
397 return implementation(delegate, selector, self, object1, integer1, object2, integer2, object3);
399 ReportDiscardedDelegateException(selector, exception);
404 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, NSInteger integer, id object2, id object3, id object4)
409 return implementation(delegate, selector, self, object1, integer, object2, object3, object4);
411 return implementation(delegate, selector, self, object1, integer, object2, object3, object4);
413 ReportDiscardedDelegateException(selector, exception);
418 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, NSTimeInterval interval, id object2, id object3)
423 return implementation(delegate, selector, self, object1, interval, object2, object3);
425 return implementation(delegate, selector, self, object1, interval, object2, object3);
427 ReportDiscardedDelegateException(selector, exception);
432 id CallUIDelegate(WebView *self, SEL selector)
434 return CallDelegate(self, self->_private->UIDelegate, selector);
437 id CallUIDelegate(WebView *self, SEL selector, id object)
439 return CallDelegate(self, self->_private->UIDelegate, selector, object);
442 id CallUIDelegate(WebView *self, SEL selector, id object, BOOL boolean)
444 return CallDelegate(self, self->_private->UIDelegate, selector, object, boolean);
447 id CallUIDelegate(WebView *self, SEL selector, NSRect rect)
449 return CallDelegate(self, self->_private->UIDelegate, selector, rect);
452 id CallUIDelegate(WebView *self, SEL selector, id object1, id object2)
454 return CallDelegate(self, self->_private->UIDelegate, selector, object1, object2);
457 id CallUIDelegate(WebView *self, SEL selector, id object1, id object2, id object3)
459 return CallDelegate(self, self->_private->UIDelegate, selector, object1, object2, object3);
462 id CallUIDelegate(WebView *self, SEL selector, id object, NSUInteger integer)
464 return CallDelegate(self, self->_private->UIDelegate, selector, object, integer);
467 float CallUIDelegateReturningFloat(WebView *self, SEL selector)
469 return CallDelegateReturningFloat(self, self->_private->UIDelegate, selector);
472 BOOL CallUIDelegateReturningBoolean(BOOL result, WebView *self, SEL selector)
474 return CallDelegateReturningBoolean(result, self, self->_private->UIDelegate, selector);
477 BOOL CallUIDelegateReturningBoolean(BOOL result, WebView *self, SEL selector, id object)
479 return CallDelegateReturningBoolean(result, self, self->_private->UIDelegate, selector, object);
482 BOOL CallUIDelegateReturningBoolean(BOOL result, WebView *self, SEL selector, id object, BOOL boolean)
484 return CallDelegateReturningBoolean(result, self, self->_private->UIDelegate, selector, object, boolean);
487 BOOL CallUIDelegateReturningBoolean(BOOL result, WebView *self, SEL selector, id object, BOOL boolean, id object2)
489 return CallDelegateReturningBoolean(result, self, self->_private->UIDelegate, selector, object, boolean, object2);
492 BOOL CallUIDelegateReturningBoolean(BOOL result, WebView *self, SEL selector, id object1, id object2)
494 return CallDelegateReturningBoolean(result, self, self->_private->UIDelegate, selector, object1, object2);
497 id CallFrameLoadDelegate(IMP implementation, WebView *self, SEL selector)
499 return CallDelegate(implementation, self, self->_private->frameLoadDelegate, selector);
502 id CallFrameLoadDelegate(IMP implementation, WebView *self, SEL selector, id object)
504 return CallDelegate(implementation, self, self->_private->frameLoadDelegate, selector, object);
507 id CallFrameLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2)
509 return CallDelegate(implementation, self, self->_private->frameLoadDelegate, selector, object1, object2);
512 id CallFrameLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2, id object3)
514 return CallDelegate(implementation, self, self->_private->frameLoadDelegate, selector, object1, object2, object3);
517 id CallFrameLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2, id object3, id object4)
519 return CallDelegate(implementation, self, self->_private->frameLoadDelegate, selector, object1, object2, object3, object4);
522 id CallFrameLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, NSTimeInterval interval, id object2, id object3)
524 return CallDelegate(implementation, self, self->_private->frameLoadDelegate, selector, object1, interval, object2, object3);
527 id CallResourceLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2)
529 return CallDelegate(implementation, self, self->_private->resourceProgressDelegate, selector, object1, object2);
532 id CallResourceLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2, id object3)
534 return CallDelegate(implementation, self, self->_private->resourceProgressDelegate, selector, object1, object2, object3);
537 id CallResourceLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2, id object3, id object4)
539 return CallDelegate(implementation, self, self->_private->resourceProgressDelegate, selector, object1, object2, object3, object4);
542 id CallResourceLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, NSInteger integer, id object2)
544 return CallDelegate(implementation, self, self->_private->resourceProgressDelegate, selector, object1, integer, object2);
547 id CallResourceLoadDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2, NSInteger integer, id object3)
549 return CallDelegate(implementation, self, self->_private->resourceProgressDelegate, selector, object1, object2, integer, object3);
552 BOOL CallResourceLoadDelegateReturningBoolean(BOOL result, IMP implementation, WebView *self, SEL selector, id object1)
555 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id)>(objc_msgSend)(self->_private->resourceProgressDelegate, selector, self, object1);
557 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id)>(objc_msgSend)(self->_private->resourceProgressDelegate, selector, self, object1);
559 ReportDiscardedDelegateException(selector, exception);
564 BOOL CallResourceLoadDelegateReturningBoolean(BOOL result, IMP implementation, WebView *self, SEL selector, id object1, id object2)
567 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, id)>(objc_msgSend)(self->_private->resourceProgressDelegate, selector, self, object1, object2);
569 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, id)>(objc_msgSend)(self->_private->resourceProgressDelegate, selector, self, object1, object2);
571 ReportDiscardedDelegateException(selector, exception);
576 BOOL CallResourceLoadDelegateReturningBoolean(BOOL result, IMP implementation, WebView *self, SEL selector, id object1, id object2, id object3)
579 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, id, id)>(objc_msgSend)(self->_private->resourceProgressDelegate, selector, self, object1, object2, object3);
581 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, id, id)>(objc_msgSend)(self->_private->resourceProgressDelegate, selector, self, object1, object2, object3);
583 ReportDiscardedDelegateException(selector, exception);
588 id CallScriptDebugDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2, NSInteger integer, id object3)
590 return CallDelegate(implementation, self, self->_private->scriptDebugDelegate, selector, object1, object2, integer, object3);
593 id CallScriptDebugDelegate(IMP implementation, WebView *self, SEL selector, id object1, NSInteger integer1, id object2, NSInteger integer2, id object3)
595 return CallDelegate(implementation, self, self->_private->scriptDebugDelegate, selector, object1, integer1, object2, integer2, object3);
598 id CallScriptDebugDelegate(IMP implementation, WebView *self, SEL selector, id object1, NSInteger integer, id object2, id object3, id object4)
600 return CallDelegate(implementation, self, self->_private->scriptDebugDelegate, selector, object1, integer, object2, object3, object4);
603 id CallScriptDebugDelegate(IMP implementation, WebView *self, SEL selector, id object1, NSInteger integer1, int integer2, id object2)
605 return CallDelegate(implementation, self, self->_private->scriptDebugDelegate, selector, object1, integer1, integer2, object2);
608 id CallScriptDebugDelegate(IMP implementation, WebView *self, SEL selector, id object1, BOOL boolean, NSInteger integer1, int integer2, id object2)
610 return CallDelegate(implementation, self, self->_private->scriptDebugDelegate, selector, object1, boolean, integer1, integer2, object2);
613 id CallHistoryDelegate(IMP implementation, WebView *self, SEL selector)
615 return CallDelegate(implementation, self, self->_private->historyDelegate, selector);
618 id CallHistoryDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2)
620 return CallDelegate(implementation, self, self->_private->historyDelegate, selector, object1, object2);
623 id CallHistoryDelegate(IMP implementation, WebView *self, SEL selector, id object1, id object2, id object3)
625 return CallDelegate(implementation, self, self->_private->historyDelegate, selector, object1, object2, object3);
630 id CallFormDelegate(WebView *self, SEL selector, id object1, id object2)
633 if (!delegate || ![delegate respondsToSelector:selector])
636 return objc_msgSend(delegate, selector, object1, object2);
638 return objc_msgSend(delegate, selector, object1, object2);
640 ReportDiscardedDelegateException(selector, exception);
645 id CallFormDelegate(WebView *self, SEL selector, id object1, id object2, id object3, id object4, id object5)
648 if (!delegate || ![delegate respondsToSelector:selector])
651 return objc_msgSend(delegate, selector, object1, object2, object3, object4, object5);
653 return objc_msgSend(delegate, selector, object1, object2, object3, object4, object5);
655 ReportDiscardedDelegateException(selector, exception);
660 BOOL CallFormDelegateReturningBoolean(BOOL result, WebView *self, SEL selector, id object1, SEL selectorArg, id object2)
663 if (!delegate || ![delegate respondsToSelector:selector])
666 return reinterpret_cast<BOOL (*)(id, SEL, id, SEL, id)>(objc_msgSend)(delegate, selector, object1, selectorArg, object2);
668 return reinterpret_cast<BOOL (*)(id, SEL, id, SEL, id)>(objc_msgSend)(delegate, selector, object1, selectorArg, object2);
670 ReportDiscardedDelegateException(selector, exception);