Index: pdf/instance.cc |
diff --git a/pdf/instance.cc b/pdf/instance.cc |
index 7706a69bebd403292a97bdcd42f9d35470d38374..6a68400d6ee4e185291c7c5c8fcf7d9174056752 100644 |
--- a/pdf/instance.cc |
+++ b/pdf/instance.cc |
@@ -594,6 +594,14 @@ bool Instance::HandleInputEvent(const pp::InputEvent& event) { |
case 'A': |
engine_->SelectAll(); |
return true; |
+ case ui::VKEY_OEM_4: |
+ // Left bracket. |
+ engine_->RotateCounterclockwise(); |
+ return true; |
+ case ui::VKEY_OEM_6: |
+ // Right bracket. |
+ engine_->RotateClockwise(); |
+ return true; |
} |
} |