DescriptionIntroduce the MicButtonTargeter class
Introduce MicButtonTargeter, a derived class of MaskedViewTargeter,
to define the circular hit-test region of MicButton.
We will need to be able to access the hit test mask corresponding
to a view by calling into its installed MaskedViewTargeter, so
GetHitTestMask() should be made public. Furthermore, add a version
of GetEventTargeter() to EventTarget that returns a const pointer.
BUG=377537, 378485
TEST=SpeechViewTest.ClickMicButton
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273740
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebase against ToT #Patch Set 3 : For review #
Total comments: 2
Patch Set 4 : test in progress #
Total comments: 8
Patch Set 5 : test fixed #Patch Set 6 : fix compilation #
Messages
Total messages: 15 (0 generated)
|