Title: [131951] trunk/Source/WebKit/blackberry
- Revision
- 131951
- Author
- mifen...@rim.com
- Date
- 2012-10-19 15:25:14 -0700 (Fri, 19 Oct 2012)
Log Message
[BlackBerry] Convert input style to int64_t
https://bugs.webkit.org/show_bug.cgi?id=99848
Reviewed by Yong Li.
PR 227381.
Switch input style mask to int64_t to match the the updated definition.
Reviewed Internally by Nima Ghanavatian.
* Api/WebPageClient.h:
* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::inputStyle):
* WebKitSupport/InputHandler.h:
(InputHandler):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/Api/WebPageClient.h (131950 => 131951)
--- trunk/Source/WebKit/blackberry/Api/WebPageClient.h 2012-10-19 22:24:08 UTC (rev 131950)
+++ trunk/Source/WebKit/blackberry/Api/WebPageClient.h 2012-10-19 22:25:14 UTC (rev 131951)
@@ -139,7 +139,7 @@
virtual void notifyContentRendered(const Platform::IntRect&) = 0;
virtual void resizeSurfaceIfNeeded() = 0;
- virtual void inputFocusGained(int inputStyle, Platform::VirtualKeyboardType, Platform::VirtualKeyboardEnterKeyType) = 0;
+ virtual void inputFocusGained(int64_t inputStyle, Platform::VirtualKeyboardType, Platform::VirtualKeyboardEnterKeyType) = 0;
virtual void inputFocusLost() = 0;
virtual void inputTextChanged() = 0;
virtual void inputSelectionChanged(unsigned selectionStart, unsigned selectionEnd) = 0;
Modified: trunk/Source/WebKit/blackberry/ChangeLog (131950 => 131951)
--- trunk/Source/WebKit/blackberry/ChangeLog 2012-10-19 22:24:08 UTC (rev 131950)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2012-10-19 22:25:14 UTC (rev 131951)
@@ -1,5 +1,24 @@
2012-10-19 Mike Fenton <mifen...@rim.com>
+ [BlackBerry] Convert input style to int64_t
+ https://bugs.webkit.org/show_bug.cgi?id=99848
+
+ Reviewed by Yong Li.
+
+ PR 227381.
+
+ Switch input style mask to int64_t to match the the updated definition.
+
+ Reviewed Internally by Nima Ghanavatian.
+
+ * Api/WebPageClient.h:
+ * WebKitSupport/InputHandler.cpp:
+ (BlackBerry::WebKit::inputStyle):
+ * WebKitSupport/InputHandler.h:
+ (InputHandler):
+
+2012-10-19 Mike Fenton <mifen...@rim.com>
+
[BlackBerry] Move all keyboard type calculations into InputHandler.
https://bugs.webkit.org/show_bug.cgi?id=99847
Modified: trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp (131950 => 131951)
--- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 2012-10-19 22:24:08 UTC (rev 131950)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 2012-10-19 22:25:14 UTC (rev 131951)
@@ -188,7 +188,7 @@
return InputTypeText;
}
-static int inputStyle(BlackBerryInputType type, const Element* element)
+static int64_t inputStyle(BlackBerryInputType type, const Element* element)
{
switch (type) {
case InputTypeEmail:
Modified: trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.h (131950 => 131951)
--- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.h 2012-10-19 22:24:08 UTC (rev 131950)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.h 2012-10-19 22:25:14 UTC (rev 131951)
@@ -212,7 +212,7 @@
bool m_changingFocus;
FocusElementType m_currentFocusElementType;
- int m_currentFocusElementTextEditMask;
+ int64_t m_currentFocusElementTextEditMask;
int m_composingTextStart;
int m_composingTextEnd;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes