WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
48407
Port ContextMenuItemWin.cpp to WinCE
https://bugs.webkit.org/show_bug.cgi?id=48407
Summary
Port ContextMenuItemWin.cpp to WinCE
Patrick R. Gansterer
Reported
2010-10-27 03:00:57 PDT
see patch
Attachments
Patch
(2.08 KB, patch)
2010-10-27 04:41 PDT
,
Patrick R. Gansterer
aroben
: review-
aroben
: commit-queue-
Details
Formatted Diff
Diff
Patch
(1.04 KB, patch)
2010-10-27 08:09 PDT
,
Patrick R. Gansterer
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Patrick R. Gansterer
Comment 1
2010-10-27 04:41:06 PDT
Created
attachment 72005
[details]
Patch
Adam Roben (:aroben)
Comment 2
2010-10-27 04:48:22 PDT
Comment on
attachment 72005
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=72005&action=review
> WebCore/platform/win/ContextMenuItemWin.cpp:73 > +#if OS(WINCE) > + m_platformDescription->fMask = MIIM_TYPE; > +#else > m_platformDescription->fMask = MIIM_FTYPE; > +#endif
Maybe we could finesse this a little more by using a constant that is defined to MIIM_TYPE on WinCE and MIIM_FTYPE on other versions of Windows? Or we could define MIIM_FTYPE on WinCE.
> WebCore/platform/win/ContextMenuItemWin.cpp:88 > if (subMenu) { > - m_platformDescription->fMask |= MIIM_STRING | MIIM_SUBMENU; > + m_platformDescription->fMask |= MIIM_SUBMENU; > m_platformDescription->hSubMenu = subMenu->platformDescription(); > } else > - m_platformDescription->fMask |= MIIM_STRING | MIIM_ID; > + m_platformDescription->fMask |= MIIM_ID; > + > +#if !OS(WINCE) > + m_platformDescription->fMask |= MIIM_STRING; > +#endif
…and we could finesse this more by defining MIIM_STRING to 0 on WinCE.
Patrick R. Gansterer
Comment 3
2010-10-27 08:09:19 PDT
Created
attachment 72036
[details]
Patch (In reply to
comment #2
)
> Maybe we could finesse this a little more...
Not sure if it's better now, but it's ok for me too. ;-)
WebKit Commit Bot
Comment 4
2010-10-28 14:19:50 PDT
The commit-queue encountered the following flaky tests while processing
attachment 72036
[details]
: http/tests/appcache/foreign-iframe-main.html http/tests/inspector/console-resource-errors.html Please file bugs against the tests. These tests were authored by
ap@webkit.org
,
caseq@chromium.org
, and
eric@webkit.org
. The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 5
2010-10-28 14:42:10 PDT
Comment on
attachment 72036
[details]
Patch Clearing flags on attachment: 72036 Committed
r70812
: <
http://trac.webkit.org/changeset/70812
>
WebKit Commit Bot
Comment 6
2010-10-28 14:42:15 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