diff options
author | raymes <raymes@chromium.org> | 2015-02-04 19:54:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-05 03:56:12 +0000 |
commit | f0db15c17e5abb7c6dccdc11bcfffcb2d8ce835c (patch) | |
tree | 4c820bd8d26b5c02e29d887056697f23e8659576 /pdf | |
parent | 7208f4b68787eccb56af767ac87fc6f300be335c (diff) | |
download | chromium_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')
-rw-r--r-- | pdf/out_of_process_instance.cc | 1 |
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() { |