[self view:sender didSetFrame:frame];
}
-- (void) pushPage:(UCViewController *)page {
+- (void) pushPage:(CYViewController *)page {
[page setDelegate:delegate_];
[[self navigationItem] setTitle:title_];
[[self navigationController] pushViewController:page animated:YES];
[[self navigationController] pushViewController:self animated:YES];
}
-- (void) swapPage:(UCViewController *)page {
+- (void) swapPage:(CYViewController *)page {
[page setDelegate:delegate_];
if (pushed_) [[self navigationController] popViewControllerAnimated:NO];
NSLog(@"getSpecial:%@", url);
#endif
- if (UCViewController *page = [delegate_ pageForURL:url hasTag:NULL]) {
+ if (CYViewController *page = [delegate_ pageForURL:url hasTag:NULL]) {
if (swap)
[self swapPage:page];
else
UCNavigationController *navigation([[[UCNavigationController alloc] init] autorelease]);
[navigation setHook:indirect_];
- UCViewController *page([delegate_ pageForURL:url hasTag:NULL]);
+ CYViewController *page([delegate_ pageForURL:url hasTag:NULL]);
if (page == nil) {
/* XXX: call createWebViewWithRequest instead? */
[self reloadURL];
}
+- (void) _customButtonClicked {
+ [self reloadButtonClicked];
+}
+
- (void) customButtonClicked {
#if !AlwaysReload
if (function_ != nil)
[self callFunction:function_];
else
#endif
- [self reloadButtonClicked];
+ [self _customButtonClicked];
}
- (void) setPageActive:(BOOL)active {