DescriptionAdd unit-tests for MenuButton and simplify implementation.
The old method of using a timer to set the closeHandler was messy and harder
to unit-test. The new method uses stopPropagation, which is cleaner and makes
the unit-tests simpler.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284295
Patch Set 1 #Patch Set 2 : Added missing file. #
Total comments: 3
Patch Set 3 : Rebase #Patch Set 4 : Rebase #
Messages
Total messages: 21 (0 generated)
|