WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
46668
Add WebProcessConnection CreatePlugin message
https://bugs.webkit.org/show_bug.cgi?id=46668
Summary
Add WebProcessConnection CreatePlugin message
Anders Carlsson
Reported
2010-09-27 15:53:55 PDT
Add WebProcessConnection CreatePlugin message
Attachments
Patch
(20.41 KB, patch)
2010-09-27 15:57 PDT
,
Anders Carlsson
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2010-09-27 15:57:12 PDT
Created
attachment 68983
[details]
Patch
Adam Roben (:aroben)
Comment 2
2010-09-27 16:03:13 PDT
Comment on
attachment 68983
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=68983&action=review
> WebKit2/PluginProcess/WebProcessConnection.messages.in:26 > + # Creates a plug-in instance with the given instance ID.
I think // comments will work just fine, if that's what you'd prefer.
> WebKit2/Scripts/webkit2/messages.py:219 > +def headers_for_type(type): > + special_cases = { > + 'WTF::String': '<wtf/text/WTFString.h>', > + 'WebKit::WebKeyboardEvent': '"WebEvent.h"', > + 'WebKit::WebMouseEvent': '"WebEvent.h"', > + 'WebKit::WebWheelEvent': '"WebEvent.h"', > + 'WebKit::WebTouchEvent': '"WebEvent.h"', > + } > + if type in special_cases: > + return [special_cases[type]] > + > + # We assume that we must include a header for a type iff it has a scope > + # resolution operator (::). > + split = type.split('::') > + if len(split) < 2: > + return [] > + if split[0] == 'WebKit' or split[0] == 'CoreIPC': > + return ['"%s.h"' % split[1]] > + return ['<%s/%s.h>' % tuple(split)]
Why did you move this?
Anders Carlsson
Comment 3
2010-09-27 16:38:48 PDT
Committed
r68445
: <
http://trac.webkit.org/changeset/68445
>
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