Title: [129040] trunk/Source/WebKit/blackberry
Revision
129040
Author
[email protected]
Date
2012-09-19 13:43:54 -0700 (Wed, 19 Sep 2012)

Log Message

[BlackBerry] Add SpellingLog for spell checking options request.
https://bugs.webkit.org/show_bug.cgi?id=97125

Reviewed by Rob Buis.

Add spell checking log to indicate the calculated
text position for spell checking option requests.

Reviewed Internally by Nima Ghanavatian.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::shouldRequestSpellCheckingOptionsForPoint):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/ChangeLog (129039 => 129040)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-09-19 20:35:30 UTC (rev 129039)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-09-19 20:43:54 UTC (rev 129040)
@@ -1,3 +1,18 @@
+2012-09-19  Mike Fenton  <[email protected]>
+
+        [BlackBerry] Add SpellingLog for spell checking options request.
+        https://bugs.webkit.org/show_bug.cgi?id=97125
+
+        Reviewed by Rob Buis.
+
+        Add spell checking log to indicate the calculated
+        text position for spell checking option requests.
+
+        Reviewed Internally by Nima Ghanavatian.
+
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::shouldRequestSpellCheckingOptionsForPoint):
+
 2012-09-19  Jonathan Dong  <[email protected]>
 
         [BlackBerry] Add function playerId() in class PageClientBlackBerry

Modified: trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp (129039 => 129040)


--- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp	2012-09-19 20:35:30 UTC (rev 129039)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp	2012-09-19 20:43:54 UTC (rev 129040)
@@ -696,6 +696,11 @@
     spellCheckingOptionRequest.startTextPosition = marker->startOffset();
     spellCheckingOptionRequest.endTextPosition = marker->endOffset();
 
+    SpellingLog(LogLevelInfo, "InputHandler::shouldRequestSpellCheckingOptionsForPoint spellCheckingOptionRequest\ntop %d, %d\nbottom %d %d\nMarker start %d end %d"
+                , spellCheckingOptionRequest.caret_rect.caret_top_x, spellCheckingOptionRequest.caret_rect.caret_top_y
+                , spellCheckingOptionRequest.caret_rect.caret_bottom_x, spellCheckingOptionRequest.caret_rect.caret_bottom_y
+                , spellCheckingOptionRequest.startTextPosition, spellCheckingOptionRequest.endTextPosition);
+
     return true;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to