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

Issue 2955743002: Only call PDFiumEngine::OnSelectionChanged() when there are changes. (Closed)

Created:
3 years, 6 months ago by Lei Zhang
Modified:
3 years, 5 months ago
Reviewers:
dsinclair
CC:
chromium-reviews, drgage
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Only call PDFiumEngine::OnSelectionChanged() when there are changes. Otherwise, the PDF plugin will try to change the selection clipboard all the time when selection, even for the tiniest mouse movement. Doing so generates a lot of unnecessary IPC calls. Review-Url: https://codereview.chromium.org/2955743002 Cr-Commit-Position: refs/heads/master@{#482371} Committed: https://chromium.googlesource.com/chromium/src/+/88dd64554bd5471c3d2cb43aafa18f4e60505d0e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M pdf/pdfium/pdfium_engine.cc View 1 chunk +9 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (10 generated)
Lei Zhang
3 years, 5 months ago (2017-06-26 19:04:18 UTC) #8
dsinclair
lgtm
3 years, 5 months ago (2017-06-26 19:08:55 UTC) #10
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/2955743002/1
3 years, 5 months ago (2017-06-26 19:09:17 UTC) #11
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 20:09:30 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/88dd64554bd5471c3d2cb43aafa1...

Powered by Google App Engine
This is Rietveld 408576698