Changeset 84078 in webkit
- Timestamp:
- Apr 15, 2011 9:35:54 PM (13 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r84072 r84078 1 2011-04-15 Jia Pu <jpu@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 [Mac] WebKit needs to convert the bounding box of autocorrected word to view coordinate. 6 https://bugs.webkit.org/show_bug.cgi?id=58717 7 8 Convert the bounding box from window coordinate to view coordinate, which is expected by NSCorrectionPanel. 9 10 * WebCoreSupport/CorrectionPanel.mm: 11 (CorrectionPanel::show): 12 1 13 2011-04-15 Shishir Agrawal <shishir@chromium.org> 2 14 -
trunk/Source/WebKit/mac/WebCoreSupport/CorrectionPanel.mm
r81896 r84078 76 76 } 77 77 78 [[NSSpellChecker sharedSpellChecker] showCorrectionBubbleOfType:bubbleType primaryString:replacementStringAsNSString alternativeStrings:alternativeStrings forStringInRect: boundingBoxOfReplacedStringview:m_view.get() completionHandler:^(NSString* acceptedString) {78 [[NSSpellChecker sharedSpellChecker] showCorrectionBubbleOfType:bubbleType primaryString:replacementStringAsNSString alternativeStrings:alternativeStrings forStringInRect:[view convertRect:boundingBoxOfReplacedString fromView:nil] view:m_view.get() completionHandler:^(NSString* acceptedString) { 79 79 handleAcceptedReplacement(acceptedString, replacedStringAsNSString, replacementStringAsNSString, bubbleType); 80 80 }];
Note: See TracChangeset
for help on using the changeset viewer.