Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 164309: A quick fix for Issue 18844.... (Closed)

Created:
11 years, 4 months ago by Hironori Bono
Modified:
9 years, 7 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

A 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -4 lines) Patch
M webkit/glue/webview_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webview_impl.cc View 4 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Hironori Bono
11 years, 4 months ago (2009-08-11 07:51:36 UTC) #1
Avi (use Gerrit)
11 years, 4 months ago (2009-08-11 14:44:09 UTC) #2
LG

Powered by Google App Engine
This is Rietveld 408576698