summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Switch over to the new way of enabling/disabling session/local storage. jorlow@chromium.org2009-11-052-3/+0
| | | | | | | | BUG=none TEST=|'localStorage' in window| should only be true iff --enable-local-storage is specified Review URL: http://codereview.chromium.org/335034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31082 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce WebAccessibilityControllerImpl.dglazkov@chromium.org2009-11-046-966/+347
| | | | | | | | | | | | Removes accessibility-related WebCore dependencies from glue. R=darin TEST=none BUG=24616 Review URL: http://codereview.chromium.org/348063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30986 0039d316-1c4b-4281-b951-d872f2087c98
* Implement FormStructure and an initial method, EncodeUploadRequest. This ↵jhawkins@chromium.org2009-11-044-3/+16
| | | | | | | | | | also adds SHA1HashString, a utility method to get the SHA-1 hash of an input string, with appropriate unit tests. BUG=18201 TEST=none Review URL: http://codereview.chromium.org/355003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30980 0039d316-1c4b-4281-b951-d872f2087c98
* Enable localization of default downloaded filename.tony@chromium.org2009-11-041-7/+3
| | | | | | | | | | | | | | | Instead of localizing "download" string in net_util.cc, make a caller, download_manger, provide a localized string. BUG=25289 TEST=NetUtilTest.GetSuggestedFilename,DownloadManagerTest.TestDownloadFilename Original patch by hayato@google.com at: http://codereview.chromium.org/343014/show Review URL: http://codereview.chromium.org/367003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30971 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix categories alignment.pfeldman@chromium.org2009-11-041-0/+4
| | | | | | | TBR: yurys git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30953 0039d316-1c4b-4281-b951-d872f2087c98
* First half of http://codereview.chromium.org/274014/showjorlow@chromium.org2009-11-042-24/+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
* Eliminate mime_util dependency in FrameLoaderClientImpl.darin@chromium.org2009-11-042-0/+9
| | | | | | | | | | | | | | This is a revision of http://codereview.chromium.org/344018 that adds an implementation of WebMimeRegistry for the worker process. We need this to support the dummy WebView created for workers. R=jam BUG=24604 TEST=covered by worker ui tests Review URL: http://codereview.chromium.org/342104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30941 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TestProfilerTab.mnaganov@chromium.org2009-11-031-4/+3
| | | | | | | | | | | TBR=pfeldman@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/348062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30842 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate WebViewImpl's dependency on WebDevToolsAgentImpl.darin@chromium.org2009-11-032-16/+19
| | | | | | | | | | | | | | | | | | This CL decouples the implementation of WebDevToolsAgent from the implementation of WebViewImpl. While this allows me to postpone the uplift of glue/devtools into webkit/api/src, I think it also has the advantage of simplifying dependencies. WebDevToolsAgentPrivate is introduced for the method calls made by the FrameLoaderClientImpl to the WebDevToolsAgentImpl. R=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/342092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30833 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a duplicate CSS rule from devtools.cssapavlov@chromium.org2009-11-031-5/+0
| | | | | | | | | | BUG=none TEST=none TBR=pfeldman Review URL: http://codereview.chromium.org/345041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30832 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: prepare for WebKit change 50460.mnaganov@chromium.org2009-11-036-26/+40
| | | | | | | | | | | TBR=pfeldman@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/355012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30829 0039d316-1c4b-4281-b951-d872f2087c98
* Add the plumbing and test code for plugins opening files from the sandbox. Thisbrettw@chromium.org2009-11-037-54/+68
| | | | | | | | | | | | | does not implement the actual opening of the files (currently the chain ends in resource_message_filter.cc), I will do that separately with some additional security review. This current patch just gets the synchronous request to the browser and returns a NULL result. TEST=none BUG=none Review URL: http://codereview.chromium.org/340050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30819 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix renderer crash when pause is pressed during page loadyurys@google.com2009-11-031-4/+1
| | | | | | | | | Create an empty object template for the utility context global object instead of using ShadowObjectTemplate. The shadow object overrides some of the window properties(top, location,...) that led to a failure when accessing these properties since the template was not configured correctly(all its internal fields were undefined). In fact, we don't need the utility context global object to be a shadow object as long as inspected window global object is proto of the utility context global object. BUG=26058 Review URL: http://codereview.chromium.org/342093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30810 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix script tests broken by WebKit change 50431yurys@google.com2009-11-031-38/+27
| | | | | | | TBR=mnaganov Review URL: http://codereview.chromium.org/351020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30807 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes to extract the code from V8Proxy that special-casesdarin@chromium.org2009-11-033-27/+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
* Do not touch a NPStream object when it is already destructed.yusukes@google.com2009-11-021-2/+1
| | | | | | | | | BUG=20651 TEST=Run "sh tools/valgrind/valgrind_webkit_tests.sh --debug LayoutTests/plugins/destroy-stream-twice.html" and verify that the "Invalid read of size 4" error at NPP_DestroyStream() is not reported in the log (vlayout-NNNNN.log). Review URL: http://codereview.chromium.org/354005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30769 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: change expected resource length to match its real size.yurys@google.com2009-11-021-1/+1
| | | | | | | | | TEST=DevToolsSanityTest.TestResourceContentLength TBR=pfeldman@chromium.org Review URL: http://codereview.chromium.org/346031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30730 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: report correct content length for resources.yurys@google.com2009-11-029-25/+67
| | | | | | | | | | | | Currently lengthReceived always has the same value as dataLength when Safari calls ResourceHandle::didReceiveData. In Chrome expected content length is passed as lengthReceived parameter which leads to incorrect content length to be stored in InspectorResource. InspectorResource expects lengthReceived to be the length of current data chunk(see InspectorResource::addLength). So I changed lengthReceived parameter to be dataLength. Darin, I see your TODO comment at line 581 in http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/weburlloader_impl.cc?annotate=6296 (the comment was deleted later) so I think you are right person to review the change in weburlloader_impl.cc. Please look at weburlloader_impl.cc and feel free to leave devtools specific changes to Alex and Pavel. BUG=25213 TEST=DevToolsSanityTest.TestResourceContentLength Review URL: http://codereview.chromium.org/295041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30725 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: support cross-navigation instrumentation.pfeldman@chromium.org2009-11-023-19/+88
| | | | | | Review URL: http://codereview.chromium.org/343075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30713 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Heap profiler: implement sorting.mnaganov@chromium.org2009-11-021-32/+200
| | | | | | | | | BUG=26319 TEST=none Review URL: http://codereview.chromium.org/342076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30712 0039d316-1c4b-4281-b951-d872f2087c98
* Expose a method to access amount of memory used by the current process.darin@chromium.org2009-11-022-0/+10
| | | | | | | | | | | 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
* Revert "Eliminate mime_util dependency from WebFrameLoaderClient."mhm@chromium.org2009-11-012-9/+0
| | | | | | | | This reverts commit f6429666a47eac17a18409d1743841bc44ed9a7a. Review URL: http://codereview.chromium.org/351001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30676 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate mime_util dependency from WebFrameLoaderClient.mhm@chromium.org2009-11-012-0/+9
| | | | | | | | | BUG=24604 TEST=None Review URL: http://codereview.chromium.org/344018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30675 0039d316-1c4b-4281-b951-d872f2087c98
* Store the form name, source URL and target URL in FormFieldValues. These ↵jhawkins@chromium.org2009-11-012-10/+34
| | | | | | | | | | are needed by AutoFill. BUG=none TEST=none Review URL: http://codereview.chromium.org/341042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30674 0039d316-1c4b-4281-b951-d872f2087c98
* To facilitate apatrick's work on the 3D renderer for Pepper,sehr@google.com2009-10-314-0/+167
| | | | | | | | | | I am splitting out the pepper-specific portions of npapi.h. This is because his code currently relies on a version of npapi.h different from third_party\npapi\bindings. Review URL: http://codereview.chromium.org/343069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30671 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add all scripts from afterCompile events when scripts panel is ↵yurys@google.com2009-10-312-5/+60
| | | | | | | | | | shown for the first timeBUG=26312 TEST=DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh Review URL: http://codereview.chromium.org/341057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30664 0039d316-1c4b-4281-b951-d872f2087c98
* Change notification cmd line enabling to use the new RuntimeEnabledFeatures ↵johnnyg@chromium.org2009-10-312-5/+1
| | | | | | | | | | | code. BUG=25318 TEST=none Review URL: http://codereview.chromium.org/339093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30660 0039d316-1c4b-4281-b951-d872f2087c98
* Blacklist the O3D plugin on the Macstuartmorgan@chromium.org2009-10-301-0/+2
| | | | | | | | | BUG=25068 TEST=Install O3D, open about:plugins; O3D should not be listed. Review URL: http://codereview.chromium.org/341058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30637 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TemporaryGlue::popupsAllowed by just having thedarin@chromium.org2009-10-302-12/+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
* Ensure that NPN_PluginThreadAsyncCall callbacks are not invoked after ↵apatrick@google.com2009-10-304-1/+130
| | | | | | | | | | | NPP_Destroy. TEST=none BUG=none Review URL: http://codereview.chromium.org/338050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30628 0039d316-1c4b-4281-b951-d872f2087c98
* Flesh out more of ChromiumBridge.cpp eliminating all but two methods ondarin@chromium.org2009-10-302-205/+68
| | | | | | | | | | | | | | 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
* Fix spurious errors when dragging Web Inspector elementsapavlov@chromium.org2009-10-301-6/+10
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/341052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30588 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix console and resources filters looks.pfeldman@chromium.org2009-10-301-0/+8
| | | | | | | | | BUG=26303 TBR=apavlov Review URL: http://codereview.chromium.org/341049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30574 0039d316-1c4b-4281-b951-d872f2087c98
* Move various runtime enabled features into a WebRuntimeFeatures class.darin@chromium.org2009-10-301-1/+4
| | | | | | | | | | | | There are separate functions to set/test each feature. R=jorlow BUG=25286 TEST=none Review URL: http://codereview.chromium.org/343001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30564 0039d316-1c4b-4281-b951-d872f2087c98
* Moves webview_impl.cc, webframe_impl.cc and webframeloaderclient_impl.cc intodarin@chromium.org2009-10-3025-6291/+95
| | | | | | | | | | | | webkit/api/src. R=yaar BUG=25896,25897,25902 TEST=none Review URL: http://codereview.chromium.org/341030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30558 0039d316-1c4b-4281-b951-d872f2087c98
* Add layoutTestController.counterValueForElementByIdhamaji@chromium.org2009-10-302-0/+20
| | | | | | | | | | | | | | Now we can test CSS counters with dumpAsText(). The corresponding upstream bug: https://bugs.webkit.org/show_bug.cgi?id=30555 BUG=none TEST=none Review URL: http://codereview.chromium.org/338056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30554 0039d316-1c4b-4281-b951-d872f2087c98
* Blacklist PDF Browser Plugin on Mac for now.stuartmorgan@chromium.org2009-10-291-7/+56
| | | | | | | | | | | Add more comprehensive whitelist/blacklist logic so that we can easily switch defaults. BUG=24918,26110 TEST=Install plugin, follow a link to a PDF; you should not get a page with nothing but a crash notification for the plugin. Review URL: http://codereview.chromium.org/342029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30535 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the element_ member of FormField, as we don't use it and shouldn't be ↵jhawkins@chromium.org2009-10-293-18/+5
| | | | | | | | | | using WebCore internals in glue anyway. BUG=none TEST=none Review URL: http://codereview.chromium.org/342032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30512 0039d316-1c4b-4281-b951-d872f2087c98
* First attempt at fixing a crash that occurs when we get into ↵japhet@chromium.org2009-10-291-2/+5
| | | | | | | | | | | | | | WebFrameLoaderClient::dispatchDidChangeLocationWithinPage() with an empty redirect chain. BUG=22205 TEST=none Review URL: http://codereview.chromium.org/326015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30496 0039d316-1c4b-4281-b951-d872f2087c98
* Move webworker{client}_impl.{h,cc} into webkit/api/srcyaar@chromium.org2009-10-296-1223/+2
| | | | | | Review URL: http://codereview.chromium.org/337057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30478 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: wire up timeline panel to Chrome!pfeldman@chromium.org2009-10-291-0/+3
| | | | | | Review URL: http://codereview.chromium.org/343039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30464 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Not all resources are displayed in Resources tabpfeldman@chromium.org2009-10-291-1/+1
| | | | | | | | BUG=26056 Review URL: http://codereview.chromium.org/342036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30458 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Implement raw cookies access for inspector.pfeldman@chromium.org2009-10-293-0/+89
| | | | | | Review URL: http://codereview.chromium.org/294025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30457 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Webkit merge broke DevToolsSanityTest.TestEnableResourcesTabpfeldman@chromium.org2009-10-291-1/+2
| | | | | | | | | BUG=26171 TBR=yurys Review URL: http://codereview.chromium.org/340035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30456 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback of 30408yaar@chromium.org2009-10-296-2/+1223
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30411 0039d316-1c4b-4281-b951-d872f2087c98
* Move webworker{client}_impl.{h,cc} into webkit/api/srcyaar@chromium.org2009-10-296-1223/+2
| | | | | | Review URL: http://codereview.chromium.org/337057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30408 0039d316-1c4b-4281-b951-d872f2087c98
* Make GetURLForDebugging return a const GURL.tony@chromium.org2009-10-286-9/+9
| | | | | | Review URL: http://codereview.chromium.org/326003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30388 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Remove base/ dependencies from glue/devtoolspfeldman@chromium.org2009-10-2815-203/+110
| | | | | | | | BUG=24622,24597 Review URL: http://codereview.chromium.org/330029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30330 0039d316-1c4b-4281-b951-d872f2087c98
* Spoof UA as Chrome 1.0 when loading URLs from *.pointroll.com.dglazkov@chromium.org2009-10-281-8/+26
| | | | | | | | | | BUG=25934 TEST=none R=darin Review URL: http://codereview.chromium.org/340016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30306 0039d316-1c4b-4281-b951-d872f2087c98
* This patch changes the call to enableResourceTracking on InspectorController ↵jamesr@chromium.org2009-10-281-1/+1
| | | | | | | | | | | | | to not trigger a page reload in the enabling of the APU agent. Patch by Jaime Yap (jaimeyap@google.com) TEST=none BUG=none Review URL: http://codereview.chromium.org/334022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30288 0039d316-1c4b-4281-b951-d872f2087c98