WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
89777
[BlackBerry] Use air controls if client doesn't support HTML control
https://bugs.webkit.org/show_bug.cgi?id=89777
Summary
[BlackBerry] Use air controls if client doesn't support HTML control
Crystal Zhang
Reported
2012-06-22 11:57:59 PDT
Currently HTML controls depend on client implementing CreateWindow event, for those clients that don't implement CreateWindow event, use old air controls so we don't break them.
Attachments
patch
(6.98 KB, patch)
2012-06-22 13:46 PDT
,
Crystal Zhang
no flags
Details
Formatted Diff
Diff
updated patch
(7.00 KB, patch)
2012-06-22 14:48 PDT
,
Crystal Zhang
no flags
Details
Formatted Diff
Diff
updated patch
(7.02 KB, patch)
2012-06-25 07:54 PDT
,
Crystal Zhang
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Crystal Zhang
Comment 1
2012-06-22 13:46:52 PDT
Created
attachment 149095
[details]
patch
Yong Li
Comment 2
2012-06-22 14:26:06 PDT
Comment on
attachment 149095
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=149095&action=review
> Source/WebKit/blackberry/Api/WebPageClient.h:163 > + virtual void openPopupList(bool multiple, int size, const ScopeArray<WebString>& labels, bool* enableds, const int* itemType, bool* selecteds) = 0;
"size" is a little bit vague here. Are "enableds" and "selecteds" outputs?
> Source/WebKit/blackberry/Api/WebPageClient.h:255 > - virtual void createPopupWebView(const Platform::IntRect& webViewRect) = 0; > + virtual bool createPopupWebView(Platform::IntRect) = 0;
why remove const&?
> Source/WebKit/blackberry/ChangeLog:4 > + [BlackBerry] Use air controls if client doesn't support HTML control > +
https://bugs.webkit.org/show_bug.cgi?id=89777
air=>AIR?
Crystal Zhang
Comment 3
2012-06-22 14:30:20 PDT
Comment on
attachment 149095
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=149095&action=review
>> Source/WebKit/blackberry/Api/WebPageClient.h:163 >> + virtual void openPopupList(bool multiple, int size, const ScopeArray<WebString>& labels, bool* enableds, const int* itemType, bool* selecteds) = 0; > > "size" is a little bit vague here. Are "enableds" and "selecteds" outputs?
no, they are inputs. Actually I just put the old method back, I thought we don't need it any more so removed in previous patch.
>> Source/WebKit/blackberry/Api/WebPageClient.h:255 >> + virtual bool createPopupWebView(Platform::IntRect) = 0; > > why remove const&?
In our repo it's just Platform::IntRect, also in libwebview it's the same too. Just want to make it consistent, otherwise we need to change libwebview too.
>> Source/WebKit/blackberry/ChangeLog:4 >> +
https://bugs.webkit.org/show_bug.cgi?id=89777
> > air=>AIR?
yeah.
Crystal Zhang
Comment 4
2012-06-22 14:48:57 PDT
Created
attachment 149110
[details]
updated patch
Mike Fenton
Comment 5
2012-06-25 07:40:21 PDT
Comment on
attachment 149110
[details]
updated patch View in context:
https://bugs.webkit.org/attachment.cgi?id=149110&action=review
> Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp:1178 > + if (m_webPage->m_page->chrome()->client()->openPagePopup(selectClient, elementRectInRootView))
Why not make this if (!..) And then only have one return true?
Crystal Zhang
Comment 6
2012-06-25 07:54:00 PDT
Created
attachment 149292
[details]
updated patch
WebKit Review Bot
Comment 7
2012-06-25 08:28:08 PDT
Comment on
attachment 149292
[details]
updated patch Clearing flags on attachment: 149292 Committed
r121158
: <
http://trac.webkit.org/changeset/121158
>
WebKit Review Bot
Comment 8
2012-06-25 08:28:13 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.
Top of Page
Format For Printing
XML
Clone This Bug