WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
153806
Provide handleKeyWebEvent with completion handler
https://bugs.webkit.org/show_bug.cgi?id=153806
Summary
Provide handleKeyWebEvent with completion handler
Enrica Casucci
Reported
2016-02-02 15:17:16 PST
To support new keyboard architecture.
Attachments
Patch
(2.96 KB, patch)
2016-02-02 15:25 PST
,
Enrica Casucci
thorton
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Enrica Casucci
Comment 1
2016-02-02 15:25:53 PST
Created
attachment 270527
[details]
Patch
Tim Horton
Comment 2
2016-02-02 15:29:36 PST
Comment on
attachment 270527
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=270527&action=review
> Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:2875 > + _keyWebEventHandler = [completionHandler copy];
I think we have a smart pointer for blocks now!
> Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:2885 > + return;
Confused. Why do you bail here? Don't we still have to do some of the work below?
Enrica Casucci
Comment 3
2016-02-02 15:32:10 PST
(In reply to
comment #2
)
> Comment on
attachment 270527
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=270527&action=review
> > > Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:2875 > > + _keyWebEventHandler = [completionHandler copy]; > > I think we have a smart pointer for blocks now! > > > Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:2885 > > + return; > > Confused. Why do you bail here? Don't we still have to do some of the work > below?
No we don't in this case. I'll adopt the BlockPtr.
Enrica Casucci
Comment 4
2016-02-02 16:09:55 PST
Committed revision 196037.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug