summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Add Print Selection support to Chrome. This change is fairly involved since ↵sverrir@google.com2009-06-191-1/+2
| | | | | | | | | | | | | | | | this means that the printing is done async instead of the fully synchronous mode the normal full page printing is. This means we create an in memory copy of the selected text for printing. This is the next step to move to fully async printing with print frame support. This change also removes the print on demand functionality that was no longer used. BUG=http://crbug.com/1682 TEST=The print dialog on Windows now contains an option to print selection only. Test that with various pages and various selections. Review URL: http://codereview.chromium.org/125082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18815 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline some Linux specific layout test differences from r18803.deanm@chromium.org2009-06-1912-6/+6
| | | | | | | | | | | | Skia's gradient drawing has changed a slight bit. None of the differences are noticable visually. These changes were specific to Linux and didn't happen on Windows since we use Skia gradients for drawing our form buttons on Linux. Inspected each difference manually, and they look ok. Review URL: http://codereview.chromium.org/131111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18811 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add fake callframe for live object expansion in console.pfeldman@chromium.org2009-06-191-1/+7
| | | | | | Review URL: http://codereview.chromium.org/132068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18810 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline Linux layout tests for the Skia roll in r18803.deanm@chromium.org2009-06-1952-26/+26
| | | | | | | Review URL: http://codereview.chromium.org/131110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18808 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove dock/undock buttonpfeldman@chromium.org2009-06-191-1/+5
| | | | | | | BUG=25 Review URL: http://codereview.chromium.org/131108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18807 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix crash when inspect element invoked on the root element.pfeldman@chromium.org2009-06-191-4/+4
| | | | | | Review URL: http://codereview.chromium.org/131106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18805 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia up to r224, for a few bug fixes.deanm@chromium.org2009-06-1982-41/+41
| | | | | | | | | | | | | | | Most importantly this fixes a spline drawing error and a possible Linux crash when failing to load a font. The rebaselines are mostly due to minor gradient changes (Skia changes r212 and r213). There was one layout test that was hitting the spline drawing bug, and the results now look correct (svg-as-background-5.html). BUG=13007,14536 Review URL: http://codereview.chromium.org/131105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18803 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add devtools.css to webkit.gyp. It should have been added as part ↵yurys@google.com2009-06-193-3/+4
| | | | | | | | of http://codereview.chromium.org/125116 Review URL: http://codereview.chromium.org/131103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18800 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: Fix parsing of duplicate function names.mnaganov@chromium.org2009-06-191-1/+5
| | | | | | | | | | | If there are several functions with the same name, their names are suffixed with "{<counter>}". I forgot about this, and it resulted in emitting wrong URLs for them. BUG=none TEST=none Review URL: http://codereview.chromium.org/132065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18799 0039d316-1c4b-4281-b951-d872f2087c98
* Test expectation update due to the WebKit merge 44805:44837.levin@chromium.org2009-06-191-2/+1
| | | | | | | | | | TBR=paul@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/132064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18797 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline tests due to the merge 44805:44837. levin@chromium.org2009-06-193-2/+6
| | | | | | | | | | | | The rebaseline is due to http://trac.webkit.org/changeset/44806 which did a vertical alignment change. TBR=paulg BUG=None TEST=None Review URL: http://codereview.chromium.org/132062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18796 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: when script has URL all breakpoints are set using that URL and ↵yurys@google.com2009-06-191-26/+65
| | | | | | | | | line number, otherwise breakpoint is set using script id and line number. Breakpoints set using URL will survive page reload. BUG=13675 Review URL: http://codereview.chromium.org/131036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18793 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline tests due to the merge 44805:44837.levin@chromium.org2009-06-1923-58/+249
| | | | | | | | | | | | | | | | The majority of these have to do http://trac.webkit.org/changeset/44806 which did a vertical alignment change. become-overlay-composited-layer is a new result due to a new test added by http://trac.webkit.org/changeset/44817. BUG=None TEST=None TBR=paulg Review URL: http://codereview.chromium.org/132061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18792 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 44805:44837levin@chromium.org2009-06-1957-380/+10
| | | | | | | | | | | | The deletions of results are due to conversions of test to be dumpAsText tests. TBR=paulg BUG=none TEST=none Review URL: http://codereview.chromium.org/132057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18787 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 18765 to try to repair perf regressionjar@chromium.org2009-06-193-23/+0
| | | | | | | TBR=mpcomplete Review URL: http://codereview.chromium.org/131093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18784 0039d316-1c4b-4281-b951-d872f2087c98
* Mark LayoutTests/media/unsupported-rtsp.html as CRASHhclam@chromium.org2009-06-181-0/+2
| | | | | | | | | | This test is really flaky, it is not passing as readily as you run it locally. Some investigation is needed. TBR=scherkus Review URL: http://codereview.chromium.org/131078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18770 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline some media layout testshclam@chromium.org2009-06-1820-331/+375
| | | | | | | | | | | | | | | | | | | | The following tests need to be rebaselined due to the change in media controls UI: LayoutTests/media/audio-controls-rendering.html LayoutTests/media/video-aspect-ratio.html LayoutTests/media/video-controls.html LayoutTests/media/video-controls-rendering.html LayoutTests/media/video-display-toggle.html LayoutTests/media/video-layer-crash.html LayoutTests/media/video-play-pause-events.html LayoutTests/media/video-src-change.html LayoutTests/media/video-transformed.html LayoutTests/media/video-zoom-controls.html LayoutTests/media/video-zoom.html Review URL: http://codereview.chromium.org/126300 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18769 0039d316-1c4b-4281-b951-d872f2087c98
* Send port-closed notification when a frame with ports unloads.mpcomplete@google.com2009-06-183-0/+23
| | | | | | | | | | | | | Also add onLoad and onUnload chrome Event to our bindings, so we can add listeners to these events without needing a DOM. These don't hook into the window "unload" event, so we no longer prevent Chrome's sudden termination of tabs on shutdown. BUG=12686 TEST=no Review URL: http://codereview.chromium.org/125280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18765 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a max worker count of 16 per tab and 64 total. Any workers ↵jam@chromium.org2009-06-181-1/+2
| | | | | | | | created after that are queued. Review URL: http://codereview.chromium.org/125242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18763 0039d316-1c4b-4281-b951-d872f2087c98
* Mark 5 <video> tests as passhclam@chromium.org2009-06-1831-6/+428
| | | | | | | | | | | | | | | | | TBR=scherkus, ajwong These 3 tests are now passing LayoutTests/media/video-error-does-not-exist.html LayoutTests/media/video-src-change.html LayoutTests/media/unsupported-rtsp.html These 2 tests just need rebaseline after several bug fixes: LayoutTests/fast/media/viewport-media-query.html LayoutTests/media/video-empty-source.html Review URL: http://codereview.chromium.org/131067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18760 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting r18743.avi@google.com2009-06-181-4/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18755 0039d316-1c4b-4281-b951-d872f2087c98
* Reject invalid URLs in SimpleDataSourcehclam@chromium.org2009-06-181-1/+18
| | | | | | | | | Report an error when an invalid url is received. Checks also the scheme against, ftp, http, https and file. Review URL: http://codereview.chromium.org/131061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18754 0039d316-1c4b-4281-b951-d872f2087c98
* Delete files from webkit/glue that have been made obsolete by correspondingdarin@chromium.org2009-06-1845-990/+440
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files in webkit/api. Here's the mapping: webkit/glue/webdatasource.h -> webkit/api/public/WebDataSource.h webkit/glue/weberror.h -> webkit/api/public/WebURLError.h webkit/glue/weburlrequest.h -> webkit/api/public/WebURLRequest.h webkit/glue/webresponse.h -> webkit/api/public/WebURLResponse.h I kept the implementation of WebDataSource in webkit/glue for now because it helps to have it close to WebFrameImpl and WebFrameLoaderClient. To facilitate this change, I needed to make use of WrappedResourceRequest and WrappedResourceResponse from webkit/api/src within the implementation files of webkit/glue. This is only a temporary usage of webkit/api/src from the outside. It will go away when WebFrame, etc. get moved into webkit/api. I modified these wrapper classes to expose the 'bind' function so that I can re-bind a wrapper. This is used in WebDataSourceImpl::request() and related methods to allow the interface to return a const reference to a WebURLRequest and WebURLResponse. The changes here are fairly mechanical. I'm not too happy about the way WebDataSource::redirectChain now works. I would prefer a solution that didn't involve so much copying, but I'm not going to worry about optimizing that now. R=brettw BUG=10041 TEST=none Review URL: http://codereview.chromium.org/126286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18747 0039d316-1c4b-4281-b951-d872f2087c98
* Add favicons to tabs on the Mac. Also moved SkBitmapToNSImage() toavi@google.com2009-06-181-1/+4
| | | | | | | | | | | | | | skia/ext/skia_utils_mac.h and removed chrome/browser/cocoa/cocoa_utils.h. Patch by rsesek. BUG=13565 Review URL: http://codereview.chromium.org/131018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18743 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Implement console.dir(live object) while on a breakpoint.pfeldman@chromium.org2009-06-181-4/+41
| | | | | | Review URL: http://codereview.chromium.org/131030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18702 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: the context should be disposed to releas scripts and other ↵yurys@google.com2009-06-182-0/+6
| | | | | | | | resources it may hold. Review URL: http://codereview.chromium.org/132012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18699 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 44773:44798levin@chromium.org2009-06-183-0/+4
| | | | | | | | | | | | | The one change is to add HTMLDataGridElement support due to change http://trac.webkit.org/changeset/44778 TBR=paul@chromium.org BUG=None TEST=The data grid element is new but it is still under development. Review URL: http://codereview.chromium.org/126310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18698 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing null handle check to document wrapper caching code.ager@chromium.org2009-06-181-0/+8
| | | | | | | | | | | If instantiation of the document wrapper fails (for instance in out of memory situations) we get a null handle which will lead to a crash when using ForceSet. BUG=14514 Review URL: http://codereview.chromium.org/133001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18697 0039d316-1c4b-4281-b951-d872f2087c98
* Don't call FileChooser::chooseFile("") if a user selects nothing with a file ↵tkent@chromium.org2009-06-181-3/+2
| | | | | | | | | | | | | | | | chooser dialog. chooseFiles() works well even for an empty vector. BUG=14162,14164 TEST=Open an image upload dialog of Gmail or Google Sites, Click the file upload button, Click the Cancel button in the file chooser dialog. Confirm that the dialog doesn't show "[failed]" message. Review URL: http://codereview.chromium.org/125175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18696 0039d316-1c4b-4281-b951-d872f2087c98
* Remove RenderThemeChromiumSkia.cpp explicitly from the mac build.ajwong@chromium.org2009-06-181-0/+4
| | | | | | | | This file does not build on a CoreGraphics platform, and isn't used by the mac build. The explicit exclusion is needed because the Skia suffix doesn't match any of the platform regex exclusions. Review URL: http://codereview.chromium.org/131024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18694 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing a bug in SimpleDataSourcehclam@chromium.org2009-06-171-0/+5
| | | | | | | | | SimpleDataSource might be stopped before StartTask is called, so handle this case. Review URL: http://codereview.chromium.org/125278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18668 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 44757:44773.levin@chromium.org2009-06-172-3/+11
| | | | | | | | | | | | | | The code change here is to compensate for http://trac.webkit.org/changeset/44758 which changed how to get to theme(). BUG=None TEST=Possible (but unlikely) whitespace changes in the autocomplete popup menu. Review URL: http://codereview.chromium.org/128003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18664 0039d316-1c4b-4281-b951-d872f2087c98
* Use media*.png for UI controls for <video> in test_shellhclam@chromium.org2009-06-171-0/+4
| | | | | | | | Loading media*.png for <video> and <audio> Review URL: http://codereview.chromium.org/125277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18662 0039d316-1c4b-4281-b951-d872f2087c98
* TEST=nonejorlow@chromium.org2009-06-176-1/+41
| | | | | | | | | | | | BUG=14006 A first pass at the DOM Storage V8 bindings. Android needs these ASAP and Chromium will need them soon. I've created my own test suite which I will be converting into layout tests over time and used this to manually test on a slightly hacked up version of Chromium running with --single-process. Before these changes are compiled into Chrome by default, I will add tests. I've taken the GYP and webview_impl out of this patch since we don't want it to be compiled in by default yet. Review URL: http://codereview.chromium.org/125035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18655 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel SimpleDataSource's request when stopped to prevent asserting.scherkus@chromium.org2009-06-172-22/+79
| | | | | | | | BUG=http://crbug.com/13907 TEST=some media layout tests might start passing Review URL: http://codereview.chromium.org/125229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18652 0039d316-1c4b-4281-b951-d872f2087c98
* Mark 3 <video> layout tests as passhclam@chromium.org2009-06-171-3/+0
| | | | | | | | | | | | | | TBR=scherkus BUG=13907 These three tests should now pass: LayoutTests/media/video-src-plus-source.html LayoutTests/media/video-src-invalid-remove.html LayoutTests/media/video-load-networkState.html Review URL: http://codereview.chromium.org/125263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18638 0039d316-1c4b-4281-b951-d872f2087c98
* Report load errors for <video> according to WebKit's hclam@chromium.org2009-06-171-7/+23
| | | | | | | | | | | | | BUG=13907 This patch resolve failures for: LayoutTests/media/video-src-plus-source.html LayoutTests/media/video-src-invalid-remove.html LayoutTests/media/video-load-networkState.html Review URL: http://codereview.chromium.org/125226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18632 0039d316-1c4b-4281-b951-d872f2087c98
* linux: merge some form-related bugs.evan@chromium.org2009-06-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18628 0039d316-1c4b-4281-b951-d872f2087c98
* Have test_shell depend on xdisplaycheck. The buildbots need this binary ↵tc@google.com2009-06-171-0/+1
| | | | | | | | | built before it tries to run test_shell_tests or the layout tests. Review URL: http://codereview.chromium.org/125228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18627 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add support for dumping objects into the console. (Take 2).pfeldman@chromium.org2009-06-1711-118/+198
| | | | | | | | BUG=13851 Review URL: http://codereview.chromium.org/126270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18617 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Migrate to new WebKit console API.pfeldman@chromium.org2009-06-172-65/+0
| | | | | | Review URL: http://codereview.chromium.org/125244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18610 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Do not crash on document-less HTMLFrameOwnerElement removal from ↵pfeldman@chromium.org2009-06-171-1/+5
| | | | | | | | | DOM while inspecting. BUG=13996 Review URL: http://codereview.chromium.org/126269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18609 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix crash on refresh.pfeldman@chromium.org2009-06-171-2/+3
| | | | | | | BUG=14221 Review URL: http://codereview.chromium.org/125246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18608 0039d316-1c4b-4281-b951-d872f2087c98
* linux: rebaseline some layout tests.evan@chromium.org2009-06-177-4/+3
| | | | | | | | Checked these manually. BUG=12563 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18580 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline two tests from the last 2 merges. These tests changed upstream.tc@google.com2009-06-169-42/+33
| | | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/125215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18542 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrect gtk cursors. se-resize and sw-resize are reversed.thestig@chromium.org2009-06-161-2/+2
| | | | | | | | BUG=14213 TEST=see bug report. Review URL: http://codereview.chromium.org/125212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18535 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for occasional crash in a Worker process caused by 'shadow page' trying ↵dimich@google.com2009-06-161-1/+1
| | | | | | | | | | to load font for layout. BUG=14194 TEST=none (hard to even repro) Review URL: http://codereview.chromium.org/125213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18531 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge from r44699 to r44726.tc@google.com2009-06-162-2/+7
| | | | | | | | | Compile fix for new files in r44726 and a test changed in r44712. Review URL: http://codereview.chromium.org/125207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18529 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing headers to gyp files.jam@chromium.org2009-06-161-0/+1
| | | | | | Review URL: http://codereview.chromium.org/125204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18526 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a test as failing on linux/debug.tc@google.com2009-06-161-0/+3
| | | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/126225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18524 0039d316-1c4b-4281-b951-d872f2087c98