Title: [97806] trunk/Source/WebKit2
- Revision
- 97806
- Author
- [email protected]
- Date
- 2011-10-18 16:08:56 -0700 (Tue, 18 Oct 2011)
Log Message
This revised fix doesn't break SL build.
https://bugs.webkit.org/show_bug.cgi?id=70345
Reviewed and landed by Sam Weinig.
Patch by Damian Kaleta <[email protected]> on 2011-10-18
* UIProcess/API/mac/WKView.mm:
(+[WKView hideWordDefinitionWindow]): Hides the definition window.
* UIProcess/API/mac/WKViewPrivate.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (97805 => 97806)
--- trunk/Source/WebKit2/ChangeLog 2011-10-18 23:06:48 UTC (rev 97805)
+++ trunk/Source/WebKit2/ChangeLog 2011-10-18 23:08:56 UTC (rev 97806)
@@ -1,3 +1,14 @@
+2011-10-18 Damian Kaleta <[email protected]>
+
+ This revised fix doesn't break SL build.
+ https://bugs.webkit.org/show_bug.cgi?id=70345
+
+ Reviewed and landed by Sam Weinig.
+
+ * UIProcess/API/mac/WKView.mm:
+ (+[WKView hideWordDefinitionWindow]): Hides the definition window.
+ * UIProcess/API/mac/WKViewPrivate.h:
+
2011-10-18 Sam Weinig <[email protected]>
Move spellCheckerDocumentTag and handleCorrectionPanelResult from WKViewPrivate to WKViewInternal
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (97805 => 97806)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2011-10-18 23:06:48 UTC (rev 97805)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2011-10-18 23:08:56 UTC (rev 97806)
@@ -2667,6 +2667,13 @@
_data->_page->performDictionaryLookupAtLocation(FloatPoint(thePoint.x, thePoint.y));
}
++ (void)hideWordDefinitionWindow
+{
+#if !defined(BUILDING_ON_SNOW_LEOPARD)
+ WKHideWordDefinitionWindow();
+#endif
+}
+
@end
@implementation WKResponderChainSink
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKViewPrivate.h (97805 => 97806)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKViewPrivate.h 2011-10-18 23:06:48 UTC (rev 97805)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKViewPrivate.h 2011-10-18 23:08:56 UTC (rev 97806)
@@ -34,4 +34,6 @@
- (BOOL)frameSizeUpdatesDisabled;
- (void)performDictionaryLookupAtCurrentMouseLocation;
++ (void)hideWordDefinitionWindow;
+
@end
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes