summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* DevTools: follow up to r54722, remove unused classes.pfeldman@chromium.org2010-08-032-53/+0
| | | | | | Review URL: http://codereview.chromium.org/3037037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54724 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Get rid of DevTools RPC.pfeldman@chromium.org2010-08-032-5/+1
| | | | | | Review URL: http://codereview.chromium.org/3005044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54722 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Add a default constructor for FormData. There are too many placesjhawkins@chromium.org2010-08-031-0/+2
| | | | | | | | | | | | that create FormDatas, and we shouldn't need to initialize user_submitted for each call site. BUG=50423 TEST=none Review URL: http://codereview.chromium.org/3074023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54641 0039d316-1c4b-4281-b951-d872f2087c98
* Record received data in WebViewPlugin and replay it when loading the real ↵bauerb@chromium.org2010-08-022-8/+65
| | | | | | | | | | | plugin. BUG=49686 TEST=Block all plugins, directly open a page that is displayed by a plugin (an SWF file, or a PDF if the plugin works), and click on the placeholder. The plugin should load normally. Review URL: http://codereview.chromium.org/3038027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54523 0039d316-1c4b-4281-b951-d872f2087c98
* Move ASCIIToWide and ASCIIToUTF16 to utf_string_conversions.h. I've found itbrettw@chromium.org2010-07-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | weird that UTF8ToWide is in utf_string_conversions, but ASCIIToWide is in string_util.h. This should help some dependencies since string_util changes much more frequently than utf_string_conversions and fewer files will now need string_utils. Since this requires a lot of changes, this keeps a forward-declaration in string_util so I can update the entire project incrementally. This change updates base and net only. I removed some includes of string_util from header files in net. In particular, url_request_context which involved creating a new .cc file to implement a function (already virtual so there's no speed penalty). It turns out a lot of files were getting string_util from this include, so I had to update a bunch of random files to now explicitly include string_util.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3076013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54456 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more callers of the integer/string functions to usingbrettw@chromium.org2010-07-312-8/+10
| | | | | | | | | | string_number_conversions.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98
* Implement prefetching in chromegavinp@google.com2010-07-312-0/+3
| | | | | | | | | | | | | | | | | | With this CL (see also issue 2910009), chrome will support basic prefetching. You can optionally deactivate prefetching with the command line argument --disable-prefetch. A new RequestPriority was created as well, IDLE, which is lower than LOWEST. Unfortunately, SPDY has only two bits for priority, so as a temporary measure (pending SPDY v3 which will have three), we have a mapping in SPDY that folds net::LOWEST and net::IDLE together. BUG=13505 TEST=http://gemal.dk/browserspy/prefetch.php Review URL: http://codereview.chromium.org/3050016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54421 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some wstrings used in ui_test.cc.evan@chromium.org2010-07-302-6/+5
| | | | | | | | | This removes all switch-related wstring APIs from ui_test.cc, and fixes all the callers. Review URL: http://codereview.chromium.org/3066026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54392 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper2 audio (trusted side) implementation. Still missing a synchronization ↵neb@chromium.org2010-07-306-0/+358
| | | | | | | | | | | for the callback setting, will be done soon. BUG=none TEST=test plugin plays music Review URL: http://codereview.chromium.org/2962003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54383 0039d316-1c4b-4281-b951-d872f2087c98
* Move the number conversions from string_util to a new file.brettw@chromium.org2010-07-307-22/+31
| | | | | | | | | | | | | Use the base namespace in the new file. Update callers. I removed all wstring variants and also the string->number ones that ignore the return value. That encourages people to write code and forget about error handling. TEST=included unit tests BUG=none Review URL: http://codereview.chromium.org/3056029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54355 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Determine credit card type based on the CC number and display thejhawkins@chromium.org2010-07-301-1/+8
| | | | | | | | | | | appropriate CC icon. BUG=50080 TEST=none Review URL: http://codereview.chromium.org/3010041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54280 0039d316-1c4b-4281-b951-d872f2087c98
* linux: don't crash when movind the plugin if the container hasn't been realizedpiman@chromium.org2010-07-301-6/+10
| | | | | | | | | BUG=45890 TEST=repro case from bug, doesn't crash Review URL: http://codereview.chromium.org/3060030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54256 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Move the CC icons to webkit/glue/resources. This is a temporaryjhawkins@chromium.org2010-07-298-0/+7
| | | | | | | | | | | location until they're moved to chrome/common. BUG=50080 TEST=none Review URL: http://codereview.chromium.org/3034040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54219 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the new font API to WebKit. This moves the existing GetFontTable API tobrettw@chromium.org2010-07-296-54/+388
| | | | | | | | | | the private font interface. TEST=none BUG=none Review URL: http://codereview.chromium.org/3044029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54203 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move more test server code from net/url_request/url_request_unittest.hphajdan.jr@chromium.org2010-07-292-3/+5
| | | | | | | | | | | | | to net/test/test_server.h No code changes, just a move. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3034038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54201 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Temporarily remove a NOTREACHED until WK is fixed to not send injhawkins@chromium.org2010-07-291-1/+3
| | | | | | | | | | | empty strings. BUG=50674 TEST=none Review URL: http://codereview.chromium.org/3069012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54196 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 54173 - Hook up the new font API to WebKit. This moves the existing ↵brettw@chromium.org2010-07-296-388/+54
| | | | | | | | | | | | | | | GetFontTable API to the private font interface. TEST=none BUG=none Review URL: http://codereview.chromium.org/3044029 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3052024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54179 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the new font API to WebKit. This moves the existing GetFontTable API tobrettw@chromium.org2010-07-296-54/+388
| | | | | | | | | | the private font interface. TEST=none BUG=none Review URL: http://codereview.chromium.org/3044029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54173 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line switch to control accelerated 2d canvasjamesr@chromium.org2010-07-292-0/+5
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/2873074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54159 0039d316-1c4b-4281-b951-d872f2087c98
* Fix strange colors on scrollbars when using classic theme on XP. This is a ↵pkasting@chromium.org2010-07-281-0/+13
| | | | | | | | | port of the fix from pepper v1 to pepper v2. BUG=49819 TEST=Scrollbars on XP don't look bizarre git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54075 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Display a right-aligned generic CC icon in the suggestions popup forjhawkins@chromium.org2010-07-283-1/+6
| | | | | | | | | | | billing suggestions. BUG=50080 TEST=none Review URL: http://codereview.chromium.org/3071003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54052 0039d316-1c4b-4281-b951-d872f2087c98
* Enhance plugin logging a bit. This adds logging in a few more places, ↵brettw@chromium.org2010-07-285-29/+42
| | | | | | | | | | especially for Windows. This also changes the log level to ERROR so that when you opt in to plugin logging, you don't also have to set the log level to be INFO and put up with a low of log spew. TEST=none BUG=none Review URL: http://codereview.chromium.org/3013039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54008 0039d316-1c4b-4281-b951-d872f2087c98
* Add images used by webkit for the speech input button.satish@chromium.org2010-07-285-0/+6
| | | | | | | | | | | | | | | The try servers seem to not support testing these types of resource/image additions, hence all builds fail in try. However I have verified that this builds fine on my windows,mac and linux machines. Please advise if any of the changes in the GRD or webkitclient_impl.cc need to be inside #if ENABLE_INPUT_SPEECH. I did not add the ifdef since I didn't see any for other such features in both these files. BUG=none TEST=none yet as the feature is still being implemented and not enabled Review URL: http://codereview.chromium.org/3058019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53991 0039d316-1c4b-4281-b951-d872f2087c98
* base/ header cleanup. Forward declaration instead of including.erg@google.com2010-07-281-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3068004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53969 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug which caused DNS time not to be reported by LoadTimingObserver.tonyg@chromium.org2010-07-281-4/+4
| | | | | | | | | | | | | | | | | | | The problem was the LogBoundConnectJobToRequest() sets SOCKET_POOL_BOUND_TO_CONNECT_JOB after RemoveConnectJob() ends SOCKET_POOL_CONNECT_JOB. Since there is no chance to return to the event loop, it is safe (although fragile), to store the last connect job record and access that on SOCKET_POOL_BOUND_TO_CONNECT_JOB. Also, after fixing the DNS issue, it became apparent that what was being measured as connect time actually included more than just the TCP connect. So I fixed that as well. BUG=50229 TEST=LoadTimingObserverTest.* Review URL: http://codereview.chromium.org/3028026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53945 0039d316-1c4b-4281-b951-d872f2087c98
* Watch out for invalid delegate and container after destroying the WebViewPlugin.bauerb@chromium.org2010-07-281-2/+4
| | | | | | | | | BUG=49836 TEST=Enable FlashBlock, block all plugins and go to a site with a flash animation. No crashy! Review URL: http://codereview.chromium.org/3020031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53932 0039d316-1c4b-4281-b951-d872f2087c98
* Initial stream to file implementation.darin@chromium.org2010-07-283-9/+38
| | | | | | | | | | | | | This patch excludes one important detail. This code does not cleanup temp files yet. That will be added in a subsequent CL. R=brettw BUG=49789 TEST=third_party/ppapi/tests/test_url_loader.cc:TestStreamToFile Review URL: http://codereview.chromium.org/2806079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53923 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Add the generic CC icon to webkit/glue/resources.jhawkins@chromium.org2010-07-281-0/+0
| | | | | | | | | BUG=50080 TEST=none Review URL: http://codereview.chromium.org/3033033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53878 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Fix some NULL versus 0 issues to appease gcc-4.5.craig.schlenter@chromium.org2010-07-275-9/+9
| | | | | | | | | | | Patch is 99% the same as spotrh's version (thanks spot!) except for the use of gfx::kNullPluginWindow in this version. BUG=49533 Review URL: http://codereview.chromium.org/3014034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53788 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed raster print for Pepper v2 plugins on the Mac.sanjeevr@chromium.org2010-07-262-3/+4
| | | | | | | | | BUG=None TEST=Test raster and vector printing with the internal PDF plugin. Review URL: http://codereview.chromium.org/2809076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53684 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing bug where paused resource loading needs final repaintvrk@google.com2010-07-261-2/+8
| | | | | | | | | | | | | Adds logic in WebMediaPlayerImpl to trigger one last repaint before going idle when the media is fully loaded. BUG=49567 TEST=media_unittests TBR=hclam Review URL: http://codereview.chromium.org/3033027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53659 0039d316-1c4b-4281-b951-d872f2087c98
* Check that the ImageData resource handle is valid before giving the resultingbrettw@chromium.org2010-07-231-1/+4
| | | | | | | | | pointer to the specific widget code. BUG=49967 Review URL: http://codereview.chromium.org/2809071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53495 0039d316-1c4b-4281-b951-d872f2087c98
* 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