Chromium Code Reviews
DescriptionA quick fix for Issue 18844.
This change checks if the modifier flag is a WebInputEvent::MetaKey flag to switch the scroll granularity when a user types a up/down key.
Editor::Commands ("MoveToBeginningOfDocument" and "MoveToEndOfDocument") works only in an editable control, such as <textarea>. On the other hand, this WebViewImpl::ScrollViewWithKeyboard() is for scrolling a page.
BUG=18844
"Apple (command) key + down arrow is not working"
TEST=Type command+down keys in a web page which contains a scroll bar, and verify Chrome scrolls the page to its end.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23285
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
||||||||||||||||||||||||||||