Title: [97788] trunk/Source/WebKit2
- Revision
- 97788
- Author
- [email protected]
- Date
- 2011-10-18 13:50:34 -0700 (Tue, 18 Oct 2011)
Log Message
2011-10-18 Damian Kaleta <[email protected]>
Add WebKit API to hide the definition window
https://bugs.webkit.org/show_bug.cgi?id=70345
Reviewed by Anders Carlsson.
* UIProcess/API/mac/WKView.mm:
(-[WKView hideWordDefinitionWindow]): Hides the definition window.
* UIProcess/API/mac/WKViewPrivate.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (97787 => 97788)
--- trunk/Source/WebKit2/ChangeLog 2011-10-18 20:44:31 UTC (rev 97787)
+++ trunk/Source/WebKit2/ChangeLog 2011-10-18 20:50:34 UTC (rev 97788)
@@ -1,3 +1,14 @@
+2011-10-18 Damian Kaleta <[email protected]>
+
+ Add WebKit API to hide the definition window
+ https://bugs.webkit.org/show_bug.cgi?id=70345
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView hideWordDefinitionWindow]): Hides the definition window.
+ * UIProcess/API/mac/WKViewPrivate.h:
+
2011-10-18 Adam Barth <[email protected]>
Always enable ENABLE(XPATH)
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (97787 => 97788)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2011-10-18 20:44:31 UTC (rev 97787)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2011-10-18 20:50:34 UTC (rev 97788)
@@ -2653,6 +2653,11 @@
_data->_page->performDictionaryLookupAtLocation(FloatPoint(thePoint.x, thePoint.y));
}
+- (void)hideWordDefinitionWindow
+{
+ WKHideWordDefinitionWindow();
+}
+
- (NSInteger)spellCheckerDocumentTag
{
if (!_data->_hasSpellCheckerDocumentTag) {
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKViewPrivate.h (97787 => 97788)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKViewPrivate.h 2011-10-18 20:44:31 UTC (rev 97787)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKViewPrivate.h 2011-10-18 20:50:34 UTC (rev 97788)
@@ -34,6 +34,7 @@
- (BOOL)frameSizeUpdatesDisabled;
- (void)performDictionaryLookupAtCurrentMouseLocation;
+- (void)hideWordDefinitionWindow;
- (NSInteger)spellCheckerDocumentTag;
- (void)handleCorrectionPanelResult:(NSString*)result;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes