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

Unified Diff: Source/WebCore/platform/chromium/PopupMenuChromium.h

Issue 11099038: Merge 130513 - [chromium] Only inflate the height of rows in a popup menu when a touch device is de… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 2 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/PopupMenuChromium.h
===================================================================
--- Source/WebCore/platform/chromium/PopupMenuChromium.h (revision 130911)
+++ Source/WebCore/platform/chromium/PopupMenuChromium.h (working copy)
@@ -56,6 +56,8 @@
static int minimumRowHeight() { return s_minimumRowHeight; }
static void setMinimumRowHeight(int minimumRowHeight) { s_minimumRowHeight = minimumRowHeight; }
+ static int optionRowHeightForTouch() { return s_optionRowHeightForTouch; }
+ static void setOptionRowHeightForTouch(int optionRowHeightForTouch) { s_optionRowHeightForTouch = optionRowHeightForTouch; }
private:
PopupMenuClient* client() const { return m_popupClient; }
@@ -64,6 +66,7 @@
PopupMenuPrivate p;
static int s_minimumRowHeight;
+ static int s_optionRowHeightForTouch;
};
} // namespace WebCore
« no previous file with comments | « Source/WebCore/platform/chromium/PopupListBox.cpp ('k') | Source/WebCore/platform/chromium/PopupMenuChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698