DescriptionImplement PopupMenu::updateFromElement() for ExternalPopupMenu.
It closes a shown popup, and re-show a popup with the latest content.
This CL affects only OSX and Android.
Implementation:
A major part of show() was moved to showInternal(), and updateFromElement() calls
showInternal() later. showInternal() returns false if it failed to show a popup.
Update from crrev.com/370329:
Fix crbug.com/579895. We check domTreeVersion in updateFromElement(). We
re-create popup only if the DOM tree was modified.
BUG=176241
TEST=manual; See crbug.com/176241.
Committed: https://crrev.com/f32f9fad19a8366c837e3d10112001c8e7d42606
Cr-Commit-Position: refs/heads/master@{#370329}
Committed: https://crrev.com/c92e23cc419c2db58851f48c12dc55ae73c1a32c
Cr-Commit-Position: refs/heads/master@{#370890}
Patch Set 1 #
Total comments: 2
Patch Set 2 : typo #Patch Set 3 : Fix crbug.com/579895 #
Messages
Total messages: 21 (8 generated)
|