summaryrefslogtreecommitdiffstats
path: root/content/plugin
Commit message (Collapse)AuthorAgeFilesLines
* Use IPC::Sender and IPC::Listener in content.brettw@chromium.org2012-06-252-6/+7
| | | | | | | | | | | | | This replaces uses of IPC::Message::Sender with IPC::Sender and IPC::Channel::Listener with IPC::Listener. I also fixed up header files where it was obvious. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10662005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143920 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up DEPS some more. NaCl/service process code are including internal ↵jam@chromium.org2012-06-041-1/+1
| | | | | | | | | content files. Fix the instances other sandbox stuff, which I'll do in a followup. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10512010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140346 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move gl/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-122-3/+3
| | | | | | | | | | BUG=104040 R=ben@chromium.org TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10392068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136777 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, content/ remaining bitsrsleevi@chromium.org2012-05-113-76/+81
| | | | | | | | | | BUG=123295 TEST=none TBR=jam Review URL: https://chromiumcodereview.appspot.com/10069054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136631 0039d316-1c4b-4281-b951-d872f2087c98
* Android content shell bringup.jrg@chromium.org2012-05-101-0/+10
| | | | | | | | | | | | | | | | | | Build media java files (we weren't). Fix adb_install_content_shell for cases where the app was stuck. Add upstream staging gyp var / #define. Be more consistent about jar output files (all in lib.java). Upstream a bunch of random files (e.g. ppapi). Upstream a bunch of java and native code hit as part of shlib init. Properly package jar files in content shell. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10377059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136219 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move surface/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-032-5/+5
| | | | | | | | | | BUG=104040 R=ben@chromium.org TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/10351002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135232 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrokerDuplicateHandle() to be declared in content/publicmseaborn@chromium.org2012-04-161-2/+2
| | | | | | | | | | | | This is necessary so that BrokerDuplicateHandle() can be used from chrome/browser while passing the check_deps rules. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2719 TEST=build Review URL: https://chromiumcodereview.appspot.com/10082018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132405 0039d316-1c4b-4281-b951-d872f2087c98
* Convert plugin and GPU process to brokered handle duplication.jschuh@chromium.org2012-04-143-36/+11
| | | | | | | BUG=119250 Review URL: https://chromiumcodereview.appspot.com/9958034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132303 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 132218 - Convert plugin and GPU process to brokered handle duplication.eroman@chromium.org2012-04-133-11/+36
| | | | | | | | | | | | (Seems to be responsible for VMTest failure on ChromiumOS). BUG=119250 Review URL: https://chromiumcodereview.appspot.com/9958034 TBR=jschuh@chromium.org Review URL: https://chromiumcodereview.appspot.com/10081018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132254 0039d316-1c4b-4281-b951-d872f2087c98
* Convert plugin and GPU process to brokered handle duplication.jschuh@chromium.org2012-04-133-36/+11
| | | | | | | BUG=119250 Review URL: https://chromiumcodereview.appspot.com/9958034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132218 0039d316-1c4b-4281-b951-d872f2087c98
* Add an interface for Flash to clear its data.brettw@chromium.org2012-04-122-9/+2
| | | | | | | | | | This mirrors NPP_ClearSiteData. I basically just hooked into the existing infrastructure in the browser process, and create a new plugin. I changed the NPAPI IPC message to take the max age rather than compute it from the time so I did not have to duplicate the time computation code. Review URL: https://chromiumcodereview.appspot.com/9981015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132067 0039d316-1c4b-4281-b951-d872f2087c98
* Creates an IME-host window for a sandboxed Flash.hbono@chromium.org2012-04-051-3/+20
| | | | | | | | | | | This change creates an edit control before our sandbox locks down Flash so an IME can attach itself to a plug-in process. (This change implements a method suggested by an Adobe person to Chrome.) BUG=118882 TEST=manual Review URL: http://codereview.chromium.org/9963060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130943 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TOOLKIT_USES_GTK and consolidate it into TOOLKIT_GTKoshima@chromium.org2012-04-051-3/+3
| | | | | | | | | | | Add gtk dependency to base.gyp for android host_os="linux" case BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9969080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130784 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 130199 - Revert 128179 - Make sure the plugin scriptable object is ↵wez@chromium.org2012-04-042-8/+19
| | | | | | | | | | | | | | | | | | | | | | released before NPP_Destroy. We're reinstating this patch based on its impact on plugin crash rates between 20.0.1089.0 (with patch) and 20.0.1090.0 (without) builds. When the we tear down a plugin instance the plugin process first invokes NPP_Destroy, and then tears down the IPC channel to the renderer, to give NPP_Destroy a chance to do last-minute scripting. When the IPC channel for the last instance is torn down we also clean up the IPC channels and stubs for any plugin-side NPObjects that remain. We suspect that some plugins implement the scriptable object as part of the plugin instance, rather than independently ref-counted, so that our releasing the object after NPP_Destroy actually triggers the plugin process to crash. This CL tears down the stub for the plugin's scriptable object before we call NPP_Destroy. BUG=101968,119414 Original Review URL: http://codereview.chromium.org/9817023 Revert Review URL: https://chromiumcodereview.appspot.com/9959078 TBR=cpu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9979022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130698 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 128179 - Make sure the plugin scriptable object is released before ↵wez@chromium.org2012-04-022-19/+8
| | | | | | | | | | | | | | | | | | | | | | | NPP_Destroy. We're temporarily reverting this change to gather more data on its impact on plugin crash rates. When the we tear down a plugin instance the plugin process first invokes NPP_Destroy, and then tears down the IPC channel to the renderer, to give NPP_Destroy a chance to do last-minute scripting. When the IPC channel for the last instance is torn down we also clean up the IPC channels and stubs for any plugin-side NPObjects that remain. We suspect that some plugins implement the scriptable object as part of the plugin instance, rather than independently ref-counted, so that our releasing the object after NPP_Destroy actually triggers the plugin process to crash. This CL tears down the stub for the plugin's scriptable object before we call NPP_Destroy. As per crbug.com/119414, we will remove this code if it doesn't significantly impact crashes. BUG=101968 Review URL: http://codereview.chromium.org/9817023 TBR=cpu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9959078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130199 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 129627 - Add a sandbox API for broker handle duplicationjschuh@chromium.org2012-03-293-11/+36
| | | | | | | | | | BUG=119250 Review URL: https://chromiumcodereview.appspot.com/9838083 TBR=jschuh@chromium.org Review URL: https://chromiumcodereview.appspot.com/9924010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129629 0039d316-1c4b-4281-b951-d872f2087c98
* Add a sandbox API for broker handle duplicationjschuh@chromium.org2012-03-293-36/+11
| | | | | | | BUG=119250 Review URL: https://chromiumcodereview.appspot.com/9838083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129627 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compilation error due to deprecated glib APIqiankun.miao@intel.com2012-03-281-0/+4
| | | | | | | | | | | | | | | g_thread_init and g_thread_get_initialized are two deprecated APIs since glib version 2.32. The Glib threading system is automatically initialized at the start of a program. There will be compilation error with these two functions. Remove calls to these two functions. BUG=119669 TEST=NONE Review URL: http://codereview.chromium.org/9835044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129350 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the plugin scriptable object is released before NPP_Destroy.wez@chromium.org2012-03-222-8/+19
| | | | | | | | | | | | | | | | When the we tear down a plugin instance the plugin process first invokes NPP_Destroy, and then tears down the IPC channel to the renderer, to give NPP_Destroy a chance to do last-minute scripting. When the IPC channel for the last instance is torn down we also clean up the IPC channels and stubs for any plugin-side NPObjects that remain. We suspect that some plugins implement the scriptable object as part of the plugin instance, rather than independently ref-counted, so that our releasing the object after NPP_Destroy actually triggers the plugin process to crash. This CL tears down the stub for the plugin's scriptable object before we call NPP_Destroy. As per crbug.com/119414, we will remove this code if it doesn't significantly impact crashes. BUG=101968 Review URL: http://codereview.chromium.org/9817023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128179 0039d316-1c4b-4281-b951-d872f2087c98
* Keep one copy of the delegate & plugin teardown code.wez@chromium.org2012-03-211-7/+4
| | | | | | Review URL: http://codereview.chromium.org/9826001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128085 0039d316-1c4b-4281-b951-d872f2087c98
* mac: fix flash videos with --disable-composited-core-animation-pluginspiman@chromium.org2012-03-141-2/+2
| | | | | | | | | | | | | http://codereview.chromium.org/9194005 Missed one renaming. This fixes it. BUG=117916 TEST=chrome --disable-composited-core-animation-plugins, load youtube videos Review URL: http://codereview.chromium.org/9693031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126560 0039d316-1c4b-4281-b951-d872f2087c98
* Add an OWNERS file for src\content by moving the owners that were there for ↵jam@chromium.org2012-03-141-4/+0
| | | | | | | | the top level directories within. I've removed them all from the subdirectories. Also removed the "set noparent" in subdirectories and just put one in src/content/OWNERS for now. I also added brettw/darin for src/chrome/OWNERS. Review URL: https://chromiumcodereview.appspot.com/9695028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126522 0039d316-1c4b-4281-b951-d872f2087c98
* Emulate ImmSetAssociateContextEx() for Flash.hbono@chromium.org2012-03-131-0/+4
| | | | | | | | | | | This change emulates ImmSetAssociateContextEx() calls from Flash so Flash can activate or deactivate IMEs. This change also restores this activation status when a plug-in element get the event focus. BUG=117758 TEST=manual Review URL: http://codereview.chromium.org/9666050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126347 0039d316-1c4b-4281-b951-d872f2087c98
* Revert USER_LIMITED Flash changesjschuh@chromium.org2012-03-121-11/+0
| | | | | | | | | | | | | | | Flash Access broke. Until that's fixed these changes need to be removed. Reverting: https://src.chromium.org/viewvc/chrome?view=rev&revision=121772 Reverting: https://src.chromium.org/viewvc/chrome?view=rev&revision=121478 Reverting: https://src.chromium.org/viewvc/chrome?view=rev&revision=121286 TBR=cpu@chromium.org TBR=jam@chromium.org Review URL: http://codereview.chromium.org/9692001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126220 0039d316-1c4b-4281-b951-d872f2087c98
* - Raise the total JIT cap 128mb.jschuh@chromium.org2012-02-281-8/+8
| | | | | | | | | | | | - Add a 48mb cap for spikes over 8 minutes. - Increase the random hole to 512mb (to compensate for the higher cap). BUG=115658 BUG=113891 Review URL: https://chromiumcodereview.appspot.com/9447097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123882 0039d316-1c4b-4281-b951-d872f2087c98
* check for null-device before using the windowless canvasreed@google.com2012-02-241-2/+2
| | | | | | | | | | Not sure why the device is null sometimes, but it correlates to playing catchup (it seems) when resizing a window quickly. see crbug.com/104850 Review URL: https://chromiumcodereview.appspot.com/9460006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123501 0039d316-1c4b-4281-b951-d872f2087c98
* Poke a random-sized memory hole in the plugin process.jschuh@chromium.org2012-02-241-0/+42
| | | | | | | | | VirtualAlloc has relatively predictable allocation ranges. So, we compensate by reserving a random number of pages and setting a timer to unreserve them several minutes after startup. BUG=113891 Review URL: https://chromiumcodereview.appspot.com/9447038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123424 0039d316-1c4b-4281-b951-d872f2087c98
* Track (and eventually cap) Flash JIT sizejschuh@chromium.org2012-02-152-2/+8
| | | | | | | | BUG=113891 Review URL: http://codereview.chromium.org/9386003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122109 0039d316-1c4b-4281-b951-d872f2087c98
* Fix how we warm up the device enumerator for Flashjschuh@chromium.org2012-02-141-2/+4
| | | | | | | | | | Change the warmup flags so we don't cause DCOM initialization. BUG=113891 Review URL: http://codereview.chromium.org/9350048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121772 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten Flash sandbox to USER_LIMITEDjschuh@chromium.org2012-02-091-0/+9
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9372013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121286 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of int ms to TimeDelta in content/plugin.tedvessenes@gmail.com2012-01-282-6/+9
| | | | | | | | | | BUG=108171 TEST= Review URL: http://codereview.chromium.org/9223020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119556 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the default plugin.bauerb@chromium.org2012-01-241-11/+1
| | | | | | | | | | | | TBR=darin@chromium.org BUG=62079 TEST=none Review URL: http://codereview.chromium.org/9074004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118855 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117824 - Convert use of int ms to TimeDelta in files owned by brettw.hbono@chromium.org2012-01-162-9/+6
| | | | | | | | | | | | | | | | | | | | This change broke Linux and Mac bots. I would recommend to ask committers to run your next change on trybots. (*1) http://chromegw.corp.google.com/i/chromium/builders/Mac/builds/10788/steps/compile/logs/stdio (*2) http://chromegw.corp.google.com/i/chromium/builders/Linux/builds/19313/steps/compile/logs/stdio (*3) http://chromegw.corp.google.com/i/chromium/builders/Linux%20x64/builds/21385/steps/compile/logs/stdio R=brettw@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9185026 TBR=tedvessenes@gmail.com Review URL: http://codereview.chromium.org/9215005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117825 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of int ms to TimeDelta in files owned by brettw.tedvessenes@gmail.com2012-01-162-6/+9
| | | | | | | | | | | R=brettw@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9185026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117824 0039d316-1c4b-4281-b951-d872f2087c98
* Remove task.h and finish base::Bind() migration.ajwong@chromium.org2012-01-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Over 341 CLs, in ~3 months, touching 3251 unique files! Top 5 most CLs: (121) jhawkins ( 45) dcheng ( 24) achuith ( 23) csilv ( 12) tfarina ( 12) groby ~1000 files touched: (918) jhawkins 100+ files touched: (486) ajwong (385) willchan (372) dcheng (126) csilv (123) fischman (112) sergeyu 49+ files touched: (65) tfarina (57) acolwell (52) adamk (49) tzik BUG=35223 TEST=existing Review URL: http://codereview.chromium.org/9114020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116748 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity fixes for uninitialized varsgroby@chromium.org2011-12-291-5/+3
| | | | | | | | | | CID=102348, 102334, 100563, 102456, 102012, 101525, 101526, 101330, 101329 TEST=none Review URL: http://codereview.chromium.org/9006028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116003 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Fixes in content/jhawkins@chromium.org2011-12-191-8/+5
| | | | | | | | | | BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/8987003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115010 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Task inheritance from base::Timer.dcheng@chromium.org2011-12-151-0/+1
| | | | | | | | | | BUG=none TEST=trybots TBR=brettw Review URL: http://codereview.chromium.org/8898019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114679 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Remove content/ CrApplication.shess@chromium.org2011-12-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Pull the CrAppProtocol autorelease-pool handling down into MessagePumpCrApplication, which is selected at Create() if NSApp implements the right protocol. UsingCrApp() allows clients to confirm the correct setup (unfortunately, synchronizing NSApp initialization and MessagePump::Create() would be intrusive). Also push CrAppProtocol and CrAppControlProtocol implementation into BrowserCrApplication, and reparent that class from NSApplication. Reparent ServiceCrApplication on NSApplication and rename. Remove CrApplication registration from gpu, plugin, and renderer mains. Remove MockCrApp dependency from remoting sample code. BUG=102224 Review URL: http://codereview.chromium.org/8771028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113281 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind fixesgroby@chromium.org2011-12-021-19/+9
| | | | | | | | | | | R=jhawkins@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/8733013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112793 0039d316-1c4b-4281-b951-d872f2087c98
* Render Core Animation plugins through WebKit's compositor rather thankbr@chromium.org2011-11-304-31/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directly to the screen in the browser process. The new composited code path is now the default, though the old code path has been left in place under a command line flag while we gain confidence. Issue 105344 has been filed about removing the old code path. The new code path does not currently support 10.5. The consequence is that plugins using the InvalidatingCoreAnimation rendering model will not work on this version of Mac OS. Pepper 3D is not affected; it now uses a different rendering path. Changed the type of IOSurfaces' IDs from uint64 to uint32 in a few places throughout the code to match the IOSurfaceID typedef in the system header. This was necessary in order to simplify integration with Chrome's OpenGL code. There is a known problem in the new code path with garbage occasionally being drawn to the plugin's area during live resizing of Core Animation plugins. Issue 105346 has been filed to track this. It is unclear whether the additional complexity of the fix that is likely needed is worth it. Tested manually with the following content, with and without the --disable-composited-core-animation-plugins flag: - YouTube (does not trigger this code path) - Google+ Hangouts - http://unity3d.com/gallery/demos/live-demos (Unity 3D) - http://www.erain.com/labs/molehill/ (Stage 3D in Flash 11) - http://www.nissan-stagejuk3d.com/ (Stage 3D in Flash 11, live resizing; web site is flaky, sometimes fails to start) BUG=38967 TEST=manual testing with above test cases Review URL: http://codereview.chromium.org/8678037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112126 0039d316-1c4b-4281-b951-d872f2087c98
* Remove section_util_win since it had two functions that were used in three ↵jam@chromium.org2011-11-281-8/+5
| | | | | | | | | places. Also, all the other places in the code that use DuplicateHandle call it directly. If we want to have a wrapper around it, it should probably go into base and we should convert all users at the same time. BUG=98716 Review URL: http://codereview.chromium.org/8729002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111813 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind fixesgroby@chromium.org2011-11-195-10/+15
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8601002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110818 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to content/.avi@chromium.org2011-11-175-37/+40
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8587009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110544 0039d316-1c4b-4281-b951-d872f2087c98
* Allow linker initialization of lazy instancejoth@chromium.org2011-11-151-2/+2
| | | | | | | | | | | | | | Using the initializer list construct = {0} allows the object to be linker initialized. Modify the LazyInstance class design to make it a pod aggregate type that can be linker initialized this way. Also combines the instance and state members, in line with the Singleton<> class design. Introduces a new LAZY_INSTANCE_INITIALIZER macro specifically for using to init all lazy instances + modify all existing callsites to use it. (Old code would no longer compile) BUG=94925 TEST=existing tests pass. http://build.chromium.org/f/chromium/perf/linux-release/sizes/report.html?history=150&header=chrome-si&graph=chrome-si&rev=-1 should step downward. TBR=jam@chromium.org,rvargas@chromium.org,darin@chromium.org,ben@chromium.org,apatrick@chromium.org,akalin@chromium.org Review URL: http://codereview.chromium.org/8491043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110076 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r108760 / reland r108744, r108753 w/ fixdpranke@chromium.org2011-11-081-0/+4
| | | | | | | | | | | | Modify code in chrome to call wrapper functions on PluginService TBR=rsesek@chromium.org, jam@chromium.org BUG=90442 TEST=browser_tests PluginServiceTest.* pass on the Mac Review URL: http://codereview.chromium.org/8493026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108966 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r108744, r108753 - "Modify code in chrome to call wrapper functions ↵dpranke@chromium.org2011-11-051-4/+0
| | | | | | | | | | on PluginService" TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8475020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108760 0039d316-1c4b-4281-b951-d872f2087c98
* Modify code in chrome to call wrapper functions on PluginServicedpranke@chromium.org2011-11-041-0/+4
| | | | | | | | | | | | | | | | rather than calling into webkit::npapi::PluginList directly. This change is necessary to ensure we only have one list when we switch content to the component build. R=jam@chromium.org TBR=cpu@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8440058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108744 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_restriction.h and main_function_params.h to ↵jam@chromium.org2011-10-311-2/+2
| | | | | | | | | content/public/common, and put them in the content namespace. BUG=98716 Review URL: http://codereview.chromium.org/8387039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108004 0039d316-1c4b-4281-b951-d872f2087c98
* Expose the sandbox related code through the content API. I did a bit of ↵jam@chromium.org2011-10-291-2/+2
| | | | | | | | | | | | | cleanup while I was doing this. -got rid of SandboxInitWrapper, since I didn't see a need to expose given that we can just expose sandbox::SandboxInterfaceInfo -got rid of the duplicated code to initialize the broker -since I made MainFunctionParams only have the sandbox struct on Windows, I also made the mac specific auto release pool behind an ifdef as well. It seemed odd to make something so mac specific compile on all platforms to save some #ifdefs. BUG=98716 Review URL: http://codereview.chromium.org/8414020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107863 0039d316-1c4b-4281-b951-d872f2087c98