summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Match Windows font metrics on Linux.agl@chromium.org2008-11-195-18/+98
| | | | | | | | | | | | | | | | | With this change, many layout tests involving text match render trees exactly. By turning off anti-aliasing we also almost match pixel exact. There are a couple of single-pixel differences between Win32 font rendering and FreeType however (see the bottom left pixel of an 'a' glyph for example), so we aren't quite pixel-for-pixel yet. Mike Reed expects to redo much of the font configuration code in Skia to cope with complex text and subpixel text so, for now, I'm not going to have anti-aliasing be a command line flag etc. Review URL: http://codereview.chromium.org/11284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5704 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the text on the toolbar.evanm@google.com2008-11-191-0/+2
| | | | | | | Review URL: http://codereview.chromium.org/11477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5703 0039d316-1c4b-4281-b951-d872f2087c98
* Fallback to Windows expected results for Linux layout testsagl@chromium.org2008-11-194-0/+23
| | | | | | | | | | Otherwise we fall back to Mac results, which aren't what we are going to be aiming for. Review URL: http://codereview.chromium.org/11254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5702 0039d316-1c4b-4281-b951-d872f2087c98
* fix unitteststc@google.com2008-11-192-4/+5
| | | | | | | | | We need to trim whitespace off the URL and handle the tricky html case by using rfind. Review URL: http://codereview.chromium.org/11465 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5701 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce httponly on cookies coming from the renderer. This prevents ↵deanm@chromium.org2008-11-195-37/+134
| | | | | | | | | javascript from setting a new httponly cookie, and more importantly from overwriting httponly cookies. Patch from Marius Schilder. Review URL: http://codereview.chromium.org/11275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5700 0039d316-1c4b-4281-b951-d872f2087c98
* Only have one constant for timeout time.erg@google.com2008-11-195-9/+10
| | | | | | | Review URL: http://codereview.chromium.org/11257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5698 0039d316-1c4b-4281-b951-d872f2087c98
* More Linux build fixes.agl@chromium.org2008-11-192-9/+44
| | | | | | | | | | Add the bitmap platform device file to the scons and revert a reversion introduced in the move. Review URL: http://codereview.chromium.org/11484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5697 0039d316-1c4b-4281-b951-d872f2087c98
* Remove platformCanvas_unittest from Liunx build since it doesn't compile ↵brettw@google.com2008-11-191-1/+3
| | | | | | | | properly. Review URL: http://codereview.chromium.org/11283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5695 0039d316-1c4b-4281-b951-d872f2087c98
* Mac changes for r5690mark@chromium.org2008-11-191-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5694 0039d316-1c4b-4281-b951-d872f2087c98
* Mac changes for r5690mark@chromium.org2008-11-194-26/+52
| | | | | | Review URL: http://codereview.chromium.org/11483 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5693 0039d316-1c4b-4281-b951-d872f2087c98
* Minor Linux build fixupsagl@chromium.org2008-11-193-4/+4
| | | | | | | | | TBR=brett Review URL: http://codereview.chromium.org/11281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5692 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo for Linux build.brettw@google.com2008-11-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/11482 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5691 0039d316-1c4b-4281-b951-d872f2087c98
* Move PlatformCanvas and PlatformDevice from base/gfx to webkit/port. I left ↵brettw@google.com2008-11-1951-3046/+3242
| | | | | | | | | | header files in the original locations that include the ones in the new location so I don't have to change all the includes in Chrome at once. These will be removed later. I kept the names, indenting, and the namespaces the same for now. I will also be cleaning this up in separate passes. Review URL: http://codereview.chromium.org/11244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5690 0039d316-1c4b-4281-b951-d872f2087c98
* Normalise layout test line endings to use UNIX style.agl@chromium.org2008-11-191-1/+1
| | | | | | | | | | | | | On Linux, the diffs against the Windows baselines fail if the baseline has \r\n line endings. The output from the test shell already appears to be normalised to \n endings, so it's not clear to me how Windows diff works in this case unless the Windows tools are automatically detecting and fixing the line endings. Review URL: http://codereview.chromium.org/11280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5689 0039d316-1c4b-4281-b951-d872f2087c98
* delete more unused codepinkerton@google.com2008-11-191-624/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5688 0039d316-1c4b-4281-b951-d872f2087c98
* Checkin of unmodified version of Mach IPC utility class.jeremy@chromium.org2008-11-192-0/+544
| | | | | | | | | This is the same version of the class present in the Gears tree, modifications are only the file & header guard names and the license. Review URL: http://codereview.chromium.org/11278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5687 0039d316-1c4b-4281-b951-d872f2087c98
* Submitting for developer0420@gmail.comjoshia@google.com2008-11-192-7/+53
| | | | | | | | | | | | | | | | | | | | | The LPITEMIDLIST returned from SHBrowseForFolder might not get released if SHGetPathFromIDList fails Added in the comment changes Added GetDisplayNameOf for getting selection, using old way if STRRET Structure type does not equal STRRET_WSTR as I was unable to get complete code coverage. Added BrowseCallbackProc and listen to MSG so that we can highlight existing value Added in the comment changes ( changed to smart pointer for managing COM interface pointers.) Review URL: http://codereview.chromium.org/11481 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5686 0039d316-1c4b-4281-b951-d872f2087c98
* Update expected results for LayoutTests/plugins/plugin-javascript-access.htmldarin@chromium.org2008-11-192-1/+19
| | | | | | | | | | The test was apparently expanded to test more features. Sadly we have to fork the expected results here to account for a difference in the plugin's filename. R=pamg Review URL: http://codereview.chromium.org/11266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5685 0039d316-1c4b-4281-b951-d872f2087c98
* Re-baseline hindi-spacing, using correct font settings this time.pamg@google.com2008-11-192-1/+1
| | | | | | | | | | TBR=ojan BUG=4391 TEST=covered by layout tests Review URL: http://codereview.chromium.org/11480 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5684 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup TemporaryLinkStubs.cpp.darin@chromium.org2008-11-191-35/+39
| | | | | | | | R=ojan Review URL: http://codereview.chromium.org/11267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5683 0039d316-1c4b-4281-b951-d872f2087c98
* Remove nonexistent pending/ tests from tests_fixable, and leftover resultspamg@google.com2008-11-1950-841/+424
| | | | | | | | | | | | | from pending/ and chromium-win/pending/. Re-baseline tests that moved from pending/ to LayoutTests/. BUG=4391 TEST=covered by layout tests Review URL: http://codereview.chromium.org/11241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5682 0039d316-1c4b-4281-b951-d872f2087c98
* remove unused filepinkerton@google.com2008-11-191-264/+0
| | | | | | Review URL: http://codereview.chromium.org/11476 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5681 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac build.evanm@google.com2008-11-191-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5680 0039d316-1c4b-4281-b951-d872f2087c98
* Move more code to using FilePath.evanm@google.com2008-11-197-38/+42
| | | | | | | Review URL: http://codereview.chromium.org/11252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5679 0039d316-1c4b-4281-b951-d872f2087c98
* add chromium-mac expectations, they were missing previously.pinkerton@google.com2008-11-1921-0/+697
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5678 0039d316-1c4b-4281-b951-d872f2087c98
* More tweaks to fixable tests to get expected failures to zarro.pinkerton@google.com2008-11-191-27/+8
| | | | | | Review URL: http://codereview.chromium.org/11274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5677 0039d316-1c4b-4281-b951-d872f2087c98
* Don't build with exception support, we don't use exceptions.deanm@chromium.org2008-11-191-1/+1
| | | | | | | | This makes the output executable substantially smaller because it won't emit .eh_frame and .eh_frame_hdr header sections. These were previously ~1.2mb for an opt test_shell. Review URL: http://codereview.chromium.org/11265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5675 0039d316-1c4b-4281-b951-d872f2087c98
* Change by Alex Mendes da Costa <alexmdac@google.com>beng@google.com2008-11-193-4/+28
| | | | | | | | | | | | Use the most recently used download path when displaying a "save as" dialog. Reset the download path when the user clears the download history. BUG=293 (http://code.google.com/p/chromium/issues/detail?id=293) Review URL: http://codereview.chromium.org/10743 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5674 0039d316-1c4b-4281-b951-d872f2087c98
* Implement window closing.deanm@chromium.org2008-11-191-5/+5
| | | | | | Review URL: http://codereview.chromium.org/11263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5673 0039d316-1c4b-4281-b951-d872f2087c98
* Implement GetRootWindowRect, for example, window.screenX.deanm@chromium.org2008-11-191-3/+13
| | | | | | Review URL: http://codereview.chromium.org/11262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5672 0039d316-1c4b-4281-b951-d872f2087c98
* Land this change again now I've fixed the crash.ben@chromium.org2008-11-1935-268/+196
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5669 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on logging of notImplemented()s inside WebCore for test_shell.evanm@google.com2008-11-193-0/+13
| | | | | | | Review URL: http://codereview.chromium.org/11259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5668 0039d316-1c4b-4281-b951-d872f2087c98
* rename gtk test shell filestc@google.com2008-11-193-3/+3
| | | | | | | Review URL: http://codereview.chromium.org/11463 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5665 0039d316-1c4b-4281-b951-d872f2087c98
* disable some tests while I debug offlinetc@google.com2008-11-191-3/+3
| | | | | | | | | TBR=estade Review URL: http://codereview.chromium.org/11258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5664 0039d316-1c4b-4281-b951-d872f2087c98
* Pass a bunch more tests by not erroring to stderr.deanm@chromium.org2008-11-191-1/+3
| | | | | | Review URL: http://codereview.chromium.org/11464 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5663 0039d316-1c4b-4281-b951-d872f2087c98
* Remove cf_html from webdropdata.h. This is windowstc@google.com2008-11-1917-291/+224
| | | | | | | | | | | | | | | | | | specific code so we should handle it before we get to webkit. CF_HTML needs the source URL to resolve relative URLs so I added that to the format and plumb it through from webcore. I also did some small refactoring so we only have one implementation of converting to/from CF_HTML and regular markup. We can tweak these converters (and add unit tests) in follow up changes. Review URL: http://codereview.chromium.org/11247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5662 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch of linux test shell crashes by removing an old stub out hack.deanm@chromium.org2008-11-191-3/+0
| | | | | | Review URL: http://codereview.chromium.org/11805 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5661 0039d316-1c4b-4281-b951-d872f2087c98
* rename webwidget_host.cc to webwidget_host_win.cctc@google.com2008-11-195-11/+11
| | | | | | | Review URL: http://codereview.chromium.org/11251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5659 0039d316-1c4b-4281-b951-d872f2087c98
* Make --testshell-startup-dialog work across Windows and Linux.deanm@chromium.org2008-11-195-3/+23
| | | | | | Review URL: http://codereview.chromium.org/11461 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5658 0039d316-1c4b-4281-b951-d872f2087c98
* Add pixel layout test support for Linuxagl@chromium.org2008-11-196-96/+85
| | | | | | | | | | | | Tracking down this error turned out to be a total pain. Image dumping is the first bit of code that we have run into on Linux that copies bitmap platform devices. Previously we didn't reference count them like Windows does. Review URL: http://codereview.chromium.org/11459 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5657 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes trees on Hebrew locales. The current code was problematicsky@google.com2008-11-191-2/+26
| | | | | | | | | | | | because SetWorldTransform and a graphics mode of COMPATIBLE don't work together. Instead we must use SetViewportOrgEx. BUG=4515 TEST=see bug Review URL: http://codereview.chromium.org/11253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5654 0039d316-1c4b-4281-b951-d872f2087c98
* put back this change now chromebot has had a chance to runben@chromium.org2008-11-191-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5653 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the browser window is visible, even if the startup info says that ↵ben@chromium.org2008-11-191-1/+3
| | | | | | | | | it should be hidden. This fixes the problem of invisible browser window when launched from bash. http://crbug.com/4438 Review URL: http://codereview.chromium.org/11454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5652 0039d316-1c4b-4281-b951-d872f2087c98
* Implement keyDown events the GTK layout tests.erg@google.com2008-11-191-35/+41
| | | | | | | Review URL: http://codereview.chromium.org/11460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5651 0039d316-1c4b-4281-b951-d872f2087c98
* I'm removing logging.h/.cc from wow_helper.nsylvain@chromium.org2008-11-193-12/+0
| | | | | | | | | | | | | We were using it for only 2 small DCHECKs, but now logging.h depends on a lot of other stuff in base, and it's a lot of work to port everything back in wow_helper (icu?) I don't think it's worth the trouble for only 2 dchecks. Review URL: http://codereview.chromium.org/11603 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5650 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typos on apt-get package names.mmoss@google.com2008-11-181-6/+9
| | | | | | | Review URL: http://codereview.chromium.org/11453 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5649 0039d316-1c4b-4281-b951-d872f2087c98
* Gears 0.5.4.0 binary.mpcomplete@google.com2008-11-182-0/+0
| | | | | | Review URL: http://codereview.chromium.org/11250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5648 0039d316-1c4b-4281-b951-d872f2087c98
* use the shared memory name we construct, probably copy/paste errorpinkerton@google.com2008-11-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/11457 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5646 0039d316-1c4b-4281-b951-d872f2087c98
* Implement layout test timeouts under the GTK test shell.erg@google.com2008-11-181-3/+20
| | | | | | | Review URL: http://codereview.chromium.org/11455 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5645 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash that occurs during the browser shutdown process.paulg@google.com2008-11-181-8/+15
| | | | | | | | | | | | | | | | | It is possible that during the shutdown process, the database thread posts tasks back to the IO thread which result in calls to the SafeBrowsing protocol manager object. This object will have been deleted by the time the posted task runs, resulting in a crash. This change checks the enabled_ flag (which is set to false when the shutdown starts) for all tasks posted to the IO thread to protect against access to deleted objects. BUG = http://crbug.com/4531 Review URL: http://codereview.chromium.org/11245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5644 0039d316-1c4b-4281-b951-d872f2087c98