summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Implement NPNVsupportsCompositingCoreAnimationPluginsBoolstuartmorgan@chromium.org2011-12-074-11/+15
| | | | | | | | | | | | | | Returns true when plugin compositing is enabled, so that plugins that dynamically query for composited CA support know it's safe to use CA. Updates NPAPI headers to r14 of the upstream 'npapi-sdk' project headers, to pick up the new constant. BUG=40997 TEST=HTML overlays should work with, e.g., the Google Earth plugin on 10.6+ Review URL: http://codereview.chromium.org/8805004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113370 0039d316-1c4b-4281-b951-d872f2087c98
* Update NPAPI headers to latest npapi-sdkstuartmorgan@chromium.org2011-05-173-32/+6
| | | | | | | | | | | Updates to r10 of the upstream 'npapi-sdk' project headers (the replacement for npapi-headers). Also further reduces forking, by removing some old local changes that are no longer necassary. BUG=42645 TEST=Everything still compiles Review URL: http://codereview.chromium.org/7033014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85636 0039d316-1c4b-4281-b951-d872f2087c98
* Create an owners file for the NPAPI bindings directorystuartmorgan@chromium.org2011-04-211-0/+1
| | | | | | | | | | | This is primarily so I can easly continue to ensure we don't diverge any more from the upstream headers. BUG=None TEST=N/A Review URL: http://codereview.chromium.org/6873157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82499 0039d316-1c4b-4281-b951-d872f2087c98
* Pull in r34 of the upstream NPAPI headers (Updated Cocoa IME)stuartmorgan@chromium.org2011-01-201-0/+2
| | | | | | | | | | | This skips r33 (which is unrelated) for the moment because NaCl needs changes in order to compile with r33. BUG=None TEST=None Review URL: http://codereview.chromium.org/6307009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71965 0039d316-1c4b-4281-b951-d872f2087c98
* Update NPAPI headers to r32 from the upstream npapi-headers repositorystuartmorgan@chromium.org2011-01-083-4/+24
| | | | | | | | | | | This adds the new data-clearing APIs. BUG=None TEST=None Review URL: http://codereview.chromium.org/6102007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70821 0039d316-1c4b-4281-b951-d872f2087c98
* Sync to r31 of npapi-headersstuartmorgan@chromium.org2010-11-152-9/+38
| | | | | | | | | | | Adds stubs (except where the lack of a function pointer is spec'd as an indication of lack of support) and TODOs where we don't yet implement new functions. BUG=None TEST=No behavioral changes Review URL: http://codereview.chromium.org/4930001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66129 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto hooks for Sync in TestingAutomationProviderrsimha@chromium.org2010-11-031-0/+4
| | | | | | | | | | | | | | | | | | This patch exposes hooks for sync in TestingAutomationProvider that the chrome pyauto test suite can use. It contains the following changes: - Partial revert of an earlier change to ProfileSyncServiceHarness. Some of its methods were made pure virtual, but this ended up being unnecessary. Also ripped out unnecessary code from LiveSyncTest. - Minor refactor of ProfileSyncServiceHarness to allow for scenarios where the browser is restarted. - A bunch of new methods in TestingAutomationProvider: SignInToSync, GetSyncInfo, AwaitSyncCycleCompletion, EnableSyncForDatatypes and DisableSyncForDatatypes. - A new method in model_type.h/cc called ModelTypeFromString. Required for automation. - New APIs in pyauto.py for sync. - New test suite sync.py with sample tests. BUG=53651, 60970, 56460, 61639 TEST=run pyauto sync tests Review URL: http://codereview.chromium.org/4096004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64988 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of making RenderView not special case PluginDocument and making ↵jam@chromium.org2010-07-081-2/+4
| | | | | | | | the WebPlugin API more like WebView. Review URL: http://codereview.chromium.org/2827047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51886 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for vector printing for Pepper v1 plugins for Linux.sanjeevr@chromium.org2010-06-291-5/+14
| | | | | | | | | BUG=None TEST=Test printing from Chrome PDF plugin on Linux. Review URL: http://codereview.chromium.org/2807027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51181 0039d316-1c4b-4281-b951-d872f2087c98
* Allow quering Pepper plugin for selected text for the context menu. Also ↵jam@chromium.org2010-06-291-11/+19
| | | | | | | | take out the ability to access the clipboard since it's not exposed to HTML for security reasons. Review URL: http://codereview.chromium.org/2841028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51159 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for vector printing for Pepper v1 plugins for Windows. Mac and ↵sanjeevr@chromium.org2010-06-241-0/+8
| | | | | | | | | | | Linux to follow. BUG=None. TEST=Test printing from Chrome PDF plugin on Windows. Review URL: http://codereview.chromium.org/2863019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50699 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extra ',' at the end of an enum list which fails to compile in C withmsneck@google.com2010-06-231-1/+1
| | | | | | | | | | | "-pedantic" enabled. BUG=none TEST=none Review URL: http://codereview.chromium.org/2830024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50654 0039d316-1c4b-4281-b951-d872f2087c98
* Add a font API to Pepper and implement on Linux based on agl's code from ↵jam@chromium.org2010-06-111-0/+79
| | | | | | | | http://codereview.chromium.org/2673003. Review URL: http://codereview.chromium.org/2794004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49599 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more type issues from the npapi.h tranisition to *_t typesstuartmorgan@chromium.org2010-06-042-19/+2
| | | | | | | | | | | | | Fixes the remaining not _t types in our plugin code Removes the extra typedefs added to our copy of npapi.h Adds headers to plugin code where necessary due to implicit dependencies on standard headers via basictypes.h BUG=42645 TEST=Everything still compiles Review URL: http://codereview.chromium.org/2505001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48952 0039d316-1c4b-4281-b951-d872f2087c98
* Implement support for NPDrawingModelInvalidatingCoreAnimation in Mac pluginsstuartmorgan@chromium.org2010-06-031-1/+3
| | | | | | | | | BUG=38982 TEST=None (no plugins use it yet) Review URL: http://codereview.chromium.org/2561005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48877 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch more type changes as part of the npapi.h mergingstuartmorgan@chromium.org2010-06-022-75/+65
| | | | | | | | | | | | | This makes two types of changes - More int* -> int*_t transitions, since npapi.h switched over - Replace TRUE/FALSE, which have been removed from the upstream npapi.h. Since all our usage is C++, true/false seemed cleaner than 1/0. BUG=42645 TEST=Compiling still works Review URL: http://codereview.chromium.org/2484002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48725 0039d316-1c4b-4281-b951-d872f2087c98
* Add a "Copy" API to Pepper, so that plugins don't have to hardcode the ↵jam@chromium.org2010-05-271-0/+5
| | | | | | | | platform specific shortcut. Also, this makes copying through the page menu work on Mac and Linux. Review URL: http://codereview.chromium.org/2329001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48443 0039d316-1c4b-4281-b951-d872f2087c98
* Add a SetCursor API to Pepper. I'll implement custom cursors once we ↵jam@chromium.org2010-05-241-0/+51
| | | | | | | | switched over to the new API. Review URL: http://codereview.chromium.org/2122018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48053 0039d316-1c4b-4281-b951-d872f2087c98
* fix cast so it works in cnfullagar@google.com2010-05-191-2/+2
| | | | | | Review URL: http://codereview.chromium.org/2068010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47602 0039d316-1c4b-4281-b951-d872f2087c98
* don't include nptypes.h for native clientnfullagar@google.com2010-05-181-2/+4
| | | | | | Review URL: http://codereview.chromium.org/2077010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47581 0039d316-1c4b-4281-b951-d872f2087c98
* add temp typedefs so we can bump DEPS in NaClnfullagar@google.com2010-05-181-0/+20
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47550 0039d316-1c4b-4281-b951-d872f2087c98
* remove last comma from enum lists (required to build on NaCl with stricter ↵nfullagar@google.com2010-05-141-5/+5
| | | | | | | | compiler) Review URL: http://codereview.chromium.org/2090005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47302 0039d316-1c4b-4281-b951-d872f2087c98
* More changes to sync npapi.h to the upstream npapi-headers version.stuartmorgan@chromium.org2010-05-131-67/+62
| | | | | | | | | | | | - Syncs the use of NP_LOADDS - Pulls recent minor upstream cleanup BUG=42645 TEST=None; no behavioral changes Review URL: http://codereview.chromium.org/2091003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47219 0039d316-1c4b-4281-b951-d872f2087c98
* Update the Pepper scrollbar widget to use the new WebKit Scrollbar interface.jam@chromium.org2010-05-121-4/+12
| | | | | | Review URL: http://codereview.chromium.org/2008008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47000 0039d316-1c4b-4281-b951-d872f2087c98
* Change npapi.h header guard to match npapi-headers versionstuartmorgan@chromium.org2010-05-111-3/+3
| | | | | | | | | BUG=42645 TEST=Everything still compiles Review URL: http://codereview.chromium.org/2002008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46927 0039d316-1c4b-4281-b951-d872f2087c98
* Add more OS/2 defines to npapi.hstuartmorgan@chromium.org2010-05-111-0/+43
| | | | | | | | | | | Brings us yet closer to matching the npapi-headers version. BUG=42645 TEST=None; no behavioral changes. Review URL: http://codereview.chromium.org/2014008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46918 0039d316-1c4b-4281-b951-d872f2087c98
* Add Symbian defines to npapi.h to match upstream changesstuartmorgan@chromium.org2010-05-101-8/+16
| | | | | | | | | BUG=42645 TEST=None; no behavioral changes. Review URL: http://codereview.chromium.org/2015009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46871 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using npfunctions.h from npapi-headers for NPAPI declarationsstuartmorgan@chromium.org2010-05-102-289/+226
| | | | | | | | | BUG=42645 TEST=Compiling still works. Review URL: http://codereview.chromium.org/2003009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46814 0039d316-1c4b-4281-b951-d872f2087c98
* Add parameters to CreateWidget Pepper API so we can specify whether a ↵jam@chromium.org2010-05-071-3/+8
| | | | | | | | scrollbar is vertical or not. Review URL: http://codereview.chromium.org/1996009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46741 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the obsolete JRI bits from the NPAPI headersstuartmorgan@chromium.org2010-05-072-14/+1
| | | | | | | | | BUG=42645 TEST=Existing plugin tests continue to pass; nothing should change. Review URL: http://codereview.chromium.org/2011005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46732 0039d316-1c4b-4281-b951-d872f2087c98
* Add new widget API to Pepper to replace the old theming API. The ↵jam@chromium.org2010-05-071-184/+222
| | | | | | | | implementation is a copy of the WebKit code, I will figure out how to reuse it soon. Review URL: http://codereview.chromium.org/2011004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46710 0039d316-1c4b-4281-b951-d872f2087c98
* Bring npapi.h closer to the npapi-headers project versionstuartmorgan@chromium.org2010-05-061-87/+100
| | | | | | | | | | | | | | | | | | | This makes a bunch of changes that shouldn't actually affect anything: - Removes XP_MAC - Removes old Carbon event constants - Removes Metrowerks defines - Adds new constants and structs from recent spec updates - Adds OS/2 defines - Adds Maemo defines Also makes more whitespace adjustments to track central repository. BUG=42645 TEST=none; no behavioral changes Review URL: http://codereview.chromium.org/1995007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46596 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate non-functional differences between our NPAPI headers and the ↵stuartmorgan@chromium.org2010-05-052-427/+408
| | | | | | | | | | | | | npapi-headers copies This changes only whitespace/comment and file order differences; substantive changes will be done separately. BUG=42645 TEST=None; no behavioral changes. Review URL: http://codereview.chromium.org/2001001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46522 0039d316-1c4b-4281-b951-d872f2087c98
* Move NPAPI to C99 typesstuartmorgan@chromium.org2010-05-055-113/+184
| | | | | | | | | BUG=42645 TEST=None; no behavioral change. Review URL: http://codereview.chromium.org/1910004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46463 0039d316-1c4b-4281-b951-d872f2087c98
* New experimental Pepper device API.apatrick@chromium.org2010-04-161-0/+218
| | | | | | | | | | | | | | | - makes device contexts opaque to the plugin - can get / set multiple attributes and flush with a single call (and underlying IPC message exchange) - currently works in parallel with old API - adapted pepper test plugin to use new API if use_new_npdevice_api=1 TEST=trybots, visual confirmation that pepper test plugin works with new API BUG=none Review URL: http://codereview.chromium.org/1529005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44840 0039d316-1c4b-4281-b951-d872f2087c98
* Remove trailing comma to make enum compile for native clientnfullagar@google.com2010-04-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1551030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44518 0039d316-1c4b-4281-b951-d872f2087c98
* Extend the file browser/chooser to support more modes of operation, and plumbbrettw@chromium.org2010-03-301-0/+59
| | | | | | | | | | | | | it through to the pepper API. This pepper API just supports adding the filename to the "upload files" whitelist and returning it to the plugin, but it does not actually give any ability for a sandboxed plugin to read the file (this will come in a separate changelist). TEST=none BUG=none Review URL: http://codereview.chromium.org/1094004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43123 0039d316-1c4b-4281-b951-d872f2087c98
* Add zooming notifications to Pepper. This allows the plugin to respond to ↵jam@chromium.org2010-03-261-0/+6
| | | | | | | | full page zooms without hardcoding the shortcuts for each platform/browser and allows the menus to work. Review URL: http://codereview.chromium.org/1320007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42799 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of adding search support to Pepper.jam@chromium.org2010-03-251-17/+62
| | | | | | Review URL: http://codereview.chromium.org/1075011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42585 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the Pepper print interface to take in the print dimensions and printer ↵sanjeevr@chromium.org2010-03-121-11/+6
| | | | | | | | | | | DPI only in the PrintBegin method. The plugin is expected to remember this until PrintEnd is called. BUG=None TEST=Test printing with plugins that support the new interface Review URL: http://codereview.chromium.org/858007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41453 0039d316-1c4b-4281-b951-d872f2087c98
* Added functions to the Pepper interface to allow plugins to participate in ↵sanjeevr@chromium.org2010-03-111-1/+57
| | | | | | | | | | | | the browser's print workflow. For now, added an interface for raster print output. Also modified vector_platform_device_win.cc to allow the caller to set a bitmap compression mode for use in the internalDrawBitmap method. Supported compression modes are JPEG and PNG. BUG=none TEST=Test printing with new plugins that support this interface. Review URL: http://codereview.chromium.org/669280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41321 0039d316-1c4b-4281-b951-d872f2087c98
* Minor tweaks to get the NaCl tool-chain to build with the latest GPU stuff.dspringer@google.com2010-03-091-3/+5
| | | | | | | | | BUG=none TEST=none (Build the NaCl tool chain). Review URL: http://codereview.chromium.org/741001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41069 0039d316-1c4b-4281-b951-d872f2087c98
* Add theming API to Pepper. For now, this only handles scrollbars.jam@chromium.org2010-03-081-0/+52
| | | | | | Review URL: http://codereview.chromium.org/660158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40969 0039d316-1c4b-4281-b951-d872f2087c98
* Committing change from Gene Gutnik <gene@chromium.org>. Original change at ↵jam@chromium.org2010-03-051-0/+7
| | | | | | | | | | | | | | | | | http://codereview.chromium.org/667011. Add function to Pepper API to copy text from plugin to clipboard. This functionality is necessary for good user experience, since plugin may have a custom copy button, menu, shortcut for copy functionality. This is a simple text copy interface first, and later we might need more complex format (HTML maybe) as well as cut/paste functionality. BUG=none TEST=Call CopyClipboard from plugin. Try to paste in the text editor. Verify that paste inserts the same characters. Review URL: http://codereview.chromium.org/669187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40791 0039d316-1c4b-4281-b951-d872f2087c98
* checksum computation that returns the least significant 32-bits of the ↵abetul@google.com2010-03-041-1/+4
| | | | | | | | | | 128-bit MD5 digest BUG=none TEST=none Review URL: http://codereview.chromium.org/666012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40650 0039d316-1c4b-4281-b951-d872f2087c98
* I just put the code that does not compile on ARM. Trybots will fail because ↵apatrick@chromium.org2010-02-241-0/+10
| | | | | | | | | | | | | | I had to remove these from the CL to make gcl upload properly accept it. A + base\scoped_open_process.h A + chrome\plugin\command_buffer_stub_win.cc TEST=try BUG=none Review URL: http://codereview.chromium.org/661022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39937 0039d316-1c4b-4281-b951-d872f2087c98
* Move nphostapi.h to be with the rest of the NPAPI headers.jam@chromium.org2010-02-241-0/+325
| | | | | | Review URL: http://codereview.chromium.org/652161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39852 0039d316-1c4b-4281-b951-d872f2087c98
* Missed OpenBSD ifdef in third_partypvalchev@google.com2010-02-231-1/+1
| | | | | | Review URL: http://codereview.chromium.org/652130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39781 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 39530 - GPU plugin forwards repaint events to Pepper plugin.apatrick@chromium.org2010-02-201-10/+0
| | | | | | | | | | | | | | | | WM_PAINT results in a call to Pepper repaint callback. Implemented WM_ERASEBKGND to prevent flickering on repaint. Implemented PGL_NO_CONTEXT (copied from EGL spec). This is already reviewed by alokp but unfortunately got entangled with this CL. TEST=none BUG=none Review URL: http://codereview.chromium.org/571018 TBR=alokp@chromium.org Review URL: http://codereview.chromium.org/650100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39535 0039d316-1c4b-4281-b951-d872f2087c98
* GPU plugin forwards repaint events to Pepper plugin.apatrick@chromium.org2010-02-201-0/+10
| | | | | | | | | | | | | WM_PAINT results in a call to Pepper repaint callback. Implemented WM_ERASEBKGND to prevent flickering on repaint. Implemented PGL_NO_CONTEXT (copied from EGL spec). This is already reviewed by alokp but unfortunately got entangled with this CL. TEST=none BUG=none Review URL: http://codereview.chromium.org/571018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39530 0039d316-1c4b-4281-b951-d872f2087c98