Bug 81312

Summary: [BlackBerry] Upstream the BlackBerry change to platform/PlatformKeyboardEvent.h
Product: WebKit Reporter: Leo Yang <leo.yang>
Component: WebKit BlackBerryAssignee: Leo Yang <leo.yang>
Status: RESOLVED FIXED    
Severity: Normal CC: charles.wei, rwlbuis, staikos, tonikitoo, webkit.review.bot, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 73144    
Attachments:
Description Flags
Patch none

Leo Yang
Reported 2012-03-15 23:07:30 PDT
BlackBerry specific change to keyboard event.
Attachments
Patch (4.74 KB, patch)
2012-03-15 23:56 PDT, Leo Yang
no flags
Leo Yang
Comment 1 2012-03-15 23:56:19 PDT
Build Bot
Comment 2 2012-03-16 00:11:10 PDT
Leo Yang
Comment 3 2012-03-16 00:21:40 PDT
(In reply to comment #2) > (From update of attachment 132214 [details]) > Attachment 132214 [details] did not pass mac-ews (mac): > Output: http://queues.webkit.org/results/11964047 Seems not related to this patch.
Rob Buis
Comment 4 2012-03-16 04:13:32 PDT
Comment on attachment 132214 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132214&action=review > Source/WebCore/platform/PlatformKeyboardEvent.h:195 > + unsigned short m_unmodifiedCharacter; How is m_unmodifiedCharacter used? It seems to be set to zero and then?
Leo Yang
Comment 5 2012-03-18 19:55:00 PDT
(In reply to comment #4) > (From update of attachment 132214 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=132214&action=review > > > Source/WebCore/platform/PlatformKeyboardEvent.h:195 > > + unsigned short m_unmodifiedCharacter; > > How is m_unmodifiedCharacter used? It seems to be set to zero and then? It's initialized by event.character() in PlatformKeyboardEvent::PlatformKeyboardEvent(const BlackBerry::Platform::KeyboardEvent& event) in PlatformKeyboardEventBlackBerry.cpp and used in PluginView::handleKeyboardEvent(KeyboardEvent* event) in PluginViewBlackBerry.cpp.
Rob Buis
Comment 6 2012-03-19 07:05:44 PDT
Comment on attachment 132214 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132214&action=review LGTM. >>> Source/WebCore/platform/PlatformKeyboardEvent.h:195 >>> + unsigned short m_unmodifiedCharacter; >> >> It's initialized by event.character() in PlatformKeyboardEvent::PlatformKeyboardEvent(const BlackBerry::Platform::KeyboardEvent& event) in PlatformKeyboardEventBlackBerry.cpp and used in PluginView::handleKeyboardEvent(KeyboardEvent* event) in PluginViewBlackBerry.cpp. > > How is m_unmodifiedCharacter used? It seems to be set to zero and then? Ah, this was not visible from the context, I saw it just now in the source file, thanks.
WebKit Review Bot
Comment 7 2012-03-19 09:23:37 PDT
Comment on attachment 132214 [details] Patch Clearing flags on attachment: 132214 Committed r111191: <http://trac.webkit.org/changeset/111191>
WebKit Review Bot
Comment 8 2012-03-19 09:23:43 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.