Chromium Code Reviews
DescriptionDevTools: [Console] fix console stick-to-bottom behavior in case of multiline messages
The patch fixes the stick-to-bottom behavior of console in case of multiline
messages.
The patch does two things:
1. ViewportControl starts to cache provider's itemCount in invalidate call.
This ensures that the regular scrolling of viewport is not affected
by provider's item changes unless an invalidate method was called.
2. Stick to bottom only in case of non-user-generated gestures. This is
done via transitioning to the event.isTrusted flag.
BUG=594339
R=dgozman, pfeldman
Committed: https://crrev.com/1d413c3ebced31d7182b31ff6efb458c5a12216e
Cr-Commit-Position: refs/heads/master@{#385872}
Patch Set 1 #
Total comments: 2
Patch Set 2 : event.isTrusted #Patch Set 3 : fix test #
Messages
Total messages: 22 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||