In order to implement the deletion of autofill items in Chromium, PopupMenuChromium should have a getter to the selected index.
Created attachment 28657 [details] Adds the selectedIndex accessor to PopupMenuChromium
Comment on attachment 28657 [details] Adds the selectedIndex accessor to PopupMenuChromium > +++ WebCore/platform/chromium/PopupMenuChromium.h (working copy) > @@ -107,6 +107,10 @@ namespace WebCore { > > PopupListBox* listBox() const { return m_listBox.get(); } > > + // Gets the index of the item that the user is currently moused-over or > + // has selected with the keyboard up/down arrows. > + int selectedIndex() const; > + ident fail? :)
Created attachment 28706 [details] Fixed indent.
Comment on attachment 28706 [details] Fixed indent. r=me. I'll land.
Landed as http://trac.webkit.org/changeset/41835.