summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Fixing the same issue for ppapi that was fixed for npapi here:bradnelson@google.com2011-07-011-0/+3
| | | | | | | | | | | | http://code.google.com/p/chromium/issues/detail?id=36957 R=wtc@chromium.org BUG=36957 TEST=None Review URL: http://codereview.chromium.org/7294014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91245 0039d316-1c4b-4281-b951-d872f2087c98
* Remove app from a bunch of DEPS files.tfarina@chromium.org2011-06-301-1/+0
| | | | | | | | | | | BUG=72317 TEST=None R=rsesek@chromium.org Review URL: http://codereview.chromium.org/7218065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91179 0039d316-1c4b-4281-b951-d872f2087c98
* Pass through PDFs from the plugin when using Skia on the Mac.vandebo@chromium.org2011-06-302-16/+10
| | | | | | | | | | | | * Don't make a single PDF, the mac print workflow expects one pdf per page. * It looks like the margin is getting applied twice, but that's another issue. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7200040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91173 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 91150 - Define PPB_Flash_TCPSocket and PPB_Flash_SSLSocket.dpapad@chromium.org2011-06-303-10/+0
| | | | | | | | | | | | TEST=None BUG=None Review URL: http://codereview.chromium.org/7191005 TBR=yzshen@chromium.org Review URL: http://codereview.chromium.org/7293001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91153 0039d316-1c4b-4281-b951-d872f2087c98
* Define PPB_Flash_TCPSocket and PPB_Flash_SSLSocket.yzshen@chromium.org2011-06-303-0/+10
| | | | | | | | | TEST=None BUG=None Review URL: http://codereview.chromium.org/7191005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91150 0039d316-1c4b-4281-b951-d872f2087c98
* Make o.o.p. proxy handle PPP_Instance versions 0.4 and 0.5.dmichael@chromium.org2011-06-295-74/+70
| | | | | | | | | | | Move & tweak PPP_Instance_Combined to ppapi_shared so the proxy can use it. Use versioned PPP_Instance types only. BUG=82606 TEST=run tests o.o.p. Review URL: http://codereview.chromium.org/7189045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90984 0039d316-1c4b-4281-b951-d872f2087c98
* Implement proper synchronization between HW video decode IPC and CommandBuffer.fischman@chromium.org2011-06-296-20/+33
| | | | | | | | | | | | | | | | | This is done by inserting tokens into the command-buffer stream when synchronization is needed, and adding a last-read/last-written token pair to each IPC message. This allowed me to remove the bogus FinishGL() calls from the gles2 sample pepper plugin. As part of this CL, the return value for VideoDecodeAccelerator::{Decode,Flush,Abort} changed from bool to void. These are all async methods so errors ought to be signaled using callbacks. BUG=none TEST=gles2 works, no crashes; trybots Review URL: http://codereview.chromium.org/7260008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90971 0039d316-1c4b-4281-b951-d872f2087c98
* Return PP_FALSE for PPB_Fullscreen_Dev.SetFullscreen on Windows.yzshen@chromium.org2011-06-291-0/+5
| | | | | | | | | | | This needs to be changed once we have properly implemented fullscreen mode on Windows. BUG=None TEST=None Review URL: http://codereview.chromium.org/7276049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90896 0039d316-1c4b-4281-b951-d872f2087c98
* Remove media::{Base,GLES,Sysmem}Buffer(const PP_{Base,GLES,SysmemBuffer}&) ↵fischman@chromium.org2011-06-271-38/+15
| | | | | | | | | | | | | | | ctors. Removed these pseudo-copy-constructors, since they look a lot like violations of dependency rules and since they're not necessary given the explicit constructors. BUG=none TEST=gles2.cc builds & works with this patched in. Review URL: http://codereview.chromium.org/7276005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90628 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "Move app/win/* files to base/win/, ui/base/win and chrome/common/ ↵tfarina@chromium.org2011-06-251-4/+4
| | | | | | | | | | | | | | | | directories." The issue with the r90464 was that in the win shared build we build dlls and we need BASE_API to export functions and symbols. BUG=72317 TEST=None TBR=rsesek@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/7263009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90505 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 90464 - Move app/win/* files to base/win/, ui/base/win and ↵tfarina@chromium.org2011-06-251-4/+4
| | | | | | | | | | | | | | | | chrome/common/ directories. BUG=72317 TEST=None R=rsesek@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/7231016 TBR=tfarina@chromium.org Review URL: http://codereview.chromium.org/7265009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90471 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/win/* files to base/win/, ui/base/win and chrome/common/ directories.tfarina@chromium.org2011-06-251-4/+4
| | | | | | | | | | | BUG=72317 TEST=None R=rsesek@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/7231016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90464 0039d316-1c4b-4281-b951-d872f2087c98
* Don't copy the Graphics2D when binding a new one. This brings thebrettw@google.com2011-06-242-30/+30
| | | | | | | | | | | | | | | | | implementation in line with the interface documentation (the old behavior would clobber any content). The copying behavior was introduced to avoid flickering when resizing. To avoid this, the PaintManager now doesn't bind the new device until it's been painted to. This gives flicker-free painting. This fixes a bug in the paint manager example that made it not paint. TEST=manual BUG=86568 Review URL: http://codereview.chromium.org/7215030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90386 0039d316-1c4b-4281-b951-d872f2087c98
* Update src/webkit/plugins to reflect WEBKIT_FRAME_TO_DOCUMENT_API_MOVEabarth@chromium.org2011-06-242-11/+4
| | | | | | Review URL: http://codereview.chromium.org/7240010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90307 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the scrollbar implementation.brettw@chromium.org2011-06-231-1/+1
| | | | | | | | TEST=manual BUG=none Review URL: http://codereview.chromium.org/7236018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90288 0039d316-1c4b-4281-b951-d872f2087c98
* Make scrollbar GetThickness take a resource argument. This allows simlperbrettw@chromium.org2011-06-239-110/+58
| | | | | | | | | | | | | | | routing of the request using the new thunk system. Support for the old interface is kept to keep pdf and nacl building. This removes the old Resource type introspection since this was the last resource using it. TEST=it compiles BUG=non Review URL: http://codereview.chromium.org/7228003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90272 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 89221 - Reverting this to see if the Flash crashes on Mac canary are ↵ananta@chromium.org2011-06-231-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | due to this CL. Revert 88773 - Don't retain NPNVWindowNPObject and NPNVPluginElementNPObject twice Both NPN_GetValue and WebPluginProxy take a reference on access, with the latter conflating the caller's reference and its internal reference. To be consistent with WebPluginImpl, let WebPluginProxy only manage its internal reference and leave the plugin's reference to NPN_GetValue. Document this in the WebPlugin interface. Also release plugin-side proxies when WebPluginProxy is destroyed. R=ananta BUG=86124 TEST=none Review URL: http://codereview.chromium.org/6693052 TBR=davidben@chromium.org Review URL: http://codereview.chromium.org/7171021 TBR=ananta@chromium.org Review URL: http://codereview.chromium.org/7239010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90170 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up Surface3D, which I forgot to do in the previous patch. Also, changebrettw@chromium.org2011-06-233-8/+3
| | | | | | | | | | it to take a PluginInstance pointer which makes the code a bit simpler. TEST=3d works (manual) BUG=none Review URL: http://codereview.chromium.org/7241005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90164 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup of resource creation. This eliminates a bunch of copy-and-pastebrettw@chromium.org2011-06-2231-178/+160
| | | | | | | | | | | code for determining the instance for every request, and also removes a bunch of unnecessary Create() functions for simple resources. TEST=none BUG=none Review URL: http://codereview.chromium.org/7233005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90111 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the ARM build. Apparently it's picky about the difference between NULLbrettw@chromium.org2011-06-221-1/+1
| | | | | | | | | | and integer 0. TEST=ARM compiles BUG=none Review URL: http://codereview.chromium.org/7198005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90108 0039d316-1c4b-4281-b951-d872f2087c98
* Convert most remaining resources to use the API/thunk system. The significantbrettw@chromium.org2011-06-2236-1319/+813
| | | | | | | | | | | | | | | changes here are around the 3D API. Having separate files for the texture mapping interface is no longer necessary for the proxy and the implementation. This also removes the uses of the "old" dynamic casting system (using "GetAs") for other resources that I could find. TEST=ui tests BUG=none Review URL: http://codereview.chromium.org/7206016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90096 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Pass parameters by reference.jhawkins@chromium.org2011-06-222-2/+2
| | | | | | | | | | | | CID=7875,14289,17142,17143 R=kmadhusu@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7217030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90087 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing coverity PASS_BY_VALUE bugs.dpapad@chromium.org2011-06-221-1/+0
| | | | | | | | | | | | CIDs: 13844, 13845, 14689, 14731, 14732, 17117 BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7219012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90048 0039d316-1c4b-4281-b951-d872f2087c98
* Supervise redirects of the plugin src url load, and bounce them through WebKit'scevans@chromium.org2011-06-222-8/+26
| | | | | | | | | mixed content detection. BUG=53949 Review URL: http://codereview.chromium.org/7207003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89998 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Pass parameters by reference.jhawkins@chromium.org2011-06-224-4/+5
| | | | | | | | | | | | CID=8725,14376,15499,15540,15655,16687,16688 BUG=none TEST=none R=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/7211037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89976 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-06-215-3/+9
| | | | | | | | | | | | | CID=9299,13805,14203,14284,14459,15435,15897,16023,16614,16773,16819,16820, 16908,16916 BUG=none TEST=none R=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/7215027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89897 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PPB_VideoDecoder_Impl::NotifyEndOfBitstreamBuffer to use correct ID.fischman@chromium.org2011-06-212-13/+14
| | | | | | | | | | | | | | | Enhanced gles2.cc sample plugin to have multipe decodes outstanding at a time, and assert that we get back from the decode API exactly the bitstream buffers we sent to it. This CL is relative to http://codereview.chromium.org/7200033/ which must land first. BUG=86235 TEST=gles2 sample plugin completes correctly even with concurrent Decode()s. Review URL: http://codereview.chromium.org/7204038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89779 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing clang errorcdn@chromium.org2011-06-202-1/+5
| | | | | | TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89749 0039d316-1c4b-4281-b951-d872f2087c98
* Maintain a map of all resources in the resource tracker and clear instance ↵cdn@chromium.org2011-06-207-31/+62
| | | | | | | | | back pointers when needed, BUG=85808 Review URL: http://codereview.chromium.org/7196001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89746 0039d316-1c4b-4281-b951-d872f2087c98
* Map the destination image data before painting a scrollbar into it.elijahtaylor@google.com2011-06-201-1/+2
| | | | | | | | | | | In a non-NaCl Pepper plugin, the image data is mapped during construction of the object, but since NaCl doesn't proxy the Map function directly, the underlying canvas isn't created until it's drawn later on. BUG= http://code.google.com/p/nativeclient/issues/detail?id=1881 TEST= manual Review URL: http://codereview.chromium.org/7204031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89719 0039d316-1c4b-4281-b951-d872f2087c98
* IcedTea caught up with the latest Java security update.cevans@chromium.org2011-06-191-2/+2
| | | | | | | | | http://blog.fuseyism.com/index.php/2011/06/08/icedtea6-188-198-and-1102-released/ BUG=85678 Review URL: http://codereview.chromium.org/7134065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89631 0039d316-1c4b-4281-b951-d872f2087c98
* Move the video decoder and video layer to the new API/thunk system.brettw@chromium.org2011-06-187-222/+73
| | | | | | | | | | | | | | This changes the video decoder API to make GetConfigs be a resource member function so it can be routed with the rest of the resource functions. This patch also removes the font_list_dev API which was never implemented and has been replaced with a function on the Font interface. TEST=manual BUG=none Review URL: http://codereview.chromium.org/7193018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89610 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for printing with Skia on Mac.caryclark@chromium.org2011-06-171-1/+2
| | | | | | | | | | | | | | | | This adds a couple of includes if this is compiled for OS X, using Skia as the rendering engine. This does not affect current code; there are no new tests. BUG=79463 TEST=none Review URL: http://codereview.chromium.org/7202002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89525 0039d316-1c4b-4281-b951-d872f2087c98
* Update PPP_Printing_Dev to always make both versions of types available.dmichael@chromium.org2011-06-172-35/+33
| | | | | | | | | | | | | With this change, webkit/plugins/ppapi (and proxy) code does not need to use any precompiler defines, and instead refers to each version by its versioned name. BUG=80696 TEST=Manually run PDF plugin. Review URL: http://codereview.chromium.org/7197001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89444 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the URL loading objects to the API/thunk system.brettw@chromium.org2011-06-179-476/+263
| | | | | | | | TEST=PPAPI UI tests BUG=none Review URL: http://codereview.chromium.org/7192012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89439 0039d316-1c4b-4281-b951-d872f2087c98
* Ask for PPB_Instance;0.5 first, fallback to PPB_Instance;0.4.dmichael@chromium.org2011-06-171-2/+3
| | | | | | | | | | | | This fixes a regression introduced in http://codereview.chromium.org/7058015 whereby the browser would ask for 0.4 first, which breaks any plugins that have ported to the 0.5 version. The fact that the version was omitted in both places kept 0.4 versions working (sometimes two wrongs do make a right!). BUG=None TEST=None Review URL: http://codereview.chromium.org/7184030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89435 0039d316-1c4b-4281-b951-d872f2087c98
* Patch to fix problems with PPB_URLLoader_Impl and PPAPITests.URLLoader. The ↵bbudge@chromium.org2011-06-162-12/+29
| | | | | | | | cross-origin test doesn't properly check for an error, and the custom-referrer change broke cross-origin requests as a result. Also, there was confusion with some errors being reported as PP_ERROR_FAILED and others as PP_ERROR_NOACCESS. After conversations with WebKit folks, it seems unlikely that a consistent system of error codes can be added, so instead, have PPB_URLLoader_Impl::didFail report PP_ERROR_NOACCESS for unknown error domains (WebKit) and switch on net::kErrorDomain errors from our lower level WebURLLoader. Review URL: http://codereview.chromium.org/7046091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89405 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Clang warning.brettw@chromium.org2011-06-151-2/+2
| | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89270 0039d316-1c4b-4281-b951-d872f2087c98
* Move fullscreen and instance to the new thunk system.brettw@chromium.org2011-06-157-265/+226
| | | | | | | | | | | | | | | | | | | | | | | | This takes it in a slightl different direction. Rather than maintaining separate APIs, proxies, and impls for each interface, I think smaller instance-related interfaces can just be added on the Instance_API. There's no need for binary compatibility here and it saves a whole lot of boilerplate. Although PPB_Instance_API will get large, this isn't necessarily bad, and is probably more clear than the alternative (it saves a whole lot of code). This means that the interface IDs no longer have a 1:1 mapping to interface names. But this was already going to be the case when we have multiple versions of different interfaces. Currently the code in dispatcher to deal with this is a bit weird, because of the way the mapping works. Long term, I'm going to change these from interface IDs in the proxy to API IDs in the thunk layer. This adds APIs and thunks for several other interfaces without implementing them yet (this patch was getting too large): URL loading and surface 3D. TEST=ppapi tests BUG=none Review URL: http://codereview.chromium.org/7058015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89265 0039d316-1c4b-4281-b951-d872f2087c98
* Content settings extension API: Implement ContentSetting.getResourceIdentifiers.bauerb@chromium.org2011-06-154-42/+72
| | | | | | | | | BUG=71067 Review URL: http://codereview.chromium.org/7041005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89226 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting this to see if the Flash crashes on Mac canary are due to this CL.ananta@chromium.org2011-06-151-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | Revert 88773 - Don't retain NPNVWindowNPObject and NPNVPluginElementNPObject twice Both NPN_GetValue and WebPluginProxy take a reference on access, with the latter conflating the caller's reference and its internal reference. To be consistent with WebPluginImpl, let WebPluginProxy only manage its internal reference and leave the plugin's reference to NPN_GetValue. Document this in the WebPlugin interface. Also release plugin-side proxies when WebPluginProxy is destroyed. R=ananta BUG=86124 TEST=none Review URL: http://codereview.chromium.org/6693052 TBR=davidben@chromium.org Review URL: http://codereview.chromium.org/7171021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89221 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the clang build.brettw@chromium.org2011-06-151-3/+4
| | | | | | Review URL: http://codereview.chromium.org/7172017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89206 0039d316-1c4b-4281-b951-d872f2087c98
* Implement flash menu and net connector resources using the API/thunk model.brettw@chromium.org2011-06-159-178/+93
| | | | | | | | | | Write thunk for image data trusted. BUG=none TEST=ppapi ui tests Review URL: http://codereview.chromium.org/7149026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89204 0039d316-1c4b-4281-b951-d872f2087c98
* Force 2D graphics binding to require that the context be associated with the ↵brettw@google.com2011-06-151-0/+2
| | | | | | | | | | same instance. The 3D case was already handled. BUG=75519 TEST=none Review URL: http://codereview.chromium.org/7165002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89193 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 2)thestig@chromium.org2011-06-151-1/+3
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7149008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89131 0039d316-1c4b-4281-b951-d872f2087c98
* Add proper support for copy-constructed pp::Buffer_Dev's.fischman@chromium.org2011-06-142-4/+6
| | | | | | | | | | | | This requires refcounting Map() to make sure that Unmap() is called once per underlying SharedMemory. BUG=85629 TEST=trybots, ui_tests:*PPAPI.Buffer Review URL: http://codereview.chromium.org/7146007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89044 0039d316-1c4b-4281-b951-d872f2087c98
* Improve and unify Mac OS X run-time version checks.mark@chromium.org2011-06-143-26/+6
| | | | | | | | | | | | Don't use base::SysInfo::OperatingSystemVersionNumbers, because it calls Gestalt, which has a few bad properties. Introduce new functions that perform specific version checks. BUG=85972 TEST=base_unittests MacUtilTest.IsOSEllipsis Review URL: http://codereview.chromium.org/7144007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89028 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored PaintSadPlugin to just use SkCanvas API to paint the sad plugin ↵alokp@chromium.org2011-06-141-21/+21
| | | | | | | | | bitmap. This is in preparation for doing accelerated page drawing. Note that CG port still uses a temporary canvas and uses CG native context. Review URL: http://codereview.chromium.org/7044112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88999 0039d316-1c4b-4281-b951-d872f2087c98
* Don't retain NPNVWindowNPObject and NPNVPluginElementNPObject twicedavidben@chromium.org2011-06-121-3/+5
| | | | | | | | | | | | | | | | | | | Both NPN_GetValue and WebPluginProxy take a reference on access, with the latter conflating the caller's reference and its internal reference. To be consistent with WebPluginImpl, let WebPluginProxy only manage its internal reference and leave the plugin's reference to NPN_GetValue. Document this in the WebPlugin interface. Also release plugin-side proxies when WebPluginProxy is destroyed. R=ananta BUG=none TEST=none Review URL: http://codereview.chromium.org/6693052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88773 0039d316-1c4b-4281-b951-d872f2087c98
* Moving some of the webkit_glue functions from chrome\common\common_glue and ↵ananta@chromium.org2011-06-104-378/+1
| | | | | | | | | | | | | | | | | | | chrome\renderer\chrome_renderer_glue.cc to content\renderer. This helps reduce some of the implicit dependencies of content on chrome and will help in building it as a dll. There is just one function GetProductVersion remaining in chrome_renderer_glue. This function is used to build the user agent string in the embedder. This functionality will be moved to the ContentRendererClient object in a subsequent CL. Moved the PPAPI PDF plugin implementation to chrome renderer. This interface is returned by the PPAPI factory which is registered by the renderer during startup. BUG=82454 Review URL: http://codereview.chromium.org/6995119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88742 0039d316-1c4b-4281-b951-d872f2087c98