summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert 83584 - Adding a way to run deferred tasks in WebKit unit-tests.jcivelli@chromium.org2011-04-291-4/+3
| | | | | | | | | | | | | | | | | The MockURLLoader does not work with sub-resources as their load is deferred. This CL makes it possible to run deferred tasks so that such sub-resources can be loaded in the unit-tests. BUG=None TEST=Make sure webkit unit-tests and DumpRenderTree still work. Review URL: http://codereview.chromium.org/6882064 TBR=kbr@chromium.org Review URL: http://codereview.chromium.org/6902176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83603 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a way to run deferred tasks in WebKit unit-tests.jcivelli@chromium.org2011-04-291-3/+4
| | | | | | | | | | | | | | The MockURLLoader does not work with sub-resources as their load is deferred. This CL makes it possible to run deferred tasks so that such sub-resources can be loaded in the unit-tests. BUG=None TEST=Make sure webkit unit-tests and DumpRenderTree still work. Review URL: http://codereview.chromium.org/6882064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83584 0039d316-1c4b-4281-b951-d872f2087c98
* Implement cryptographicallyRandomValues to let WebKit have someabarth@chromium.org2011-02-231-0/+2
| | | | | | | | cryptographically strong random values inside the sandbox. Review URL: http://codereview.chromium.org/6581007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75815 0039d316-1c4b-4281-b951-d872f2087c98
* Pump the WebCore Timer queue before running animation callbacksjamesr@chromium.org2011-02-161-1/+4
| | | | | | | | | | | | | This works around a bug in the Mac UI message pump (72007) that can lead to starvation of delayed tasks. To avoid starving WebCore timers indefinitely when using requestAnimationFrame, this patch explicitly pumps the WebCore Timer queue one each animate() call. BUG=71735 TEST=open the WebGL aquarium demo (http://webglsamples.googlecode.com/hg/aquarium/aquarium.html) and click on the * next to "Change View". The animation should always happen without multi-second delays. Review URL: http://codereview.chromium.org/6524030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75078 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-171-1/+1
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71586 0039d316-1c4b-4281-b951-d872f2087c98
* Add implementation of WebThemeEngine for the Mac (declared bymihaip@chromium.org2010-12-291-1/+3
| | | | | | | | | | | http://webkit.org/b/51507). This allows scrollbar thumb rendering to be overridden, so that we can match the Mac port's when running under the DRT. BUG=23498 TEST=Layout tests Review URL: http://codereview.chromium.org/6041005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70278 0039d316-1c4b-4281-b951-d872f2087c98
* (Committing on behalf of Chris Rogers -- original CL ↵kbr@google.com2010-12-161-0/+3
| | | | | | | | | | | | | | | http://codereview.chromium.org/5550006/ ) Implement WebKitClientImpl::loadAudioResource() to decode in-memory audio file data for use by WebKit. Most of the interesting low-level code is being added in the media directory. BUG=NONE TEST=NONE (tested locally with web audio API loading files of format .wav .aif .mp3 .m4a 16bit 24bit In the longer term, WebKit layout tests will comprehensively exercise this code) Review URL: http://codereview.chromium.org/5880002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69458 0039d316-1c4b-4281-b951-d872f2087c98
* histogram API of WebKitClient implemented in chromium/webkit/gluescheib@chromium.org2010-12-021-0/+4
| | | | | | | | | BUG=62865 TEST=none Review URL: http://codereview.chromium.org/5406004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67920 0039d316-1c4b-4281-b951-d872f2087c98
* Add form validation message strings.tkent@chromium.org2010-11-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | * webkit/glue/ - Add overloads of queryLocalizedString() functions They will be added to WebKit::WebKitClient later. - Add implementations for WebLocalizedString::Validation* - Add message strings The English strings are different from WebKit's to avoid the brusque WebKit's strings. Port some messages from Mozilla. * webkit/tools/test_shell/ and webkit/support/ Hook queryLocalizedString() functions in order to return messages same as WebKit in layout test. BUG=28264 TEST=LayoutTests/fast/forms/validationMessage.html Review URL: http://codereview.chromium.org/4678006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67382 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed include in test_webkit_clientdavemoore@chromium.org2010-10-101-1/+4
| | | | | | | | | | | | | 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-091-4/+1
| | | | | | | | | | | | | | 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-091-1/+4
| | | | | | | | | | | 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
* Implement on Chromium side recently added actualMemoryUsageMB.antonm@chromium.org2010-09-081-0/+1
| | | | | | | | | This new method is needed in the cases when stale values from caches are not acceptable, for example, when estimating an effect of GC on working set of the app. Review URL: http://codereview.chromium.org/3294010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58808 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58153 - Introduce a flag to bypass the cache when retrieving current ↵chase@chromium.org2010-09-011-1/+1
| | | | | | | | | | | | | memory usage. We need the most fresh value when giving an estimate to current working set, for example, after major GC in V8 happened. Review URL: http://codereview.chromium.org/3285003 TBR=antonm@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58206 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a flag to bypass the cache when retrieving current memory usage.antonm@chromium.org2010-09-011-1/+1
| | | | | | | | | We need the most fresh value when giving an estimate to current working set, for example, after major GC in V8 happened. Review URL: http://codereview.chromium.org/3285003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58153 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Move code from headers into cc files.erg@google.com2010-08-271-1/+1
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3219002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57732 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up the last bits of the dirfd parameter that was used bydumi@chromium.org2010-05-141-7/+0
| | | | | | | | | | | | SQLiteFileSystemChromiumPosix. TEST=none BUG=none Review URL: http://codereview.chromium.org/2087003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47234 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the dirfd parameter from all Chromium code. The POSIX VFSdumi@chromium.org2010-05-121-0/+6
| | | | | | | | | | | doesn't need it. BUG=43489 TEST=none Review URL: http://codereview.chromium.org/2055009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47006 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chromium side implementation for WebFileSystem interface in WebKit.jianli@chromium.org2010-05-061-14/+0
| | | | | | | | | BUG=none TEST=non Review URL: http://codereview.chromium.org/1748015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46625 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to non-deprecated WebKit APIs and delete client methods that are nodarin@chromium.org2010-05-051-1/+0
| | | | | | | | | | | | longer called by WebKit. R=jhawkins BUG=none TEST=none Review URL: http://codereview.chromium.org/1995002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46508 0039d316-1c4b-4281-b951-d872f2087c98
* Add a context parameter to callOnMainThread. The old form is going to bedarin@chromium.org2010-04-281-0/+1
| | | | | | | | | | | | deprecated. R=dimich BUG=42751 TEST=none Review URL: http://codereview.chromium.org/1794005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45845 0039d316-1c4b-4281-b951-d872f2087c98
* Indicate in the tab UI if appcache creation was blocked by privacy settings.jochen@chromium.org2010-04-091-2/+0
| | | | | | | | | TEST=manual BUG=38362 Review URL: http://codereview.chromium.org/1600002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44079 0039d316-1c4b-4281-b951-d872f2087c98
* Support sending a sliced file in chromium.jianli@chromium.org2010-03-241-1/+2
| | | | | | | | | BUG=none TEST=The WebKit Layout test. Review URL: http://codereview.chromium.org/594036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42559 0039d316-1c4b-4281-b951-d872f2087c98
* Initial change for DumpRrenderTree support librarytkent@google.com2010-03-041-0/+1
| | | | | | | | | | | | | | | | | | | This library provides: - An implementation of WebKitClient, - An implementation of WebPlugin, - An implementation of WebMediaPalyer, - Initialization and termination functions, - Two function for database, and - Some functions required by webkit_glue. webkit_support.gyp is not referred by build/all.gyp. A gyp for DRT/chromium in WebKit tree will refer to it. BUG=none TEST=none. This is a part of test code. Review URL: http://codereview.chromium.org/652226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40610 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused methods.darin@chromium.org2010-02-261-5/+0
| | | | | | | | | | R=jorlow BUG=none TEST=none Review URL: http://codereview.chromium.org/660166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40103 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid unnecessary restarts of the webkit shared timer, and when restarting, usedarin@chromium.org2010-02-231-0/+1
| | | | | | | | | | | | | | | the given fire time instead of the current time. This is an attempt to isolate and fix the mac / linux intl2 page cycler regression. TBR=jam BUG=36310 TEST=none Review URL: http://codereview.chromium.org/654001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39701 0039d316-1c4b-4281-b951-d872f2087c98
* Modal loops of joy.darin@chromium.org2010-02-181-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | We need to pump messages in the renderer and in any related plugin processes when sending sync IPCs to get cookies and set localstorage items because these IPCs can block on a user prompt. This code moves complexity into RenderThread::Send(). That function is now responsible for calling WebView::{willEnter,didExit}ModalLoop() and for broadcasting the messages to signal/reset modal dialog events in the related plugin processes. This change also adds code to optionally suspend the shared webkit timer. This was needed to fix bug 36063. It also helps make spinning a nested loop to wait for document.cookie results a bit less risky since we'll be re-entering WebKit in fewer cases. R=jam BUG=34917,36063 TEST=none Review URL: http://codereview.chromium.org/607011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39327 0039d316-1c4b-4281-b951-d872f2087c98
* Rename policy_url to first_party_for_cookies in cookie-related code.wtc@chromium.org2009-11-181-1/+1
| | | | | | | | | R=abarth BUG=25133 TEST=none. A cosmetic change. Review URL: http://codereview.chromium.org/403011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32373 0039d316-1c4b-4281-b951-d872f2087c98
* Cleans up a bit the DB-related methods.dumi@chromium.org2009-11-131-5/+7
| | | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/394006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31891 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-121-1/+1
| | | | | | | | | | | | This mega patch contains a few simple but tightly dependent changes: 1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org. 2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion. 3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp. 4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch. Review URL: http://codereview.chromium.org/387020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31749 0039d316-1c4b-4281-b951-d872f2087c98
* First half of http://codereview.chromium.org/274014/showjorlow@chromium.org2009-11-041-6/+0
| | | | | | | | | | | | This fixes storage events in single process mode, fixes a bug due to the glue/webkitclient_impl not being updated when I introduced quota support, introduces a params struct for storage events, and is general cleanup. Submitting this first since the change to add the url param made things bigger than I liked. TBR=darin TEST=none BUG=25427 Review URL: http://codereview.chromium.org/348071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30945 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes to extract the code from V8Proxy that special-casesdarin@chromium.org2009-11-031-5/+0
| | | | | | | | | | | | | | | | | | | | | when scripts are allowed despite user preferences disabling them. Adds more accessors and comments to WebSecurityOrigin. Removes no longer necessary webkit_glue functions. Removes no longer necessary TemporaryGlue.h file. R=abarth BUG=none TEST=browser features like the new tab page and history view should still work when passing --disable-javascript to chrome. similarly, file and ftp directory listings should remain functional when that command line flag is specified. Review URL: http://codereview.chromium.org/351013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30797 0039d316-1c4b-4281-b951-d872f2087c98
* Expose a method to access amount of memory used by the current process.darin@chromium.org2009-11-021-0/+1
| | | | | | | | | | | Patch by Anton Muhin R=darin BUG=none TEST=none Review URL: http://codereview.chromium.org/345040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30711 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TemporaryGlue::popupsAllowed by just having thedarin@chromium.org2009-10-301-1/+0
| | | | | | | | | | | | | | | | corresponding ChromiumBridge method return false. It turns out that NPP is always null in Chrome (due to out-of-process plugins), and as a result, we were always returning false anyways. R=jam BUG=none TEST=none Review URL: http://codereview.chromium.org/346026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30632 0039d316-1c4b-4281-b951-d872f2087c98
* Flesh out more of ChromiumBridge.cpp eliminating all but two methods ondarin@chromium.org2009-10-301-50/+33
| | | | | | | | | | | | | | TemporaryGlue. Adds WebKitClient::userAgent() function to avoid a webkit_glue dependency. R=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/350003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30609 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Implement raw cookies access for inspector.pfeldman@chromium.org2009-10-291-0/+5
| | | | | | Review URL: http://codereview.chromium.org/294025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30457 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for the <keygen> tag for client certificate enrollmentwtc@chromium.org2009-10-231-0/+4
| | | | | | | | | | | | | | | | under Linux. Currently, no notifications are given to the user that the certificate was successfully enrolled. Patch by Gaurav Shah <gauravsh@chromium.org> of Google. Original review URL: http://codereview.chromium.org/261035 BUG=148 TEST=Can test on the following sites: http://foaf.me/simple_KEYGEN_CreateClientCertificate.php http://www.myopenid.com Review URL: http://codereview.chromium.org/271112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29900 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WebSocket in test_shellukai@chromium.org2009-10-211-0/+1
| | | | | | | | | BUG=12497,24756 TEST=LayoutTests/fast/websockets success Review URL: http://codereview.chromium.org/243108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29626 0039d316-1c4b-4281-b951-d872f2087c98
* Another stab at the Chromium side of storage events. Re-submission of ↵jorlow@chromium.org2009-10-031-0/+3
| | | | | | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=27756 with slight changes in dom_storage_dispatch er_host.cc TBR=darin TEST=Manually inspected that storage events fired. Will turn on more layout tests in a subsequent patch. BUG=19972 Original review URL: http://codereview.chromium.org/223013 Review URL: http://codereview.chromium.org/258010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27943 0039d316-1c4b-4281-b951-d872f2087c98
* Add quota support.jorlow@chromium.org2009-10-031-2/+7
| | | | | | | | | | | Add a 5mb quota to DOM Storage. Most of the details are in an upstream patch (https://bugs.webkit.org/show_bug.cgi?id=29991 ). BUG=16876 TEST=I added a layout test upstream and it works. Review URL: http://codereview.chromium.org/255050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27942 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 27756.jorlow@chromium.org2009-10-011-3/+0
| | | | | | Review URL: http://codereview.chromium.org/249058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27759 0039d316-1c4b-4281-b951-d872f2087c98
* Another stab at the Chromium side of storage events. The WebKit side can be ↵jorlow@chromium.org2009-10-011-0/+3
| | | | | | | | | | | found here: https://bugs.webkit.org/show_bug.cgi?id=29655 TEST=Manually inspected that storage events fired. Will turn on more layout tests in a subsequent patch. BUG=19972 Review URL: http://codereview.chromium.org/223013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27756 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side implementations of some FileSystem methods. This is needed to ↵jianli@chromium.org2009-09-281-0/+3
| | | | | | | | | | | complete the WebKit bug fix https://bugs.webkit.org/show_bug.cgi?id=29109. BUG=none TEST=none Review URL: http://codereview.chromium.org/209072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27420 0039d316-1c4b-4281-b951-d872f2087c98
* Modify our webkit code to make sure it does not call intonsylvain@chromium.org2009-09-111-0/+18
| | | | | | | | | | | glue directly. Everything now goes through webkitclient. This is the first step to be able to split webkit in its own dll. Review URL: http://codereview.chromium.org/196051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25967 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side patch for DB support on Linux.dumi@chromium.org2009-08-281-2/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/174232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24807 0039d316-1c4b-4281-b951-d872f2087c98
* Appcache related WebKit API additions. With this patch the compile-time flag ↵michaeln@google.com2009-08-121-0/+3
| | | | | | | | | | | | | | | | | | | | | is enabled, but the run-time flag is disabled. 1) Added a new class WebApplicationCacheHost and a factory method on WebKitClient. 2) Provide an implementation of WebCore's ApplicationCachHost class that calls out to chrome thru the new WebKit API. 3) Added new files to gyp and turned on the compile-time ENABLE(OFFLINE_WEB_APPLICATIONS) flag. 4) Turned on the compile-time flag for v8 bindings in build-generated-files.sh 4) Disabled the run-time appliation_cache_enabled settings in the test shell for now. BUG=none TEST=none Review URL: http://codereview.chromium.org/165222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23217 0039d316-1c4b-4281-b951-d872f2087c98
* This CL is doing a bunch of Misc work to make LocalStorage data persist.jorlow@chromium.org2009-08-051-1/+12
| | | | | | | | | | | | | | | | | | | First of all, this allows WebKit clients to specify whether or not the VFS should be used. In the browser process, we never want it to be. Next, this allows WebKit clients to specify the behavior of WebKit's FileSystem code. By default, they should all be NOT_REACHED(). The browser process implements the two of these I need for LocalStorage, but it'll be really easy for the rest to be implemented as needed. Next, this adds a function that storage routines can call to ensure that lazily initialized stuff that must be initialized on the main WebKit thread is initialized. Right now, this is just used to initialize the UTF8 conversion tables, but I'm sure there'll be more overt time. Lastly, this uses the profile directory stored by webkit_context_ to derive the path LocalStorage should use. This CL also cleans up a few minor style issues as it goes. TEST=none BUG=4360 Review URL: http://codereview.chromium.org/159778 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22452 0039d316-1c4b-4281-b951-d872f2087c98
* Adding HTML5 DB support to Chromium: Chromium changesdumi@chromium.org2009-07-271-0/+7
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/74001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21736 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce WebLocalizedString and queryLocalizedString methodsdarin@chromium.org2009-07-171-0/+4
| | | | | | | | | | | | | on WebKitClient. This allows glue/localized_strings.cc to move into the WebKit API implementation. BUG=16933 TEST=none R=dglazkov Review URL: http://codereview.chromium.org/149760 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20938 0039d316-1c4b-4281-b951-d872f2087c98
* Start using WebURLLoader, et. al. from the WebKit API.darin@chromium.org2009-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Moves our ResourceHandle to webkit/api/src/ResourceHandle.cpp from webkit/glue/resource_handle_impl.cc. A portion of resource_handle_impl.cc was moved into weburlloader_impl.{h,cc}, which now contains our implementation of WebURLLoader. The annoying parts of this CL involve WebPluginImpl. I had to convert it over to using WebURLLoader instead of ResourceHandle so that MultipartResourceDelegate can be shared. There is some complexity in WebURLRequest / WebURLResponse to make it cheap to wrap a ResourceRequest / ResourceResponse. I think this is worth it since there is a lot of conversion between the two types. Originally reviewed here: http://codereview.chromium.org/113928 BUG=10038 TEST=covered by existing tests R=dglazkov Review URL: http://codereview.chromium.org/118438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17962 0039d316-1c4b-4281-b951-d872f2087c98