Index: third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.h |
=================================================================== |
--- third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.h (revision 8275) |
+++ third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.h (working copy) |
@@ -95,6 +95,12 @@ |
// regardless of this setting. |
void setAcceptOnAbandon(bool value); |
+ // Sets whether the we should move the selection to the first/last item |
+ // when the user presses down/up arrow keys and the last/first item is |
+ // selected. |
+ // Default is false, causing the first/last item to stay selected. |
+ void setLoopSelectionNavigation(bool value); |
+ |
PopupListBox* listBox() const { return m_listBox.get(); } |
// Refresh the popup values from the PopupMenuClient. |