Changeset 449 for trunk/ICeCoffEE
- Timestamp:
- 03/13/08 07:35:02 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEWebKit.m
r448 r449 15 15 16 16 // XXX WebCoreFrameBridge is going away 17 // (see <http://trac.webkit.org/projects/webkit/changeset/30712>) 18 // WebCoreBridge, from WebCoreBridge.h (Safari 2) 19 // Web(Core)FrameBridge, from WebCoreFrameBridge.h (Safari 3) 20 @interface WebCoreBridge : NSObject 17 // (see <http://trac.webkit.org/projects/webkit/wiki/Maintenance%20and%20architecture%20list>) 18 @interface WebCoreFrameBridge : NSObject 21 19 22 20 // XXX move to DOM-based accessors … … 33 31 34 32 - (WebView *)_webView; 35 - (WebCore Bridge *)_bridge; // WebFrameBridge in Safari 3 (see above)33 - (WebCoreFrameBridge *)_bridge; 36 34 37 35 @end … … 120 118 } 121 119 122 123 120 NSPoint viewClickPt = [webView convertPoint: downPt fromView: nil]; 124 121 NSDictionary *elementDict = [webView elementAtPoint: viewClickPt]; … … 126 123 NSAssert([elementDict count] != 0, ICCF_LocalizedString(@"Sorry, ICeCoffEE was unable to find anything to select")); 127 124 128 WebCore Bridge *bridge = [(WebHTMLView *)self _bridge];125 WebCoreFrameBridge *bridge = [(WebHTMLView *)self _bridge]; 129 126 130 127 id link = [elementDict objectForKey: @"WebElementLinkURL"]; … … 149 146 [webView setSelectedDOMRange: selectedRange affinity: NSSelectionAffinityDownstream]; 150 147 151 // XXX at some point, characterIndexForPoint: wasn't implemented, so this will fail152 148 NSRange range = [ICeCoffEETrigger rangeForEvent: downEvent onTarget: (NSView<NSTextInput> *)self]; 153 149
Note:
See TracChangeset
for help on using the changeset viewer.