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

Issue 2887913002: Reland: Handle long press in PDF documents. (Closed)

Created:
3 years, 7 months ago by dsinclair
Modified:
3 years, 7 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Handle long press in PDF documents. This Cl updates the touch handlers for PDF documents to better support long press. The long press context menu is suppressed and the wonder under the press is of sufficient time. This attempt disables the test which seems to fail on certain bots. BUG=chromium:490184 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation PRIOR REVIEWS: > Review-Url: https://codereview.chromium.org/2855953003 > Revert Review-Url: https://codereview.chromium.org/2864603006 > Reland Review-Url: https://codereview.chromium.org/2861383003 Review-Url: https://codereview.chromium.org/2887913002 Cr-Commit-Position: refs/heads/master@{#472451} Committed: https://chromium.googlesource.com/chromium/src/+/781747b0aa041e426b6446bd49c11f9710b31c9d

Patch Set 1 #

Patch Set 2 : disable test #

Total comments: 4

Patch Set 3 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -51 lines) Patch
M chrome/browser/pdf/pdf_extension_test.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/pdf/gesture_detector.js View 3 chunks +19 lines, -8 lines 0 comments Download
M chrome/browser/resources/pdf/pdf.js View 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/test/data/pdf/gesture_detector_test.js View 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/test/data/pdf/touch_handling_test.js View 1 2 1 chunk +76 lines, -0 lines 0 comments Download
M pdf/out_of_process_instance.h View 3 chunks +4 lines, -0 lines 0 comments Download
M pdf/out_of_process_instance.cc View 7 chunks +52 lines, -25 lines 0 comments Download
M pdf/pdf_engine.h View 2 chunks +7 lines, -2 lines 0 comments Download
M pdf/pdfium/pdfium_engine.h View 5 chunks +12 lines, -7 lines 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 6 chunks +61 lines, -9 lines 0 comments Download
M pdf/preview_mode_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M pdf/preview_mode_client.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
dsinclair
PTAL. I'm not sure how else to deal with this. It works on the machines ...
3 years, 7 months ago (2017-05-16 20:18:51 UTC) #2
Lei Zhang
lgtm https://codereview.chromium.org/2887913002/diff/20001/chrome/test/data/pdf/touch_handling_test.js File chrome/test/data/pdf/touch_handling_test.js (right): https://codereview.chromium.org/2887913002/diff/20001/chrome/test/data/pdf/touch_handling_test.js#newcode55 chrome/test/data/pdf/touch_handling_test.js:55: // Test long press selects word. This test ...
3 years, 7 months ago (2017-05-17 08:36:39 UTC) #3
dsinclair
https://codereview.chromium.org/2887913002/diff/20001/chrome/test/data/pdf/touch_handling_test.js File chrome/test/data/pdf/touch_handling_test.js (right): https://codereview.chromium.org/2887913002/diff/20001/chrome/test/data/pdf/touch_handling_test.js#newcode55 chrome/test/data/pdf/touch_handling_test.js:55: // Test long press selects word. This test flakes ...
3 years, 7 months ago (2017-05-17 13:19:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2887913002/40001
3 years, 7 months ago (2017-05-17 13:19:56 UTC) #7
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 14:46:25 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/781747b0aa041e426b6446bd49c1...

Powered by Google App Engine
This is Rietveld 408576698