Home | History | Annotate | Download | only in mac

Lines Matching refs:alert

405     NSAlert* alert = [[NSAlert alloc] init];
411 [alert setMessageText:[NSString stringWithFormat:@"JavaScript alert dialog from %@.", [(NSURL *)cfURL absoluteString]]];
415 [alert setInformativeText:(NSString *)cfMessage];
418 [alert addButtonWithTitle:@"OK"];
420 [alert runModal];
421 [alert release];
426 NSAlert* alert = [[NSAlert alloc] init];
432 [alert setMessageText:[NSString stringWithFormat:@"JavaScript confirm dialog from %@.", [(NSURL *)cfURL absoluteString]]];
436 [alert setInformativeText:(NSString *)cfMessage];
439 [alert addButtonWithTitle:@"OK"];
440 [alert addButtonWithTitle:@"Cancel"];
442 NSInteger button = [alert runModal];
443 [alert release];
450 NSAlert* alert = [[NSAlert alloc] init];
456 [alert setMessageText:[NSString stringWithFormat:@"JavaScript prompt dialog from %@.", [(NSURL *)cfURL absoluteString]]];
460 [alert setInformativeText:(NSString *)cfMessage];
463 [alert addButtonWithTitle:@"OK"];
464 [alert addButtonWithTitle:@"Cancel"];
471 [alert setAccessoryView:input];
473 NSInteger button = [alert runModal];
481 [alert release];
516 NSAlert *alert = [[NSAlert alloc] init];
522 [alert setMessageText:[NSString stringWithFormat:@"BeforeUnload confirm dialog from %@.", [(NSURL *)cfURL absoluteString]]];
526 [alert setInformativeText:(NSString *)cfMessage];
529 [alert addButtonWithTitle:@"OK"];
530 [alert addButtonWithTitle:@"Cancel"];
532 NSInteger button = [alert runModal];
533 [alert release];