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

Unified Diff: pdf/instance.cc

Issue 689393002: Fix rotation shortcut keys in PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes as per review comments. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/instance.cc
diff --git a/pdf/instance.cc b/pdf/instance.cc
index 4bd2f787dfec69d80534de5f9686dc5e619f32b9..6417d7870211ed9cd38ce88d957fcb374f7b0d2c 100644
--- a/pdf/instance.cc
+++ b/pdf/instance.cc
@@ -597,7 +597,8 @@ bool Instance::HandleInputEvent(const pp::InputEvent& event) {
engine_->SelectAll();
return true;
}
- } else if (modifier & PP_INPUTEVENT_MODIFIER_CONTROLKEY) {
+ }
+ if (modifier & PP_INPUTEVENT_MODIFIER_CONTROLKEY) {
switch (keyboard_event.GetKeyCode()) {
case ui::VKEY_OEM_4:
// Left bracket.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698