summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/private/pdf.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement GetSelectedText() for the OOP PDF plugin.koz@chromium.org2014-01-151-0/+2
| | | | | | | | | | | | | This change exposes a SetSelectedText() function to the plugin so it can eagerly notify the plugin host what the currently selected text is. This allows the call to GetSelectedText() to return synchronously with the last selected text, rather than the empty string. R=joi@chromium.org, piman@chromium.org, raymes@chromium.org Review URL: https://codereview.chromium.org/127343003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244827 0039d316-1c4b-4281-b951-d872f2087c98
* Add a flag for running the PDF plugin out of process.raymes@google.com2013-11-251-0/+1
| | | | | | | | | | | | | | Add a flag --out-of-process-pdf to run the PDF plugin out of process. This also adds an interface for the plugin to determine whether it is running out of process. We can remove this once we finish transitioning to the out of process plugin. BUG=303491 R=jam@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/78003006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237175 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a PPAPI interface to request a password. For the Mac it opens a ↵avi@chromium.org2013-09-131-0/+2
| | | | | | | | | | | | | | tab-modal password box; for other platforms it falls back to a JavaScript dialog (which is no change from the current behavior). BUG=54748 TEST=load a password-protected PDF on the Mac, see fancy new UI R=raymes@chromium.org, sail@chromium.org, thestig@chromium.org, tsepez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223074 Review URL: https://codereview.chromium.org/23447025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223085 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 223074 "Adds a PPAPI interface to request a password. For..."avi@chromium.org2013-09-131-2/+0
| | | | | | | | | | | | | | | | > Adds a PPAPI interface to request a password. For the Mac it opens a tab-modal password box; for other platforms it falls back to a JavaScript dialog (which is no change from the current behavior). > > BUG=54748 > TEST=load a password-protected PDF on the Mac, see fancy new UI > R=raymes@chromium.org, sail@chromium.org, thestig@chromium.org, tsepez@chromium.org > > Review URL: https://codereview.chromium.org/23447025 TBR=avi@chromium.org Review URL: https://codereview.chromium.org/23653038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223077 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a PPAPI interface to request a password. For the Mac it opens a ↵avi@chromium.org2013-09-131-0/+2
| | | | | | | | | | | | tab-modal password box; for other platforms it falls back to a JavaScript dialog (which is no change from the current behavior). BUG=54748 TEST=load a password-protected PDF on the Mac, see fancy new UI R=raymes@chromium.org, sail@chromium.org, thestig@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/23447025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223074 0039d316-1c4b-4281-b951-d872f2087c98
* Change PPB_PDF to use PP_BrowserFont_Trusted_Description instead of ↵raymes@chromium.org2013-03-261-0/+8
| | | | | | | | | | | | | PP_FontDescription_Dev. This also changes the ppb_pdf_thunk (which is only used for the out of process case) to call directly into PPB_Flash_Font_File for font-related functions. BUG= Review URL: https://codereview.chromium.org/12893016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190777 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the InstanceHandle paramater from the PPB_PDF C++ wrapper.raymes@chromium.org2013-03-201-2/+1
| | | | | | | | | | | The InstanceHandle param is unused. BUG= TBR=dmichael Review URL: https://chromiumcodereview.appspot.com/12642014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189279 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPAPI C++ wrappers for PDF.raymes@chromium.org2013-03-191-0/+62
Add C++ wrappers for PDF. The wrappers aren't entirely idiomatic (e.g. there is a case where we just return a PP_Resource instead of wrapping it in an object). This is because of the weird way that the interface is used in the plugin which just makes it more convenient to return the raw resource ID. BUG= Review URL: https://chromiumcodereview.appspot.com/12527012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188909 0039d316-1c4b-4281-b951-d872f2087c98