summaryrefslogtreecommitdiffstats
path: root/third_party/npapi
Commit message (Collapse)AuthorAgeFilesLines
* One more nit discovered by the NaCl build's higher warning level.sehr@google.com2009-11-031-1/+1
| | | | | | Review URL: http://codereview.chromium.org/355004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30785 0039d316-1c4b-4281-b951-d872f2087c98
* A few small changes to make npapi header files useful in thesehr@google.com2009-11-022-7/+9
| | | | | | | | | native client build (and in the toolchain, which is where the #ifdef stuff comes from). Review URL: http://codereview.chromium.org/342079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30759 0039d316-1c4b-4281-b951-d872f2087c98
* To facilitate apatrick's work on the 3D renderer for Pepper,sehr@google.com2009-10-311-154/+1
| | | | | | | | | | I am splitting out the pepper-specific portions of npapi.h. This is because his code currently relies on a version of npapi.h different from third_party\npapi\bindings. Review URL: http://codereview.chromium.org/343069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30671 0039d316-1c4b-4281-b951-d872f2087c98
* Make Pepper NPN variable return a pointer to an allocatedsehr@google.com2009-10-271-31/+43
| | | | | | | | | | structure rather than using several variables. Added a stub DestroyRendererContext function. Updates the test to work with the changes. Review URL: http://codereview.chromium.org/322003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30213 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented NPN_ScheduleTimer and NPN_UnscheduleTimer.apatrick@google.com2009-10-261-1/+1
| | | | | | | | | TEST=none BUG=18020 Review URL: http://codereview.chromium.org/329013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30105 0039d316-1c4b-4281-b951-d872f2087c98
* Moved Pepper delegate definition to chrome\renderer to allow it to usesehr@google.com2009-10-171-0/+4
| | | | | | | | | | | code from chrome\common. Also added canvas support and hooked up NPAPI interface functions. No tests have been added yet, so this is probably not fully ready. Review URL: http://codereview.chromium.org/291001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29380 0039d316-1c4b-4281-b951-d872f2087c98
* Hooked up the WebInputEvent data structure to the webplugin_delegatesehr@google.com2009-10-141-2/+2
| | | | | | | | | | interface for passing events to the module. Slightly tweaked the definition of keyboard events from Nicholas' specification because the characters have become wchar_t. Review URL: http://codereview.chromium.org/266054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29023 0039d316-1c4b-4281-b951-d872f2087c98
* First version of pepper api implementation:sehr@google.com2009-10-121-0/+144
| | | | | | | | | | | | | | | Adds a severely pared down version of webplugin_delegate files that are not currently used to create any instances. Also adds calls for render APIs that remain to be connected to the impelementation. The function pointers are returned by NPN_GetValue calls with new enumerated values. I have also added Nicholas' NPEvent definitions. These changes are to permit further collaboration between sehr, brettw, and cpu. Review URL: http://codereview.chromium.org/270024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28730 0039d316-1c4b-4281-b951-d872f2087c98
* Implement NPN_GetValueForURL and NPN_SetValueForURL and add a stub for ↵jam@chromium.org2009-10-071-1/+1
| | | | | | | | | NPN_GetAuthenticationInfo. With these NPAPI functions there's no need to simulate being in Firefox and implement NPN_GetValue for NPNVserviceManager. TEST=run manual test that Ken added in test\data\plugin over http Review URL: http://codereview.chromium.org/251101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28200 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-061-0/+6
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Update NPAPI header file to v24, apply Google modificationsamanda@chromium.org2009-09-181-249/+368
| | | | | | Review URL: http://codereview.chromium.org/208007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26579 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Why: Simpler build code. If everybody includes it, it should be included automatically. Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi. What was done: 1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi 2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi. 3. lots of gyp files were fixed to not refer to build/common.gypi any more. 4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too. 5. build/common.gypi was left empty, because there are some external projects that still refer to it. Things that are left to do after this patch is in: 1. The following external files (in other repositories) need to stop include common.gypi ./third_party/hunspell/hunspell.gyp ./third_party/icu/icu.gyp ./v8/tools/gyp/v8.gyp 2. Once nobody refers to common.gypi anymore, delete common.gypi -or- Delete gyp_chromium.gypi and move its content back to common.gypi Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify. Review URL: http://codereview.chromium.org/206006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26302 0039d316-1c4b-4281-b951-d872f2087c98
* Added USE_GDK, set when either TOOLKIT_GTK or TOOLKIT_VIEWS is set butbenl@chromium.org2009-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not OS_WIN. Added USE_X11. Set when OS_LINUX or OS_FREEBSD is set. Added USE_BASE_DATA_PACK for base::DataPack usage, set for OS_MACOSX, OS_LINUX or OS_FREEBSD. Added USE_NSS for ... nss (for crypto). Windows and MacOS use platform-specific libraries. All of the above cause slightly odd formulations like: #if defined(OS_WIN) ... #elif defined(USE_BASE_DATA_PACK) ... #endif Possibly should also define USE_DLL_FOR_DATA, etc? Or something? Wrapped various references to struct stat64 and stat64() to use struct stat and stat() for FreeBSD - but a "man stat64" on Linux suggests that we could do the same thing for at least Linux, too, and perhaps eliminate the wrapper? git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25599 0039d316-1c4b-4281-b951-d872f2087c98
* Undo the hacks I landed in r21011, r21012, restoring napi.h to its original ↵eroman@chromium.org2009-07-181-30/+1
| | | | | | | | | | | form. BUG=http://crbug.com TBR=evan Review URL: http://codereview.chromium.org/159051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21050 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break on mac.eroman@chromium.org2009-07-171-1/+1
| | | | | | | | TBR=evan Review URL: http://codereview.chromium.org/159031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21012 0039d316-1c4b-4281-b951-d872f2087c98
* Add some definitions to npapi/bindings/npapi.h.eroman@chromium.org2009-07-171-1/+30
| | | | | | | | | | | I don't quite understand what all the different versions of npapi.h are about, but this is the minium hackery to get webkit building again. BUG=https://bugs.webkit.org/show_bug.cgi?id=27385 TBR=evan,jam Review URL: http://codereview.chromium.org/159029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21011 0039d316-1c4b-4281-b951-d872f2087c98
* Add events to windowless plugins on linux. This CL also refactors the eventevan@chromium.org2009-05-222-10/+78
| | | | | | | | | | | | | communication between WebPlugin and WebPluginDelegate, to use a cross-platform message based on WebInputEvent. BUG=8202 TEST=A lot of manual testing on Linux and Windows, with Flash plugins and a custom plugin that dumps events on Linux. Review URL: http://codereview.chromium.org/115330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16692 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in scons configuration files.sgk@google.com2009-04-011-15/+0
| | | | | | Review URL: http://codereview.chromium.org/53121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12982 0039d316-1c4b-4281-b951-d872f2087c98
* Expose whether we're in private browsing mode to plugins.I chose to ↵jam@chromium.org2009-03-261-1/+3
| | | | | | | | | implement this for multi-process mode only and not --single-process or --in-process-plugins, since I wanted to send this data from the browser process, not the renderer (in case it's exploited). BUG=158 Review URL: http://codereview.chromium.org/52037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12588 0039d316-1c4b-4281-b951-d872f2087c98
* Import .gyp files into the Chromium treemark@chromium.org2009-02-251-0/+23
| | | | | | Review URL: http://codereview.chromium.org/27158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10380 0039d316-1c4b-4281-b951-d872f2087c98
* #define XP_UNIX and XP_MACOSX for NPAPI as was done for Linux in r9170.mark@chromium.org2009-02-181-2/+6
| | | | | | Review URL: http://codereview.chromium.org/21468 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9975 0039d316-1c4b-4281-b951-d872f2087c98
* Get windowed plugins (Flash) limping along on Linux.evan@chromium.org2009-02-041-0/+7
| | | | | | | | | | | We still crash when you navigate away from the page. (PS: the plan is to unfork the _gtk.cc file once it gets closer to what we want, so you don't need to look at that too closely. I just wanted to check in what I have since it's getting big.) Review URL: http://codereview.chromium.org/19413 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9170 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out NPN_Construct.estade@chromium.org2009-01-081-3/+9
| | | | | | Review URL: http://codereview.chromium.org/16564 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7707 0039d316-1c4b-4281-b951-d872f2087c98
* Switch back svn:eol-style=native for .sln, .vcproj and .vsprops files.maruel@chromium.org2008-12-163-1057/+1057
| | | | | | | Patch fails otherwise on non-Windows platforms. Review URL: http://codereview.chromium.org/14478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7093 0039d316-1c4b-4281-b951-d872f2087c98
* Changed svn:eol-style of all .sln and .vcproj files to CRLFscherkus@chromium.org2008-12-043-1057/+1057
| | | | | | Review URL: http://codereview.chromium.org/13133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6372 0039d316-1c4b-4281-b951-d872f2087c98
* Get the test plugin compiling and working for the Mac.avi@google.com2008-12-031-0/+1
| | | | | | Review URL: http://codereview.chromium.org/12913 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6308 0039d316-1c4b-4281-b951-d872f2087c98
* Convert browser.lib to the new naming:sgk@google.com2008-11-031-0/+15
| | | | | | | | | | | | | | | * Move chrome/browser/SConscript => chrome/browser/browser.scons. * Use using_*.scons files instead of by-hand settings. * Add new using_*.scons files: breakpad/using_breakpad.scons chrome/third_party/hunspell/using_hunspell.scons chrome/third_party/wtl/using_wtl.scons google_update/using_google_update.scons third_party/npapi/using_npapi.scons * Delete some unused CPPPATH directories. Review URL: http://codereview.chromium.org/9243 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4456 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2 at landing this patch. It broke the Mac/linux builds. Fix for now isananta@chromium.org2008-10-091-0/+17
| | | | | | | | | | | | | | | | | | | | | | to add the offending code in np_v8object.cpp in a ifdef OS_WIN This fixes http://code.google.com/p/chromium/issues/detail?id=2472, which is an issue with popups displayed by the flash plugin in response to a user click, getting blocked. The plugin invokes NPN_Evaluate to execute the javascript. It also invokes the NPN_PushPopupEnabledState/NPN_PopupEnabledState API's to set the popup enabled stack for the duration of the call. The fix is to add the plumbing in NPN_Evaluate to pass in a flag indicating whether popups are allowed for the duration of the call. Bug=2472 R=jam Review URL: http://codereview.chromium.org/6379 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3119 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r3074 due to Mac build bustagemark@chromium.org2008-10-091-16/+0
| | | | | | Review URL: http://codereview.chromium.org/6378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3088 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes http://code.google.com/p/chromium/issues/detail?id=2472, whichananta@chromium.org2008-10-081-0/+16
| | | | | | | | | | | | | | | | | | is an issue with popups displayed by the flash plugin in response to a user click, getting blocked. The plugin invokes NPN_Evaluate to execute the javascript. It also invokes the NPN_PushPopupEnabledState/NPN_PopupEnabledState API's to set the popup enabled stack for the duration of the call. The fix is to add the plumbing in NPN_Evaluate to pass in a flag indicating whether popups are allowed for the duration of the call. Bug=2472 Review URL: http://codereview.chromium.org/6562 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3074 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r2927 and r2930, which were themselves reversions of prior changelists.pkasting@chromium.org2008-10-071-0/+8
| | | | | | | (Misc. build fixes for KJS build and remnants of unforking a couple of files.) Review URL: http://codereview.chromium.org/6321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2969 0039d316-1c4b-4281-b951-d872f2087c98
* Roolback more in an attempt to get build compling.ojan@google.com2008-10-071-8/+0
| | | | | | Review URL: http://codereview.chromium.org/6297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2930 0039d316-1c4b-4281-b951-d872f2087c98
* Add an Apple-ism (not present in Mozilla's version of NPAPI.h, but seemingly ↵pkasting@chromium.org2008-10-071-0/+8
| | | | | | | | | | | harmless) to our copy of npapi.h. Change HTMLPlugInElement.cpp to use a function in eseidel's version of ScriptController.h. TBR=ojan Review URL: http://codereview.chromium.org/6521 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2925 0039d316-1c4b-4281-b951-d872f2087c98
* Add third_party to the repository.initial.commit2008-07-27206-0/+48193
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19 0039d316-1c4b-4281-b951-d872f2087c98