-
jhawkins@chromium.org authored
Reviewed by Darin Fisher. [Chromium] Add the ability to show right-aligned icons in the AutoFill popup. https://bugs.webkit.org/show_bug.cgi?id=43076 * public/WebView.h: * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::getIcon): (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): (WebKit::AutoFillPopupMenuClient::itemIcon): (WebKit::AutoFillPopupMenuClient::initialize): (WebKit::AutoFillPopupMenuClient::setSuggestions): * src/AutoFillPopupMenuClient.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::applyAutoFillSuggestions): (WebKit::WebViewImpl::applyAutocompleteSuggestions): * src/WebViewImpl.h: 2010-07-27 James Hawkins <jhawkins@chromium.org> Reviewed by Darin Fisher. Add itemIcon() method to the PopupMenuClient, used by Chrome AutoFill to display right-aligned credit card icons in the suggestions popup. https://bugs.webkit.org/show_bug.cgi?id=43076 No new tests as this is only used by the Chromium WebKit API. * platform/PopupMenuClient.h: * platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupListBox::paintRow): * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::itemIcon): * rendering/RenderMenuList.h: * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::itemIcon): * rendering/RenderTextControlSingleLine.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
03b5093f