summaryrefslogtreecommitdiffstats
path: root/third_party/npapi
Commit message (Collapse)AuthorAgeFilesLines
* Make 'License' field in third-party metadata requiredsteveblock@chromium.org2012-08-011-0/+1
| | | | | | | | | | | | | | | | This will simplify the addition of a tool to check licenses for the purpose of the Android WebView build. See also http://codereview.chromium.org/10827099 Also adds other missing fields to these README.chromium files as required by presubmit checks and fixes a regex used to enforce this. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10821103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149423 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce all the source files to be encoded in UTF-8.maruel@chromium.org2012-07-192-1/+5
| | | | | | | | | | | | | | Many files used random encoding. All of them were in comments or unit test files that were not compiled. In any case, not using unicode everywhere complexify the tools so enforcing it makes presubmit checks much simpler. R=joi@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10797029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147480 0039d316-1c4b-4281-b951-d872f2087c98
* 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
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-111-6/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* Final gyp patch to make use of the new cross-platform POSIX defines ↵tony@chromium.org2011-05-231-1/+1
| | | | | | | | toolkit_uses_gtk, os_posix, and use_x11. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. Solaris was made to use ALSA also, as libasound has been ported to FreeBSD and Solaris as a wrapper around the native OSS. Review URL: http://codereview.chromium.org/7055003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86352 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
* Cleaning up third_party readmes and adding a template for future use.cdn@chromium.org2011-03-161-1/+3
| | | | | | | | | | | The next step is a presubmit rule that will make people use the template. We are doing this so that we can better track dependancy versions. BUG=None TEST=N/A Review URL: http://codereview.chromium.org/6610030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78316 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
* Linux: make tools/licenses.py happy about third_party/npapiphajdan.jr@chromium.org2010-09-162-0/+34
| | | | | | | | BUG=55168 TEST=tools/licenses.py Review URL: http://codereview.chromium.org/3447005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59688 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
* GYP changes for FreeBSD and OpenBSDpvalchev@google.com2010-05-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1480002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47327 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-103-289/+227
| | | | | | | | | 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-056-113/+185
| | | | | | | | | 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