summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Enabling internal PDF reader should disable Reader, and vice versa.jam@chromium.org2010-10-112-4/+12
| | | | | | | BUG=50105 Review URL: http://codereview.chromium.org/3674002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62154 0039d316-1c4b-4281-b951-d872f2087c98
* Autofill - "Clear form" failed to clear the select popup valuesdhollowa@chromium.org2010-10-111-1/+1
| | | | | | | | | | | Enhances Autofill "Clear form" functionality to reset select-one input elements to their original values. The initial values are captured during form load and saved in the FormManager cache. BUG=50412 TEST=FormManagerTest.ClearFormWithNodeContainingSelectOne Review URL: http://codereview.chromium.org/3707001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62133 0039d316-1c4b-4281-b951-d872f2087c98
* Add a way to get proxy information to the Private2 Pepper API.brettw@chromium.org2010-10-103-2/+36
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3594020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62104 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed include in test_webkit_clientdavemoore@chromium.org2010-10-106-3/+133
| | | | | | | | | | | | | retrying "Revert 62068 - Move implementation of linux scrollbars from webkit using new" See: http://codereview.chromium.org/3618014 TBR:jam@chromium.org BUG=chromium-os:6857 TEST=Verify that both linux and chromeos scrollbars look right. Review URL: http://codereview.chromium.org/3697001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62093 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 62068 - Move implementation of linux scrollbars from webkit using newdavemoore@chromium.org2010-10-096-133/+3
| | | | | | | | | | | | | | WebThemeEngine api. Also implement chromeos specific version. BUG=chromium-os:6857 TEST=Verify that both linux and chromeos scrollbars look right. Review URL: http://codereview.chromium.org/3618014 TBR=davemoore@chromium.org Review URL: http://codereview.chromium.org/3678003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62070 0039d316-1c4b-4281-b951-d872f2087c98
* Move implementation of linux scrollbars from webkit using newdavemoore@chromium.org2010-10-096-3/+133
| | | | | | | | | | | WebThemeEngine api. Also implement chromeos specific version. BUG=chromium-os:6857 TEST=Verify that both linux and chromeos scrollbars look right. Review URL: http://codereview.chromium.org/3618014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62068 0039d316-1c4b-4281-b951-d872f2087c98
* Password Autocomplete needs to check maximum field length when filling.dhollowa@chromium.org2010-10-094-8/+77
| | | | | | | | | | | Changes input element |setValue()| call sites to respect the input element's maxlength attribute. BUG=56378, 45831 TEST=Manual test as per bug 45831, and PasswordManagerAutocompleteTests.TestValidValueConditions Review URL: http://codereview.chromium.org/3615008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62059 0039d316-1c4b-4281-b951-d872f2087c98
* Convert pepper module and instance IDs from being pointer values to beingbrettw@chromium.org2010-10-0826-98/+211
| | | | | | | | | | random numbers. BUG=57330 TEST=none Review URL: http://codereview.chromium.org/3571022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62037 0039d316-1c4b-4281-b951-d872f2087c98
* Remove include for string16 which can cause problems for external projects ↵brettw@chromium.org2010-10-082-5/+7
| | | | | | | | | | using this interface. TEST=none BUG=none Original review=http://codereview.chromium.org/3521022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62034 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Move some structs in webkit_glue::ResourceLoaderBridge:: .erg@google.com2010-10-089-198/+206
| | | | | | | | | | | | | This moves inner structs into the namespace toplevel so we can foreward declare them; then we forward declare them in render_messages.h so we can drop that header. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3616014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61996 0039d316-1c4b-4281-b951-d872f2087c98
* Allow unlimited quota for apps for FileSystem accesskinuko@chromium.org2010-10-081-0/+4
| | | | | | | | | | | | | | | | | | | | - allow unlimited access for apps/extensions that have "unlimited_storage" permission. - disallow any write access that may increase the filesystem usage (i.e. copy/move/create/write). for others. - allow unlimit access for file:/// URIs only if --allow-file-from-files flag is given. BUG=57211 TEST=FileSystemQuota.* TEST=Load a remote test page and verify that it throws QUOTA_EXCEEDED_ERR (22) for any write access. TEST=Load an app/extension page that has "unlimited_storage" permission and verify that any write access is allowed. TEST=Disable or uninstall the app/extension and do the same. Verify that it throws QUOTA_EXCEEDED_ERR (22) for any write access. TEST=Launch chromium without --allow-file-from-files flag, load a local test page (with file:/// URI) and verify that it throws SECURITY_ERR (18) for requesetFileSystem. TEST=Launch chromium with --allow-file-from-files flag and do the same. Verify that requestFileSystem returns a valid filesystem and any write access is allowed. Review URL: http://codereview.chromium.org/3561016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61934 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a deadlock in NPAPI::PluginList::LoadPlugins.bauerb@chromium.org2010-10-084-40/+32
| | | | | | | | | | | Also, keep the list of disabled plug-in groups in sync with their state. BUG=57953 TEST=See bug for manual test Review URL: http://codereview.chromium.org/3565009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61927 0039d316-1c4b-4281-b951-d872f2087c98
* Add a glyph drawing routine to private Pepper interface. The currentbrettw@chromium.org2010-10-087-24/+173
| | | | | | | | | | | | | | | implementation is Linux only. This also changes the Private font interface to use the "regular" PP_FontDescription_Dev struct for specifying the font, which allows us to unify some of the data here. I kept the character set stuff as a separate parameter which is needed for compat in a few cases. TEST=none BUG=none Review URL: http://codereview.chromium.org/3569013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61920 0039d316-1c4b-4281-b951-d872f2087c98
* Update most secure version for the following plugins:panayiotis@google.com2010-10-071-5/+5
| | | | | | | | | | | | | | | | | - Reader 9 to 9.4.0 - Reader 8 to 8.2.5 - Quicktime for Windows to 7.6.8 - Flash 10 to 10.1.85 Relevant advisories: - http://www.adobe.com/support/security/bulletins/apsb10-22.html - http://www.adobe.com/support/security/bulletins/apsb10-21.html - http://support.apple.com/kb/HT4339 Review URL: http://codereview.chromium.org/3631002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61882 0039d316-1c4b-4281-b951-d872f2087c98
* Make FakeGlVideoDecodeEngine works in the hardware video decoding architecturehclam@chromium.org2010-10-071-1/+1
| | | | | | | | | | | | | | Add Preroll IPC message for finishing the initialiation of FakeGlVideoDecodeEngine. Also defined methods in WebVideoFrameImpl to access video frame textures. This change depend on a WebKit change to succesfully display the textures. BUG=53714 TEST=Tree is green. This still needs WebKit changes to work. Review URL: http://codereview.chromium.org/3472016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61853 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up PPAPI renames in Chrome.neb@chromium.org2010-10-0711-91/+92
| | | | | | | | | BUG=57631 TEST=ppapi/tests pass Review URL: http://codereview.chromium.org/3537011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61830 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 61613 that was reverted for false valgrind alarm.kinuko@chromium.org2010-10-071-0/+2
| | | | | | | | | | | | | Original issue: http://codereview.chromium.org/3567012/show BUG=none TEST=FileSystemOperationTest.* TBR=ericu,thestig Review URL: http://codereview.chromium.org/3603014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61613 - possible culprit for valgrind error. (Support ↵kinuko@chromium.org2010-10-061-2/+0
| | | | | | | | | | | removeRecursively and new copy/move) BUG=none TEST=none Review URL: http://codereview.chromium.org/3576017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61713 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up the IndexedDB plumbing layers to match the latest WebKit code.jorlow@chromium.org2010-10-061-25/+1
| | | | | | | | | | | Landing http://codereview.chromium.org/3550015/show TEST=none BUG=none Review URL: http://codereview.chromium.org/3575019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61709 0039d316-1c4b-4281-b951-d872f2087c98
* Update the path for Silverlight to the general landing page.panayiotis@google.com2010-10-061-4/+4
| | | | | | | | TEST=running unit_tests BUG=49569 Review URL: http://codereview.chromium.org/3569016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61661 0039d316-1c4b-4281-b951-d872f2087c98
* Add a private interface to the plugin and use it to know if the mouse is ↵jam@chromium.org2010-10-065-2/+61
| | | | | | | | over a link. Review URL: http://codereview.chromium.org/3562007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61658 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for raw headers.caseq@google.com2010-10-062-1/+42
| | | | | | | | | | | Added DevToolsNetLogObserver (used by the above) BUG=http://crbug.com/41916 TEST=none Review URL: http://codereview.chromium.org/3133016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61648 0039d316-1c4b-4281-b951-d872f2087c98
* Second try for support removeRecursively and new copy/move behaviors added ↵kinuko@chromium.org2010-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | to the spec recently. http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/1101.html > For a move/copy of a file on top of existing file, or a directory on > top of an existing empty directory, you get an automatic overwrite. > A move/copy of a file on top of an existing directory, or of a > directory on top of an existing file, will always fail. > A move/copy of a file or directory on top of an existing non-empty > directory will always fail. original issue: http://codereview.chromium.org/3567012 BUG=none TEST=FileSystemOperationTest.* TBR=ericu Review URL: http://codereview.chromium.org/3531012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61613 0039d316-1c4b-4281-b951-d872f2087c98
* Windowless plugins would fail to paint at times. This occurs in the ↵ananta@chromium.org2010-10-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | following sequence of events:- 1. The windowless plugin receives a geometry update. We create a temporary HDC which is saved in the NPWindow member. 2. The plugin issues a sync call to the renderer in the context of the Setwindow call. 3. An incoming paint message is received in the context of the above sync call where the HDC created in step 1 is overwritten with the HDC received in the Paint call. 4. When the whole stack unwinds the HDC received in step 3 is destroyed incorrectly thus causing subsequent paints to fail. The Paint DC is created and owned by the WebPluginProxy. Fix is to save away the old dc in the WindowlessPaint call and restore it back on return. Fixes bug http://code.google.com/p/chromium/issues/detail?id=54247 Bug=54247 Test=Tricky to write a test which reproduces the sequence above predictably. Mocks may be an option to look into. Review URL: http://codereview.chromium.org/3563008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61601 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Continue fixing nits found by my automated source scanner.erg@google.com2010-10-051-1/+1
| | | | | | | | | | | (~1.3 megs off Debug linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3556013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61587 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed assertions in SearchString.sanjeevr@chromium.org2010-10-051-0/+4
| | | | | | | | | BUG=None TEST=Test searching for text in PDF. Shoud not DCHECK in debug builds. Review URL: http://codereview.chromium.org/3573010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61572 0039d316-1c4b-4281-b951-d872f2087c98
* changes to audionfullagar@google.com2010-10-052-15/+39
| | | | | | | | | | | | - add obtained sample frame count - add buffer size in bytes arg to callback - enumerate sample rates BUG=none TEST=none Review URL: http://codereview.chromium.org/3572010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61568 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61480 - Support removeRecursively and new copy/move behaviors added ↵kinuko@chromium.org2010-10-051-2/+0
| | | | | | | | | | | | | | | | | | | | | to the spec recently. http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/1101.html > For a move/copy of a file on top of existing file, or a directory on > top of an existing empty directory, you get an automatic overwrite. > A move/copy of a file on top of an existing directory, or of a > directory on top of an existing file, will always fail. > A move/copy of a file or directory on top of an existing non-empty > directory will always fail. BUG=32277 TEST=FileSystemOperationTest.* Review URL: http://codereview.chromium.org/3567012 TBR=kinuko@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61482 0039d316-1c4b-4281-b951-d872f2087c98
* Support removeRecursively and new copy/move behaviors added to the spec ↵kinuko@chromium.org2010-10-051-0/+2
| | | | | | | | | | | | | | | | | | | recently. http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/1101.html > For a move/copy of a file on top of existing file, or a directory on > top of an existing empty directory, you get an automatic overwrite. > A move/copy of a file on top of an existing directory, or of a > directory on top of an existing file, will always fail. > A move/copy of a file or directory on top of an existing non-empty > directory will always fail. BUG=32277 TEST=FileSystemOperationTest.* Review URL: http://codereview.chromium.org/3567012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61480 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome to use the renamed WebDragData methods.dcheng@chromium.org2010-10-051-8/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3526017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61472 0039d316-1c4b-4281-b951-d872f2087c98