summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Remove GetURLForDebugging().pkasting@chromium.org2010-10-236-22/+4
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4071004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63614 0039d316-1c4b-4281-b951-d872f2087c98
* Terminate FilterFactory and his nasty friendshclam@chromium.org2010-10-2311-258/+82
| | | | | | | | | | | | | FilterFactory, IsMediaFormatSupported and CreateFactory are the source of evil. They also have have a gang of template functions. This patch terminate them all and make the world a better place. BUG=28207 TEST=<video> runs Review URL: http://codereview.chromium.org/3878001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63609 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing valgrind error because of mem leak in BuffereDataSource unit testsvrk@google.com2010-10-221-0/+5
| | | | | | | | | | | Forgot to stop the DataSource at the end of the ReadHang test. BUG=NONE TEST=test_shell_tests Review URL: http://codereview.chromium.org/4059002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63592 0039d316-1c4b-4281-b951-d872f2087c98
* Adding Abort() to DataSource to wake up hanging Read()vrk@google.com2010-10-228-15/+164
| | | | | | | | | | | | | | | This change adds an Abort() method to BufferedDataSource, which will wake up a blocking read if one exists. When WebMediaPlayerImpl being destroyed, it now tells BufferedDataSource to abort before it tells the pipeline to stop, so the pipeline will not hang while waiting for a never-ending Read() to return. BUG=54465 TEST=test_shell_tests Review URL: http://codereview.chromium.org/4009002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63548 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: More dtor deinlining. (Can almost see the end!)erg@google.com2010-10-222-0/+3
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3962004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63527 0039d316-1c4b-4281-b951-d872f2087c98
* Update code that previously constructed strings from string iterators only ↵erikwright@chromium.org2010-10-221-15/+9
| | | | | | | | | | to use StringToInt. These usages now pass the iterators directly to the new StringToInt overloads. BUG=None TEST=All Review URL: http://codereview.chromium.org/3968001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63515 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compilation with system ICU.phajdan.jr@chromium.org2010-10-221-1/+2
| | | | | | | | | | | This is upstreaming a Gentoo Linux patch. BUG=none TEST=noe Review URL: http://codereview.chromium.org/3769008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63490 0039d316-1c4b-4281-b951-d872f2087c98
* Add the support of PP_IMAGEDATAFORMAT_RGBA_PREMUL in the browser.klobag@chromium.org2010-10-214-28/+124
| | | | | | | | | | If the plugin format and the browser format do not match, the browser will handle the proper conversion to ensure it uses the correct format. This is re-sbumit of 63375. Added couple of cast to make win happy. Review URL: http://codereview.chromium.org/4000004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63436 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63375 - Add the support of PP_IMAGEDATAFORMAT_RGBA_PREMUL in the browser.klobag@chromium.org2010-10-214-117/+28
| | | | | | | | | | | If the plugin format and the browser format do not match, the browser will handle the proper conversion to ensure it uses the correct format. Review URL: http://codereview.chromium.org/3859004 TBR=klobag@chromium.org Review URL: http://codereview.chromium.org/4026003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63378 0039d316-1c4b-4281-b951-d872f2087c98
* Add the support of PP_IMAGEDATAFORMAT_RGBA_PREMUL in the browser.klobag@chromium.org2010-10-214-28/+117
| | | | | | | | If the plugin format and the browser format do not match, the browser will handle the proper conversion to ensure it uses the correct format. Review URL: http://codereview.chromium.org/3859004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63375 0039d316-1c4b-4281-b951-d872f2087c98
* Add back some code I accidentally removed when merging changes.dumi@chromium.org2010-10-201-0/+4
| | | | | | | | | | BUG=none TEST=PPAPITest.Buffer passes TBR=darin Review URL: http://codereview.chromium.org/3904004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63184 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix.dumi@chromium.org2010-10-201-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=darin Review URL: http://codereview.chromium.org/3923004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63180 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit http://codereview.chromium.org/3944001.dumi@chromium.org2010-10-2015-326/+423
| | | | | | | | | | BUG=none TEST=none TBR=darin Review URL: http://codereview.chromium.org/3881002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63179 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63153 - Update Pepper's FileSystem and FileRef implementations.dumi@chromium.org2010-10-2015-423/+326
| | | | | | | | | | | | BUG=none TEST=test_file_ref, test_file_system, test_url_loader Review URL: http://codereview.chromium.org/3602008 TBR=dumi@chromium.org Review URL: http://codereview.chromium.org/3905002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63154 0039d316-1c4b-4281-b951-d872f2087c98
* Update Pepper's FileSystem and FileRef implementations.dumi@chromium.org2010-10-2015-326/+423
| | | | | | | | | BUG=none TEST=test_file_ref, test_file_system, test_url_loader Review URL: http://codereview.chromium.org/3602008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63153 0039d316-1c4b-4281-b951-d872f2087c98
* Add private pepper API to send UMA stats for PDF page count.jam@chromium.org2010-10-192-1/+10
| | | | | | | BUG=58535 Review URL: http://codereview.chromium.org/3871003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63115 0039d316-1c4b-4281-b951-d872f2087c98
* New Java version (6u22). Relevant advisory: ↵panayiotis@google.com2010-10-191-1/+1
| | | | | | | | | | | http://www.oracle.com/technetwork/topics/security/javacpuoct2010-176258.html BUG=None TEST=test_shell_tests Review URL: http://codereview.chromium.org/3856005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63089 0039d316-1c4b-4281-b951-d872f2087c98
* plugins: revert the logging statement added in r62783evan@chromium.org2010-10-191-2/+0
| | | | | | | | | | We now have found the problem, so we don't need this info anymore. BUG=59317 Review URL: http://codereview.chromium.org/3787010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63077 0039d316-1c4b-4281-b951-d872f2087c98
* Added fallback code for servers that don't support Range requests properlyscherkus@chromium.org2010-10-193-18/+66
| | | | | | | | | | | | | | This change issues a request without a Range header if the first request with a Range header fails. This allows us to play files from servers that don't properly implement responses to Range requests. Patch by acolwell@chromium.org: http://codereview.chromium.org/3796007/show BUG=39048 TEST=BufferedDataSourceTest.MissingContentRange git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63065 0039d316-1c4b-4281-b951-d872f2087c98
* Support sync file io for pepper, to support LSOspiman@chromium.org2010-10-195-8/+303
| | | | | | | | | BUG=chromium-os:7492 TEST=run pepper flash (with LSO support) on http://www.bestflashanimationsite.com/tutorials/4/ , check that it properly stores the objects. Review URL: http://codereview.chromium.org/3800010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63003 0039d316-1c4b-4281-b951-d872f2087c98
* Convert LOG(INFO) to VLOG(1) - webkit/.pkasting@chromium.org2010-10-194-24/+22
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3822006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63001 0039d316-1c4b-4281-b951-d872f2087c98
* Expose the loading string through the private api.jam@chromium.org2010-10-182-1/+7
| | | | | | Review URL: http://codereview.chromium.org/3862001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62972 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Monster ctor patch after changing heuristics in clang plugin.erg@google.com2010-10-1811-14/+42
| | | | | | | | | | | (Only 916k this time off Debug Linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3814013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62967 0039d316-1c4b-4281-b951-d872f2087c98
* Move pe_image and registry from base to base/win and use the namespace. It ↵brettw@chromium.org2010-10-172-9/+11
| | | | | | | | | | | | removes windows_message_list which isn't used. This keeps a stub for registry in the old location until we can update that. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3836005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62888 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_cftyperef from base to base/mac, use the new namespace, and name itbrettw@chromium.org2010-10-174-21/+23
| | | | | | | | | | properly (scoped_cftyperef -> ScopedCFTypeRef). TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3855001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62887 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IME for Mac plugins using the Cocoa event model on 10.6stuartmorgan@chromium.org2010-10-153-10/+49
| | | | | | | | | | | | | Based on the implementation of Gecko's Cocoa event model IME handling on 64-bit, but modified to fit Chrome's cross-process event handling. Because NSTextInputContext is 10.6+, 10.5 will need a cempletely different implementation. BUG=30905 TEST=Plugins implementing the updated NPAPI Cocoa IME spec should handle IME on 10.6. Review URL: http://codereview.chromium.org/3808001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62820 0039d316-1c4b-4281-b951-d872f2087c98
* Linux Plugins: Add a debugging statement to help track down bug 59317.thestig@chromium.org2010-10-151-0/+2
| | | | | | | | BUG=59317 TEST=none Review URL: http://codereview.chromium.org/3754008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62783 0039d316-1c4b-4281-b951-d872f2087c98
* Implement cancelling a pepper request.jam@chromium.org2010-10-153-8/+15
| | | | | | Review URL: http://codereview.chromium.org/3828005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62757 0039d316-1c4b-4281-b951-d872f2087c98
* Move windows version-related stuff out of base/win_util and into ↵brettw@chromium.org2010-10-152-4/+4
| | | | | | | | | | | | | | base/win/windows_version. Many files now only need to include this instead of all of win_util. Remove a bunch of unused code from base/win_util. There was a surprising amount. Replace the AppUserModel property key with the one from the SDK now that we use the Win7 SDK. Move GetLogonSessionOnlyDACL from win_util to ipc since it's only used in that one place. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62694 0039d316-1c4b-4281-b951-d872f2087c98
* Move iat_patch from base to app/win. Remove the functions from the header sincebrettw@chromium.org2010-10-141-4/+4
| | | | | | | | | | | | they aren't used, and just make them local to the .cc file. Rename the .cc file to iat_patch_function to match the class definition. Put it in the app::win namespace to match the directories. Update callers. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3743006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62678 0039d316-1c4b-4281-b951-d872f2087c98
* Made deriving from Pepper Resource class easier.neb@chromium.org2010-10-141-69/+38
| | | | | | | | | BUG=none TEST=ppapi_tests Review URL: http://codereview.chromium.org/3732002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62673 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: More ctor/dtor cleanup.erg@google.com2010-10-144-23/+75
| | | | | | | | | | | (3.5 megs off debug linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3806005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62654 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ResourceFetcherTests.ResourceFetcherDownload and ResourceFetcherDidFail ↵phajdan.jr@chromium.org2010-10-141-2/+4
| | | | | | | | | | | | | as FLAKY TBR=darin BUG=51622 TEST=test_shell_tests Review URL: http://codereview.chromium.org/3800004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62522 0039d316-1c4b-4281-b951-d872f2087c98
* Move Stats, histograms, and field trial into a metrics subdirectory of base andbrettw@chromium.org2010-10-149-24/+23
| | | | | | | | | put them in the base namespace. TEST=it compiles BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
* Add a pp_resource include to the two private interfaces, which depend on this.brettw@chromium.org2010-10-142-0/+2
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3769003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62496 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build warnings about bool conversion.brettw@chromium.org2010-10-141-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62493 0039d316-1c4b-4281-b951-d872f2087c98
* Update the audio interface implementation to use the latest Pepper.brettw@chromium.org2010-10-142-30/+60
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3801001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62491 0039d316-1c4b-4281-b951-d872f2087c98
* base: Move SplitString functions into the base namespace and update the callers.tfarina@chromium.org2010-10-146-16/+18
| | | | | | | | | BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3750001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62483 0039d316-1c4b-4281-b951-d872f2087c98
* Use CommandUpdater for disabling commands that were disabled by plugins.jam@chromium.org2010-10-133-7/+8
| | | | | | Review URL: http://codereview.chromium.org/3742002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62475 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Further parts of r61237 that should be harmless to chrome_frame.erg@google.com2010-10-134-49/+63
| | | | | | | | | BUG=none TEST=compiles everywhere Review URL: http://codereview.chromium.org/3748004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62473 0039d316-1c4b-4281-b951-d872f2087c98
* [media] inject VDC to decoder.jiesun@google.com2010-10-131-1/+1
| | | | | | | | | | | | | | | | | which VDC to be used should be determined by something outside instead of inside video decoder. 1. whether hardware composition is used( probably always true). 2. whether hardware composition is disabled.(if not, why we keep the skbitmap path). 3. whether a opengl or a opengles VDC is needed, probably only apply to player_x11. 4. the video decoder context are sharing a lot of states with "painter/compositor" (e.g. graphic context). and if we create VDC inside decoder, and there is no current code path to inject this to Renderer, there are also complication of the factories and creating orders. even we add that path, it maybe too late for renderer. while we need to refactor ipc_video_decoder later. BUG=None TEST=Bots Review URL: http://codereview.chromium.org/3534015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62443 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Fix more ctor/dtors found by clang plugin.erg@google.com2010-10-132-1/+3
| | | | | | | | | | | (1.2 megs off of Debug Linux .a files) BUG=none TEST=compiles everywhere Review URL: http://codereview.chromium.org/3743001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62420 0039d316-1c4b-4281-b951-d872f2087c98
* Add a private pepper API for the pdf plugin to disable copy/print etc. This ↵jam@chromium.org2010-10-123-1/+15
| | | | | | | | | is needed because pdf documents might disallow copying/printing and it's confusing to have an enabled menu item which does nothing. BUG=47364 Review URL: http://codereview.chromium.org/3692007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62345 0039d316-1c4b-4281-b951-d872f2087c98
* Compile webkit gpu code in an upstream build too.tony@chromium.org2010-10-121-1/+1
| | | | | | | | | | | | | I had originally disabled this when setting up the upstream webkit.org build. At the time we didn't compile any of src/gpu, but now we do, so it's safe to enable this. If we don't compile this, shared library (.so) builds in a webkit only tree fail to link because of missing symbols. Review URL: http://codereview.chromium.org/3722002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62330 0039d316-1c4b-4281-b951-d872f2087c98
* Take out bogus DCHECKgspencer@chromium.org2010-10-121-1/+0
| | | | | | | | | | | This DCHECK is valid only within the browser itself -- it doesn't work for tests, etc, which have different default plugins. BUG=none TEST=ran test_shell_tests and test_shell TBR=piman@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62267 0039d316-1c4b-4281-b951-d872f2087c98
* This makes it so we only add the default plugin if it's enabled.gspencer@chromium.org2010-10-121-2/+3
| | | | | | | | | BUG=none TEST=ran test_shell_tests on linux Review URL: http://codereview.chromium.org/3707005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62265 0039d316-1c4b-4281-b951-d872f2087c98
* This changes GetPluginInfo so that we can request a list of plugins that ↵gspencer@chromium.org2010-10-122-90/+114
| | | | | | | | | | | | | match the criterion (mime type/url) instead of just the first one that matches. This is in preparation for implementing a way for us to switch which flash plugin we select based on a whitelist of domains. BUG=http://crosbug.com/7403 TEST=ran chrome unit_tests, ran chromeos version of chrome, passed trybots. Review URL: http://codereview.chromium.org/3530017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62261 0039d316-1c4b-4281-b951-d872f2087c98
* Remove GetSelectedText from Instance interface.jam@chromium.org2010-10-122-15/+33
| | | | | | | BUG=57492 Review URL: http://codereview.chromium.org/3673005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62218 0039d316-1c4b-4281-b951-d872f2087c98
* Add private pepper API to keep the throbber spinning while PDFs are loading.jam@chromium.org2010-10-123-1/+31
| | | | | | | BUG=58795 Review URL: http://codereview.chromium.org/3685003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62217 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent implicit animation when resizing Core Animation pluginsstuartmorgan@chromium.org2010-10-111-0/+5
| | | | | | | | | BUG=None TEST=Open a page with an accelerated plugin (e.g., Unity). The pugin should not visibily animated to full size from the lower-left corner. Review URL: http://codereview.chromium.org/3649003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62177 0039d316-1c4b-4281-b951-d872f2087c98