DescriptionMac: Content blocked icons.
Also rewrite how omnibox icons are handled, to make it less repetitive to add the content blocked icons. Remove a O(n^2) while I'm at it.
BUG=35594, 34894
TEST=Go to a page with popups. "popups blocked" icon should appear in omnibox. It should have a tooltip, and a normal arrow cursor on mouse over. Switching tabs should make it go away, coming back to the tab with the blocked popup should make it go back. Page actions should still work (tooltips, clicking, context menu, display). Security icon should still work. Install rss extension; the preview bubble should point to the right icon.
http://imgur.com/Yo0Ss
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=39158
Patch Set 1 #Patch Set 2 : works (modulo spacing and breaking nearly all clients of pageActionFrameForIndex) #Patch Set 3 : spacing #Patch Set 4 : most stuff actually works #
Total comments: 1
Patch Set 5 : tests #Patch Set 6 : make one method more solid. also fix extension_bubble_controller which relied on a bug that i fixed #Patch Set 7 : rebase #
Total comments: 50
Patch Set 8 : comments mirandac #Patch Set 9 : comments andybons #Messages
Total messages: 9 (0 generated)
|