d46818b1c5ebd9143538e20593346bbb00f0810c

To do this, plumb a HasEditableText() call through PPAPI to the PDF plugin, where it uses the FORM_GetFocusedText() PDFium API to check if there is text to select. Enable the context menu item only if there is text to select. Then hook up the "Select all" command to send a synthesized ctrl + a keyboard event to the plugin. BUG=753216 Change-Id: Ideaf19ff5e848a428e15f191e66587a0c8fe05b0 Reviewed-on: https://chromium-review.googlesource.com/640560 Reviewed-by: Bill Budge <bbudge@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#551652}
…
…
Chromium
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Languages
C++
74.4%
Java
8.2%
Objective-C++
4.6%
TypeScript
4%
Python
2.5%
Other
6.1%