summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* AutoFill: Implement WebFormElementToFormData and use this to send form data tojhawkins@chromium.org2010-04-051-2/+3
| | | | | | | | | | | | the AutoFillManager. Don't check field labels for equality until we parse labels again. BUG=40297 TEST=FormManagerTest.WebFormElementToFormData Review URL: http://codereview.chromium.org/1609007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43657 0039d316-1c4b-4281-b951-d872f2087c98
* Update test shell for new dragImage api.estade@chromium.org2010-04-054-7/+18
| | | | | | | | | | | | | I don't think this actually caused the layout test failures, but it is worth tidying up anyway. patch mostly by Nico Weber BUG=none TEST=layout tests Review URL: http://codereview.chromium.org/1519018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43653 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DivX crash on the Macstuartmorgan@chromium.org2010-04-052-9/+10
| | | | | | | | | | | | | Protect all instances of NPP_HandleEvent from being sent before NPP_SetWindow return; this could happen if a plugin made a synchronous call from within NPP_SetWindow, and we thus ended up in a nested call. Unblacklist DivX 2.0 since it no longer crashes. BUG=25690 TEST=Visit DixX test sites (see bug); plugin should not crash (although video may not draw). Review URL: http://codereview.chromium.org/1622002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43650 0039d316-1c4b-4281-b951-d872f2087c98
* Add more wrapper functions to webkit_support to avoid dependency totkent@google.com2010-04-058-3/+297
| | | | | | | | | | | | | debug_util.h, message_loop.h, file_path.h, file_util.h, path_service.h. platform_support contains hook functions called before/after initialization/shutdown. TEST=none BUG=none Review URL: http://codereview.chromium.org/1331001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43604 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate WebCore include paths when compiling Chromium code.darin@chromium.org2010-04-0314-82/+20
| | | | | | | | | | | | | In the process of trying to do this, I discovered some unnecessary config.h includes as well as some remaining WebCore function calls. R=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/1521010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43574 0039d316-1c4b-4281-b951-d872f2087c98
* Re-submit r42290 - Remove the layout test platform-specific chromium baselinesdpranke@google.com2010-04-0325686-347701/+0
| | | | | | | | | | | | | | (everything under webkit/data/layout_tests/platform). They have all been upstreamed, and I believe I've fixed the remaining references outside of webkit (e.g. ui_tests) now as well to refer to upstream files. TBR=dglazkov BUG=none TEST=bots stay green git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43566 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Use the FormManager cache to send forms to the AutoFillManager.jhawkins@chromium.org2010-04-034-120/+2
| | | | | | | | | | | Remove the FormFieldValues class and replace its usage with FormData. BUG=38325,33032 TEST=none Review URL: http://codereview.chromium.org/1606005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43555 0039d316-1c4b-4281-b951-d872f2087c98
* Include the appcache and database tracker databases into the sql diagnostics ↵michaeln@chromium.org2010-04-025-7/+40
| | | | | | | | | | | | fold. TEST=manual BUG=none Review URL: http://codereview.chromium.org/1508016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43534 0039d316-1c4b-4281-b951-d872f2087c98
* Block plugin HandleURLRequest calls with invalid chars like @,;,\ before the ↵inferno@chromium.org2010-04-022-16/+33
| | | | | | | | | | | first / (or start of path) in URL. BUG=40016 TEST=None Review URL: http://codereview.chromium.org/1540011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43496 0039d316-1c4b-4281-b951-d872f2087c98
* editing/selection/extend-selection.html times out in debug mode.darin@chromium.org2010-04-021-0/+2
| | | | | | | | | | | | mark it as slow. TBR=arv BUG=39855 TEST=none Review URL: http://codereview.chromium.org/1518014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43490 0039d316-1c4b-4281-b951-d872f2087c98
* Don't navigate TestShell page to about:blank if it's devtools frontend ↵yurys@chromium.org2010-04-021-3/+7
| | | | | | | | because it is supposed to load only devtools frontend page and only once. Review URL: http://codereview.chromium.org/1600007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43471 0039d316-1c4b-4281-b951-d872f2087c98
* Override a few more expectations due to r43444.scherkus@chromium.org2010-04-021-0/+2
| | | | | | | | | | TBR=nsylvain BUG=19113 TEST=Windows layout tests should go green Review URL: http://codereview.chromium.org/1512014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43449 0039d316-1c4b-4281-b951-d872f2087c98
* Bilinear video scaling enabled (using Skia).scherkus@chromium.org2010-04-022-15/+25
| | | | | | | | | | | | | | | This has a performance impact on scaled video but looks considerably better. We still use our optimized path for unscaled video. Patch by sergeyu@chromium.org http://codereview.chromium.org/1081011/show BUG=19113 TEST=none Review URL: http://codereview.chromium.org/1535017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43444 0039d316-1c4b-4281-b951-d872f2087c98
* Don't forcibly set our network state to NETWORK_LOADING after media initializes.scherkus@chromium.org2010-04-021-3/+2
| | | | | | | | | | | We already set the network state to NETWORK_LOADING before we kick off initialization. Furthermore, we may end up caching the entire media resource and set our network state to NETWORK_IDLE in which case we really don't want to switch back to NETWORK_LOADING. BUG=25185 TEST=covered by layout tests Review URL: http://codereview.chromium.org/1518013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43441 0039d316-1c4b-4281-b951-d872f2087c98
* Adding disabled appcaches information along with capability of kkanetkar@chromium.org2010-04-022-27/+121
| | | | | | | | | | | removing appcaches with button clicks. BUG=38463 TEST=Run chrome, navigate to about:appcache-internals, add/view/remove appcaches. Review URL: http://codereview.chromium.org/1576009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43430 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 43381 - Add some safeguards in DatabaseTracker to prevent writing ↵michaeln@chromium.org2010-04-023-19/+70
| | | | | | | | | | | anything to disk for incognito. This time with more unit tests. TEST=manual and database_tracker_unittest.cc BUG=none Review URL: http://codereview.chromium.org/1572017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43417 0039d316-1c4b-4281-b951-d872f2087c98
* Block plugin HandleURLRequest calls with invalid chars like @,;,\ before the ↵inferno@chromium.org2010-04-011-0/+18
| | | | | | | | | | first / (or start of path) in URL. BUG=40016 TEST=None Review URL: http://codereview.chromium.org/1534010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43408 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the NOTIMPLEMENTED() in NPN_ForceRedraw with a commentstuartmorgan@chromium.org2010-04-011-14/+2
| | | | | | | | | | | Since we deliberately don't implement this, don't spam the console if plugins call it. BUG=none TEST=none Review URL: http://codereview.chromium.org/1518009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43400 0039d316-1c4b-4281-b951-d872f2087c98
* Consume Char events in Mac pluginsstuartmorgan@chromium.org2010-04-011-1/+6
| | | | | | | | | BUG=39546 TEST=Press space bar while a plugin has focus on a page that can scroll down. The page should not scroll. Review URL: http://codereview.chromium.org/1570008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43391 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43381 - Add some safeguards in DatabaseTracker to prevent writing ↵michaeln@google.com2010-04-013-38/+16
| | | | | | | | | | | | | | anything to disk for incognito. TEST=manual and database_tracker_unittest.cc BUG=none Review URL: http://codereview.chromium.org/1597003 TBR=michaeln@chromium.org Review URL: http://codereview.chromium.org/1581007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43390 0039d316-1c4b-4281-b951-d872f2087c98
* Add some safeguards in DatabaseTracker to prevent writing anything to disk ↵michaeln@chromium.org2010-04-013-16/+38
| | | | | | | | | | | for incognito. TEST=manual and database_tracker_unittest.cc BUG=none Review URL: http://codereview.chromium.org/1597003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43381 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43367 - Enabled pepper3d test on mac. It will be enabled on other ↵rohitrao@chromium.org2010-04-011-3/+0
| | | | | | | | | | | platforms as soon as they support OpenGL 2.0. Review URL: http://codereview.chromium.org/1565005 TBR=alokp@chromium.org Review URL: http://codereview.chromium.org/1547016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43373 0039d316-1c4b-4281-b951-d872f2087c98
* AppCache: If we can't read the existing data delete it and start over.michaeln@chromium.org2010-04-015-2/+76
| | | | | | | | | BUG=38360 TEST=some unit tests apply, but no new tests for this specifically Review URL: http://codereview.chromium.org/1562005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43371 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled pepper-3d test on mac. It will be enabled on other platforms as soon ↵alokp@chromium.org2010-04-011-0/+3
| | | | | | | | as they support OpenGL 2.0. Review URL: http://codereview.chromium.org/1565005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43367 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Store the form method on the FormData object. This is another ↵jhawkins@chromium.org2010-04-011-0/+2
| | | | | | | | | | | step in consolidating FormData and FormFieldValues. BUG=33032 TEST=none Review URL: http://codereview.chromium.org/1558012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43298 0039d316-1c4b-4281-b951-d872f2087c98
* Make .def and .rc plugin files Windows-only.mmoss@google.com2010-03-311-0/+9
| | | | | | Review URL: http://codereview.chromium.org/1585006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43232 0039d316-1c4b-4281-b951-d872f2087c98
* Remove run_webkit_tests dependency on third_party\python_24.victorw@chromium.org2010-03-313-8/+13
| | | | | | | | | | R=dpranke,jeffbailey@google.com BUG=none TEST=build bot green Review URL: http://codereview.chromium.org/1568004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43224 0039d316-1c4b-4281-b951-d872f2087c98
* Move plugin-related files in webkit/glue to webkit/glue/plugins to make thembrettw@chromium.org2010-03-3131-53/+53
| | | | | | | | | | | easier to find. With a random subset of files in webkit/glue, it's impossible to predict where you should find a file. No code change TEST=none BUG=none Review URL: http://codereview.chromium.org/1559008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43177 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up extension apps notification permission, take tworafaelw@chromium.org2010-03-312-0/+6
| | | | | | | | | | | | | | | This is the chromium side of a change which will wait to land on the webkit side landing. (https://bugs.webkit.org/show_bug.cgi?id=36625) It changes the NotificationPresenter to pass the sourceURL, rather than the SecurityOrigin in checking permission. The full URL is required to match the app extent. BUG=32361, 31024 TEST=NONE Review URL: http://codereview.chromium.org/1383001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43162 0039d316-1c4b-4281-b951-d872f2087c98
* Appcache Manifest Parsing Rule. If the manifest's <scheme> is secure, and ↵inferno@chromium.org2010-03-302-0/+34
| | | | | | | | | | the resulting absolute URL does not have the same origin as the manifest's URL, then don't process that url. BUG=31935 TEST=ManifestParserTest.DifferentOriginUrlWithSecureScheme Review URL: http://codereview.chromium.org/1521006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43148 0039d316-1c4b-4281-b951-d872f2087c98
* Extend the file browser/chooser to support more modes of operation, and plumbbrettw@chromium.org2010-03-303-4/+59
| | | | | | | | | | | | | it through to the pepper API. This pepper API just supports adding the filename to the "upload files" whitelist and returning it to the plugin, but it does not actually give any ability for a sandboxed plugin to read the file (this will come in a separate changelist). TEST=none BUG=none Review URL: http://codereview.chromium.org/1094004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43123 0039d316-1c4b-4281-b951-d872f2087c98
* Work around coordinate problems in page zoom for Mac pluginsstuartmorgan@chromium.org2010-03-304-4/+88
| | | | | | | | | | | This is a temporary fix until the underlying problem with coordinates in windowless plugins is fixed at the WebKit level, since it's a more serious problem on the Mac (due to all plugins being windowless). Using what we know about the plugin location on screen, we infer zoom levels from the coordinates and correct the coordinates (to within a pixel or two, which is the best we can do with the already-rounded values we are given). BUG=26466 TEST=Zoom a page with plugins on the Mac; mouse interaction should work correctly. Review URL: http://codereview.chromium.org/1594001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43106 0039d316-1c4b-4281-b951-d872f2087c98
* Minor C++ fixes found by Clang.evan@chromium.org2010-03-301-5/+4
| | | | | | | | | In cases where I've added an #include, it's generally due to Clang being more picky about templates being available during expansions. Review URL: http://codereview.chromium.org/1432003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43098 0039d316-1c4b-4281-b951-d872f2087c98
* Fix CoreGraphics and Core Animation drawing for QuickTime pluginstuartmorgan@chromium.org2010-03-302-15/+11
| | | | | | | | | | | Conditionalizes a SetWindow call that was added to fix a crash in QuickDraw mode, but isn't necessary (and causes QuickTime not to draw) in other drawing modes. BUG=38336,36896,35081 TEST=Play QuickTime movies on 10.6. The ones with floating controllers (36896) should draw again, and the other should not only work, but have smoother playback and use less CPU. The test case for bug 35081 should still not crash. Review URL: http://codereview.chromium.org/1569005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43078 0039d316-1c4b-4281-b951-d872f2087c98
* webkit/ ifdefs for BSD port; based on sprewell@jaggeri.com patchpvalchev@google.com2010-03-306-15/+15
| | | | | | Review URL: http://codereview.chromium.org/1483001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43053 0039d316-1c4b-4281-b951-d872f2087c98
* Added --enable-video-logging, which will log the presentation timestamp of ↵scherkus@chromium.org2010-03-303-14/+40
| | | | | | | | | | | | | video frames. In conjunction with a log parser we can detect dropped frames and our display jitter. BUG=none TEST=none Review URL: http://codereview.chromium.org/1398001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43038 0039d316-1c4b-4281-b951-d872f2087c98
* Properly disable plugins.viettrungluu@chromium.org2010-03-292-6/+9
| | | | | | | | | BUG=39737 TEST=about:plugins page should work properly on all platforms. E.g., with Flash installed, go to about:plugins and disable it. Then make sure Flash really doesn't run. Review URL: http://codereview.chromium.org/1570002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43014 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the BasicFindMainResponseInDatabase test as it crashes at times on ↵ananta@chromium.org2010-03-291-1/+2
| | | | | | | | | | | Webkit Linux. TBR=michaeln Bug=39731 Review URL: http://codereview.chromium.org/1572002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42998 0039d316-1c4b-4281-b951-d872f2087c98
* Move Mac plugin event conversion into helper classesstuartmorgan@chromium.org2010-03-296-345/+478
| | | | | | | | | | | | | | | Creates new helper classes for Carbon and Cocoa plugin event conversion, and abstracts away the difference via a common interface and a model-driven factory. The guts of the converters is just the old static methods, moved into the classes with a couple of minor changes: - Switched to using WebInputEvent::isMouseEventType/isKeyboardEventType, since our methods were essentially duplicates. - The newer key types, RawKeyDown and Char, are now explicitly unhandled, rather than logging warnings. BUG=none TEST=Plugin events (mouse, keyboard, scroll wheel) on the Mac should continue to work as before. Review URL: http://codereview.chromium.org/1566002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42993 0039d316-1c4b-4281-b951-d872f2087c98
* Adds callShouldCloseOnWebView to TestShell's LayoutTestController.creis@chromium.org2010-03-292-0/+8
| | | | | | | | | | | Useful for the onbefore-unload-focused-iframe.html layout test. BUG=39485 TEST=onbeforeunload-focused-iframe.html Review URL: http://codereview.chromium.org/1527003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42980 0039d316-1c4b-4281-b951-d872f2087c98
* Added DEPS file to fix checkdeps.alokp@chromium.org2010-03-291-0/+4
| | | | | | TBR: brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42954 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed pepper_test_plugin target to npapi_pepper_test_plugin. The automated ↵alokp@chromium.org2010-03-298-14/+95
| | | | | | | | tests copy built dll to plugins folder so they can be found and loaded. But chrome only loads dlls whose name matches np*.dll pattern. Hence the change. Review URL: http://codereview.chromium.org/1453001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42950 0039d316-1c4b-4281-b951-d872f2087c98
* Restructure the Mac plugin blacklist codestuartmorgan@chromium.org2010-03-291-41/+37
| | | | | | | | | | | | | Pulls out the generic structure for blacklisting plugins, since the list should be getting smaller and more specifically targeted from here on out. Switches DivX blacklist to allow the older 1.4 versions, which don't crash. Adds an explicit entry for VLC, which was only covered before by the DivX MIME type. BUG=25690,37072 TEST=DivX plugin 1.4 should load; other blacklisting should be unchanged. Review URL: http://codereview.chromium.org/1564001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42947 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Handle filling select controls.jhawkins@chromium.org2010-03-275-47/+58
| | | | | | | | | BUG=38222 TEST=none Review URL: http://codereview.chromium.org/1309003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42891 0039d316-1c4b-4281-b951-d872f2087c98
* A basic implementation of information about appcache. Lists manifest files, ↵kkanetkar@chromium.org2010-03-273-0/+223
| | | | | | | | | | | time and size information. BUG=38463 TEST=Run chrome, navigate to about:appcache-internals. Review URL: http://codereview.chromium.org/1109009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42888 0039d316-1c4b-4281-b951-d872f2087c98
* Added command buffer implementation of WebGL which runs in the sandbox.kbr@google.com2010-03-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | Added synchronous initialization of the channel to the GPU process, needed to obey WebGL startup semantics. There are problems with this on the Windows platform which will be addressed via refactoring in the GpuProcessHost in a subsequent CL. Implemented offscreen rendering code path in GGL / GLES2CmdDecoder for Mac OS X. This new code path is not yet complete for all platforms and is still being stress tested. The previous in-process WebGL implementation is currently used when the sandbox is disabled; it will be removed in a subsequent CL. A one-line code change in WebKit is needed after this CL lands to enable the new code path. BUG=29120 TEST=ran WebGL demos on command buffer implementation on Mac Review URL: http://codereview.chromium.org/1328001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42879 0039d316-1c4b-4281-b951-d872f2087c98
* Override SimpleWebMimeRegistryImpl::supportsMediaMIMEType() for test_shell.scherkus@chromium.org2010-03-265-11/+118
| | | | | | | | | | | Different versions of Chromium support different codecs, which results in all media layout tests failing since they are generated against ogg/vorbis/theora content. By overriding supportsMediaMIMEType() all media layout tests will use ogg/vorbis/theora test input. BUG=25886 TEST=test_shell on offical builder should start passing media layout tests Review URL: http://codereview.chromium.org/1356003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42837 0039d316-1c4b-4281-b951-d872f2087c98
* Add zooming notifications to Pepper. This allows the plugin to respond to ↵jam@chromium.org2010-03-261-0/+4
| | | | | | | | full page zooms without hardcoding the shortcuts for each platform/browser and allows the menus to work. Review URL: http://codereview.chromium.org/1320007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42799 0039d316-1c4b-4281-b951-d872f2087c98
* Add a faster path for QuickDraw plugin drawing for limited use.stuartmorgan@chromium.org2010-03-262-22/+248
| | | | | | | | | | | | | | | | | The current approcah for QuickDraw plugins--letting them draw into an actual window and then scraping the contents out--is more correct than our original approach, which was to give plugins a port pointing to a pixel buffer instead of the window. Unfortunately, it's also substantially slower to scrape a window than to copy pixel buffers. Most of the time, the old way is good enough for QuickTime, and gives us substantially better framerates. This change makes QuickTime use a hybrid approach, using the fast path when possible, and the slow path when necessary. The primary situations when we need the slow path are: - During event handling - When we need the controls re-painted The are a couple of edge-case event handling regressions, and the time slider seems to move more jerkily, but the improvent in framerate makes it a worthwhile tradeoff (e.g., a large trailer goes from ~25 fps to the full 50). BUG=37968 TEST=Play QuickTime movies; playback should be smoother, and there should be no serious regressions over previous versions. Review URL: http://codereview.chromium.org/1333005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42794 0039d316-1c4b-4281-b951-d872f2087c98
* Added a test for pepper3d. It ensures that we can successfully load a pepper ↵alokp@chromium.org2010-03-2623-155/+542
| | | | | | | | 3d plugin and render. Review URL: http://codereview.chromium.org/1073003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42793 0039d316-1c4b-4281-b951-d872f2087c98