Add bundle SPI allowing PageOverlay to customize the action menu
Created attachment 240988 [details] Patch
<rdar://problem/18875579>
Comment on attachment 240988 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=240988&action=review > Source/WebCore/page/PageOverlayController.h:52 > + Vector<RefPtr<PageOverlay>>& pageOverlays() const { return m_pageOverlays; } This should either return a const Vector& or not be const. > Source/WebKit2/WebProcess/WebPage/WebPageOverlay.cpp:39 > +static HashMap<PageOverlay*, WebPageOverlay*>& coreOverlayMap() I think this can just be called overlayMap(). > Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm:1205 > + for (auto& overlay : mainFrame.pageOverlayController().pageOverlays()) { I think this can be const auto&.
http://trac.webkit.org/changeset/175597