PDF Viewer - PageUp/Down don't move pdf by page size in FitToPage mode
commit9dad99260f7d8f991ef4ab502472381a55a12f96
authorn.bansal <n.bansal@samsung.com>
Tue, 21 Oct 2014 08:10:14 +0000 (21 01:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 21 Oct 2014 08:10:35 +0000 (21 08:10 +0000)
treedeac49a3bad7d2675ab131442d8e6fff8982bd76
parentb49778b1f891e8d0ad5368041c1b8559be110d26
PDF Viewer - PageUp/Down don't move pdf by page size in FitToPage mode

Currently when pdf is scaled to fit to page mode, both page down and
page up keys do not move pdf by page size. This is because both
the keys are not handled in HandleInputEvent().

This patch updates HandleInputEvent() to factor in key codes for
page up and page down to move pdf by page size in fit to page mode.
Similar to left and right arrow keys.

BUG=390599

Review URL: https://codereview.chromium.org/573523002

Cr-Commit-Position: refs/heads/master@{#300435}
pdf/instance.cc