summaryrefslogtreecommitdiffstats
path: root/pdf/out_of_process_instance.cc
diff options
context:
space:
mode:
authorraymes <raymes@chromium.org>2015-02-04 19:54:54 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-05 03:56:12 +0000
commitf0db15c17e5abb7c6dccdc11bcfffcb2d8ce835c (patch)
tree4c820bd8d26b5c02e29d887056697f23e8659576 /pdf/out_of_process_instance.cc
parent7208f4b68787eccb56af767ac87fc6f300be335c (diff)
downloadchromium_src-f0db15c17e5abb7c6dccdc11bcfffcb2d8ce835c.zip
chromium_src-f0db15c17e5abb7c6dccdc11bcfffcb2d8ce835c.tar.gz
chromium_src-f0db15c17e5abb7c6dccdc11bcfffcb2d8ce835c.tar.bz2
Make pinch-zoom work for OOP PDF
There are two changes to make this work: -Set the plugins width/height to 100%. We will soon be using this for the material layout as well. -Allow MimeHandlerViewGuests to handle pinch gestures when they are full-page plugins. BUG=453729 Review URL: https://codereview.chromium.org/904553002 Cr-Commit-Position: refs/heads/master@{#314742}
Diffstat (limited to 'pdf/out_of_process_instance.cc')
-rw-r--r--pdf/out_of_process_instance.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc
index 1dfd925..0ccfa36 100644
--- a/pdf/out_of_process_instance.cc
+++ b/pdf/out_of_process_instance.cc
@@ -282,6 +282,7 @@ OutOfProcessInstance::OutOfProcessInstance(PP_Instance instance)
RequestFilteringInputEvents(PP_INPUTEVENT_CLASS_MOUSE);
RequestFilteringInputEvents(PP_INPUTEVENT_CLASS_KEYBOARD);
+ RequestFilteringInputEvents(PP_INPUTEVENT_CLASS_TOUCH);
}
OutOfProcessInstance::~OutOfProcessInstance() {