DescriptionMicButton should implement MaskedTargeterDelegate
Define the hit test mask for MicButton by implementing
MaskedTargeterDelegate instead of overriding
View::HasHitTestMask() and View::GetHitTestMaskDeprecated().
BUG=388838
TEST=SpeechViewTest.ClickMicButton
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282395
Patch Set 1 #Patch Set 2 : avoid static_cast when setting the targeter #Patch Set 3 : rebase against ToT #Patch Set 4 : re-upload #Patch Set 5 : moved MicButton class declaration #Patch Set 6 : re-upload #
Total comments: 2
Patch Set 7 : comments addressed #
Total comments: 2
Patch Set 8 : local variable to avoid static_cast #Messages
Total messages: 8 (0 generated)
|