Bug 132195 - Allow a platform-specific size enumeration to be passed into popup-menu display
Summary: Allow a platform-specific size enumeration to be passed into popup-menu display
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dean Jackson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-25 08:17 PDT by Dean Jackson
Modified: 2014-04-29 16:45 PDT (History)
1 user (show)

See Also:


Attachments
Patch (20.70 KB, patch)
2014-04-25 08:31 PDT, Dean Jackson
bfulgham: review+
Details | Formatted Diff | Diff
Updated patch for building (19.60 KB, patch)
2014-04-25 11:12 PDT, Dean Jackson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2014-04-25 08:17:10 PDT
Allow a platform-specific size enumeration to be passed into popup-menu display
Comment 1 Dean Jackson 2014-04-25 08:31:31 PDT
Created attachment 230181 [details]
Patch
Comment 2 Dean Jackson 2014-04-25 08:32:40 PDT
This will fail to compile due to required changes in WebKitSystemInterface.

<rdar://problem/16175750>
Comment 3 Brent Fulgham 2014-04-25 09:50:09 PDT
Comment on attachment 230181 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=230181&action=review

r=me. It looks like no similar changes are needed for iOS, right?

> Source/WebKit2/WebProcess/WebCoreSupport/mac/WebPopupMenuMac.mm:38
> +void WebPopupMenu::setUpPlatformData(const IntRect& pageRect, PlatformPopupMenuData& data)

It doesn't seem like you use pageRect anywhere.
Comment 4 Dean Jackson 2014-04-25 11:00:47 PDT
(In reply to comment #3)
> (From update of attachment 230181 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=230181&action=review
> 
> r=me. It looks like no similar changes are needed for iOS, right?

No. iOS uses something completely different for popup menus.
Comment 5 Dean Jackson 2014-04-25 11:12:53 PDT
Created attachment 230188 [details]
Updated patch for building
Comment 6 Dean Jackson 2014-04-25 14:43:30 PDT
Committed r167825: <http://trac.webkit.org/changeset/167825>
Comment 7 Brent Fulgham 2014-04-29 16:45:16 PDT
Comment on attachment 230188 [details]
Updated patch for building

Clearing review flag so it doesn't show up in the Request Queue.