[Webkit-unassigned] [Bug 80027] [chromium] Increase size of Combo Box Options for touch and high DPI devices
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 6 14:40:46 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=80027
Darin Fisher (:fishd, Google) <fishd at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #129710|review? |review-
Flag| |
--- Comment #2 from Darin Fisher (:fishd, Google) <fishd at chromium.org> 2012-03-06 14:40:45 PST ---
(From update of attachment 129710)
View in context: https://bugs.webkit.org/attachment.cgi?id=129710&action=review
> Source/WebCore/platform/chromium/PopupListBox.cpp:49
> +#include "Settings.h"
do you really need this include?
> Source/WebCore/platform/chromium/PopupListBox.cpp:357
> + const int& scale = m_settings.defaultDeviceScaleFactor;
why make this a reference? it seems like making a copy of the int should be sufficient unless you really need the indirection.
> Source/WebCore/platform/chromium/PopupListBox.cpp:397
> + const int& scale = m_settings.defaultDeviceScaleFactor;
ditto
> Source/WebCore/platform/chromium/PopupListBox.cpp:401
> + // Height and y will both be evenly divisible by scale.
should you perhaps assert this? it seems like rounding errors if possible would be annoying.
> Source/WebCore/platform/chromium/PopupListBox.cpp:632
> + const int& scale = m_settings.defaultDeviceScaleFactor;
ditto
> Source/WebCore/platform/chromium/PopupListBox.cpp:634
> + if (WebCore::RuntimeEnabledFeatures::touchEnabled())
you should not need the "WebCore::" prefix
> Source/WebCore/rendering/RenderMenuList.cpp:312
> + const int& scale = document()->page()->settings()->defaultDeviceScaleFactor();
no reference
> Source/WebKit/chromium/src/WebViewImpl.cpp:637
> + // That tap triggered a select popup which is the same as the one that
so we will see a flickering of the select popup? is there some way to mitigate / avoid that?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list