| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Oct 4, 2006, at 3:15 PM, Carreiro, Richard wrote:
After we thought about it more, we decided we didn't want to have our embedded browser open another custom window when "Open Link in New Window" was selected, but instead wanted it to launch the default browser. So I implemented the createWebViewWithRequest as (error-checking omitted):
- (WebView *)webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest *)request { LSOpenCFURL((CFURLRef) [request URL], NULL); return nil; }
Is this a reasonable way to do it? It does appear to work.
-- Darin
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webkitsdk-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden
| References: | |
| >RE: Opening links in new windows in Carbon? (From: "Carreiro, Richard" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.