summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Swallow context menu events dispatched to a NPAPI plugin so thatdarin@chromium.org2010-07-221-0/+4
| | | | | | | | | | | | | | | WebKit prevents the default context menu from being rendered. Depends on: https://bugs.webkit.org/show_bug.cgi?id=42808 R=stuartmorgan BUG=48129 TEST=none Review URL: http://codereview.chromium.org/2858065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53389 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper stream-to-file plumbing.darin@chromium.org2010-07-2213-16/+80
| | | | | | | | | | | | This just hooks up the renderer side of the IPC. R=brettw BUG=49789 TEST=none Review URL: http://codereview.chromium.org/3053009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53378 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Record whether the user initiated the form submission and don't ↵jhawkins@chromium.org2010-07-221-0/+3
| | | | | | | | | | | save form data if the form was not user-submitted. BUG=48225 TEST=none Review URL: http://codereview.chromium.org/2842062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53350 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for: State in small letters should be auto-filled from the profile.jhawkins@chromium.org2010-07-212-0/+23
| | | | | | | | | | | BUG=38222 TEST=in the bug Patch by George Yakovleg <georgey@chromium.org> Review URL: http://codereview.chromium.org/2832064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53234 0039d316-1c4b-4281-b951-d872f2087c98
* Changed type CookieList to being a vector CanonicalCookies.rdsmith@google.com2010-07-211-3/+2
| | | | | | | | | | | Originally, it was a vector of pair<domain_string, CanonicalCookie>. TEST=Refactor; all relevant unit tests should still pass. BUG=8850 Review URL: http://codereview.chromium.org/2799057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53184 0039d316-1c4b-4281-b951-d872f2087c98
* De-coupled resource references by plugin from Resource object's refcount. ↵neb@chromium.org2010-07-2019-194/+220
| | | | | | | | | | | Made so that ResourceTracker keeps the refs-by-plugin count, and when the ppapi plugin releases the last reference, it UnRefs the resource. TEST=none BUG=none Review URL: http://codereview.chromium.org/2871027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53098 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Make AppendDataToBody() not append empty data.viettrungluu@chromium.org2010-07-201-1/+2
| | | | | | | | | BUG=none TEST=no DCHECK() failures with Trung's Flash Review URL: http://codereview.chromium.org/3051004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53044 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an unitialized read in a unit test to appease valgrindthakis@chromium.org2010-07-202-5/+1
| | | | | | | | | | | See http://codereview.chromium.org/2908003 for some backstory. BUG=none TEST=Webkit Mac memory bot goes green. Review URL: http://codereview.chromium.org/2825059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52988 0039d316-1c4b-4281-b951-d872f2087c98
* Add click-to-load functionality for blocked plugins.bauerb@chromium.org2010-07-193-0/+251
| | | | | | | | | BUG=35316 TEST=Disable plugins, go to a site with a flash animation. You should see a placeholder for the flash animation. When you click on it, the animation should load. Review URL: http://codereview.chromium.org/2862031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52899 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce "--enable-memory-info" command-line flag to enable reportingmnaganov@chromium.org2010-07-192-1/+6
| | | | | | | | | | | | of JS heap size via "console.memory" (for now) and "webkitPerformance.memory" (having Web Timing enabled). BUG=43281 TEST=none Review URL: http://codereview.chromium.org/3017007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52886 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebFileSystemImpl::directoryName. This is needed for directory ↵johnnyg@chromium.org2010-07-171-2/+2
| | | | | | | | | | | upload (including webkit layout tests). BUG=41762 TEST=webkit layout test fast/forms/input-file-directory-upload.html Review URL: http://codereview.chromium.org/2847056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52829 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid flashing when resizing plugins that use PaintManager. Copy the bitmap ↵jam@chromium.org2010-07-172-0/+22
| | | | | | | | from the old backing store to the new one so that we have something to display until the plugin repaints. Credit to Darin for tracking this down and the suggested fix. Review URL: http://codereview.chromium.org/2834052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52811 0039d316-1c4b-4281-b951-d872f2087c98
* Code review followups by Darinjam@chromium.org2010-07-172-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52809 0039d316-1c4b-4281-b951-d872f2087c98
* Add third_party/ prefix to ppapi include for checkdeps.ajwong@chromium.org2010-07-161-1/+1
| | | | | | | | | | The only users of this ppb should be inside chrome so this should work fine. TBR=jam@chromium.org Review URL: http://codereview.chromium.org/3019006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52766 0039d316-1c4b-4281-b951-d872f2087c98
* file_util: deprecate remaining wstring functionsevan@chromium.org2010-07-161-1/+8
| | | | | | | | | | | This removes the last wstring-accepting functions from file_util on non-Windows platforms. BUG=24672 Review URL: http://codereview.chromium.org/3005005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52755 0039d316-1c4b-4281-b951-d872f2087c98
* Add private Pepper v2 API to get localized strings.jam@chromium.org2010-07-166-0/+93
| | | | | | Review URL: http://codereview.chromium.org/3035005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52754 0039d316-1c4b-4281-b951-d872f2087c98
* Separate the PasswordManagerDelegate out of PasswordManager.erg@chromium.org2010-07-167-30/+41
| | | | | | | | | | | | | | | Previously, anyone who included tab_contents.h would bring in a bunch of implementation details of the password manager from webkit_glue. This breaks the delegate interface out of the rest of password manager system and makes FillData not an inner-class so anyone can forward declare FillData instead of having to include the header to meet a delegate interface. BUG=none TEST=none Review URL: http://codereview.chromium.org/2877022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52726 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Use unique IDs to identify the profile or credit card to fill.jhawkins@chromium.org2010-07-161-1/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3019001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52699 0039d316-1c4b-4281-b951-d872f2087c98
* Implement some of URLResponseInfo properties.darin@chromium.org2010-07-163-6/+78
| | | | | | | | | | | | R=brettw BUG=47222 TEST=none Originally reviewed at: http://codereview.chromium.org/3032002 Review URL: http://codereview.chromium.org/3014009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52697 0039d316-1c4b-4281-b951-d872f2087c98
* Remove more definitions from header files.erg@chromium.org2010-07-161-0/+2
| | | | | | | | | | | This patch only concerns itself with places where we have more than 100 copies of methods being generated. (For example, the destructor and other random methods in FilePath weren't being inlined, leading to several hundred copies being generated.) BUG=none TEST=none Review URL: http://codereview.chromium.org/3039001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52694 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r52688 to fix build bustage.darin@chromium.org2010-07-163-78/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52691 0039d316-1c4b-4281-b951-d872f2087c98
* Implement some of URLResponseInfo properties.darin@chromium.org2010-07-163-6/+78
| | | | | | | | | | R=brettw BUG=47222 TEST=none Review URL: http://codereview.chromium.org/3032002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52688 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools & WebTiming : Migrate from PassiveLogCollector to dedicated ↵pfeldman@chromium.org2010-07-163-1/+7
| | | | | | | | LoadTimingObserver. Review URL: http://codereview.chromium.org/2909016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52634 0039d316-1c4b-4281-b951-d872f2087c98
* Update gyp for chromium multi dll buildvictorw@chromium.org2010-07-161-0/+8
| | | | | | | | | BUG=46311 TEST=none Review URL: http://codereview.chromium.org/2962012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52614 0039d316-1c4b-4281-b951-d872f2087c98
* Implement spin buttons for <input type=number>tkent@chromium.org2010-07-162-0/+15
| | | | | | | | BUG=42179 TEST=None; will covered by layout tests. Review URL: http://codereview.chromium.org/2813050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52611 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PDF files not loading at times with Acrobat Reader. This only happens in ↵ananta@chromium.org2010-07-162-10/+22
| | | | | | | | | | | | | | | | | the FastWebView code path while handling byte range requests. We need to strip out trailing \n\r characters before the boundary marker on the same lines as Firefox. Updated the multipart tests to account for this. Fixes bug http://code.google.com/p/chromium/issues/detail?id=48580 Bug=48580 Review URL: http://codereview.chromium.org/2881017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52595 0039d316-1c4b-4281-b951-d872f2087c98
* Load Pepper v2 internal pdf plugin.jam@chromium.org2010-07-162-14/+1
| | | | | | Review URL: http://codereview.chromium.org/2891016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52575 0039d316-1c4b-4281-b951-d872f2087c98
* Video Buffering: Caches data to disk when paused (resubmit)vrk@google.com2010-07-153-5/+209
| | | | | | | | | | | | | Resubmitting this buffering patch because original patch was reverted. This patch clears up the memory leak issue in the unit tests and adds valgrind suppressions to silence the uninitialized variable false positives. BUG=42285 TEST=test_shell_tests Review URL: http://codereview.chromium.org/2908003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52569 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for printing of Pepper v2 plugins.sanjeevr@chromium.org2010-07-159-1/+459
| | | | | | | | | BUG=None TEST=Test printing with Chrome PDF Pepper v2 plugin. Review URL: http://codereview.chromium.org/2819047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52520 0039d316-1c4b-4281-b951-d872f2087c98
* SerializerTests.SerializeHTMLDOMWithNonStandardEntitiesojan@google.com2010-07-151-4/+1
| | | | | | | | | | fails after http://trac.webkit.org/changeset/63403 due to different text node coalescing. There's no reason for this test to use the text node to read the content. Review URL: http://codereview.chromium.org/2878030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52504 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt four at landing the "histogram.h removed from message_loop.h" patch.erg@chromium.org2010-07-152-0/+2
| | | | | | | | | | | | | | Previously committed as r52349 and r52336. Related commits: r52367, r52364 and r52343. Rerunning trybots due to previous trybot breakage. TEST=none BUG=none Review URL: http://codereview.chromium.org/2965015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52496 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Implement WebCursorInfo::TypeNone (i.e., invisible) cursor.viettrungluu@chromium.org2010-07-151-1/+27
| | | | | | | | | BUG=48906 TEST=Write a Pepper plugin which uses the Pepper API to set an invisible cursor. Make sure the cursor disappears over the plugin area. Review URL: http://codereview.chromium.org/2958007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52483 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for POST requests and custom request headers.darin@chromium.org2010-07-156-26/+143
| | | | | | | | | | | | | | | | I decided against having URLRequestInfo contain a WebURLRequest object. Instead, there is a ToWebURLRequest method that takes a WebFrame. Fixed a bug where we wouldn't report EOF properly in the case where didFinishLoading was called before ReadResponseBody. R=jam BUG=47222 TEST=ppapi/tests/test_url_loader.cc Review URL: http://codereview.chromium.org/2893016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52450 0039d316-1c4b-4281-b951-d872f2087c98
* Implement scrolling in Pepper. This does simple scrolling of the backing storebrettw@chromium.org2010-07-151-1/+4
| | | | | | | | | | in the renderer, and just invalidates that region so it's repainted by WebKit. TEST=covered by ppapi unit test (to be enabled) BUG=none Review URL: http://codereview.chromium.org/2909017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52444 0039d316-1c4b-4281-b951-d872f2087c98
* media: refactoring video_render_base to recycle buffersjiesun@google.com2010-07-141-4/+14
| | | | | | | | | | | | | | To make recycle work, we had to define the usage scope of current frame. otherwise we are introducing tearing because we will begin to decode into the buffer before it is done by the renderer/painter/compositor. current mechanism depends on hold reference of a copied picture. we had no that luxury if we do not copy output buffers. we had to compromise by 1. in pause() ( which is not the sense of pipeline->pause(), which is implemented by set playrate = 0 ) in filter->pause() ( or in the future flush() ), which is part of seeking ( and in the future, part of stop() too) , we had to return all the buffers to owner. we had no current buffer to display. we use NULL as current frame in this case. 2. remove black frame from render base, this is only valid for system memory based video frame, even that should we use color fill instead of color conversion and scale. 3. pause and stop has to wait for pending read (actually flush) and pending paint. 4. we only advance frame when there are two or more frames in ready queue. Review URL: http://codereview.chromium.org/2836038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52398 0039d316-1c4b-4281-b951-d872f2087c98
* linux: use some more GDK_ cursor constants for panning cursorsevan@chromium.org2010-07-141-12/+12
| | | | | | | | These aren't the greatest, but I don't think there are better options. Review URL: http://codereview.chromium.org/2931011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52386 0039d316-1c4b-4281-b951-d872f2087c98
* Revert everything related to the relanding.erg@chromium.org2010-07-142-2/+0
| | | | | | Review URL: http://codereview.chromium.org/2982009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52367 0039d316-1c4b-4281-b951-d872f2087c98
* Take out temporary code now that WebKit plugin change is rolled.jam@chromium.org2010-07-144-39/+0
| | | | | | Review URL: http://codereview.chromium.org/2934018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52355 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r52336.erg@chromium.org2010-07-142-0/+2
| | | | | | | | | | | | | | (I accidentally committed a previous version of the patch (the fixed version was in codereview since I had switched to my mac to address this exact compile failure.) BUG=none TEST=none TBR=evan Review URL: http://codereview.chromium.org/2937010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52349 0039d316-1c4b-4281-b951-d872f2087c98
* Hookup pepper v2 zoom interface.jam@chromium.org2010-07-142-5/+22
| | | | | | Review URL: http://codereview.chromium.org/2900012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52347 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52336 - More header cleanup:erg@chromium.org2010-07-141-1/+0
| | | | | | | | | | | | | | | | - Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/2969006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52343 0039d316-1c4b-4281-b951-d872f2087c98
* More header cleanup:erg@chromium.org2010-07-141-0/+1
| | | | | | | | | | | | | - Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52336 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: provide network log details to the WebCore's InspectorController.pfeldman@chromium.org2010-07-143-0/+108
| | | | | | Review URL: http://codereview.chromium.org/2645006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52310 0039d316-1c4b-4281-b951-d872f2087c98
* Fix wording of "plug-in".bauerb@chromium.org2010-07-141-13/+13
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2946009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52306 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some uninitialize variables that caused the URLLoader test todarin@chromium.org2010-07-141-1/+3
| | | | | | | | | | | | | | sometimes crash. Re-enable the URLLoader test on all platforms. R=brettw BUG=48734 TEST=Covered by PPAPITester.URLLoader Review URL: http://codereview.chromium.org/2994004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52285 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pepper v2 find implementation.jam@chromium.org2010-07-132-15/+20
| | | | | | Review URL: http://codereview.chromium.org/2948009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52203 0039d316-1c4b-4281-b951-d872f2087c98
* add find hookupwjia@google.com2010-07-123-5/+67
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/2896009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52151 0039d316-1c4b-4281-b951-d872f2087c98
* Don't offer to translate pages if the page says so byjcivelli@google.com2010-07-122-0/+31
| | | | | | | | | | | using the magic Google meta-tag. BUG=48606 TEST=See bug. Review URL: http://codereview.chromium.org/2960001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52097 0039d316-1c4b-4281-b951-d872f2087c98
* Add focus-loss messages for Windows and Linux pluginsstuartmorgan@chromium.org2010-07-122-6/+2
| | | | | | | | | BUG=None TEST=Focus a windowless plugin, then click on another element on the page; the plugin should no longer have focus. Review URL: http://codereview.chromium.org/2924001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52082 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of removing WebPlugin::supportsFind.jam@chromium.org2010-07-107-14/+37
| | | | | | Review URL: http://codereview.chromium.org/2898005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52040 0039d316-1c4b-4281-b951-d872f2087c98