Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: Source/WebCore/platform/chromium/PopupListBox.cpp

Issue 13818030: Added primary input devices setting to blink to allow media queries for hover/pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review fixes Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/chromium/PopupListBox.cpp
diff --git a/Source/WebCore/platform/chromium/PopupListBox.cpp b/Source/WebCore/platform/chromium/PopupListBox.cpp
index 3188a1021f485ad6095f5b64df9e95dbbee48d11..cbf78ab3800d5eb9460055bd6c0232fd8c96f0b0 100644
--- a/Source/WebCore/platform/chromium/PopupListBox.cpp
+++ b/Source/WebCore/platform/chromium/PopupListBox.cpp
@@ -626,7 +626,7 @@ void PopupListBox::setOriginalIndex(int index)
int PopupListBox::getRowHeight(int index)
{
int minimumHeight = PopupMenuChromium::minimumRowHeight();
- if (m_settings.deviceSupportsTouch)
+ if (m_settings.primaryInputIncludesTouch)
minimumHeight = max(minimumHeight, PopupMenuChromium::optionRowHeightForTouch());
if (index < 0 || m_popupClient->itemStyle(index).isDisplayNone())
« no previous file with comments | « Source/WebCore/platform/chromium/PopupListBox.h ('k') | Source/WebCore/platform/chromium/PopupMenuChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698