summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert from using env['PLATFORM'] directly to using the more flexiblesgk@google.com2008-12-1887-225/+248
| | | | | | | | | | | | | | | | | | and better-thought-out Hammer env.Bits() idioms: * env['PLATFORM'] == 'win32' => env.Bit('windows') * env['PLATFORM'] == 'posix' => env.Bit('linux') * env['PLATFORM'] == 'darwin' => env.Bit('mac') New idioms: * env.Bit('posix') => really does mean "any POSIX platform" * env.AnyBits('mac', 'linux') => specifically mac or linux, excluding other POSIX platforms Where we were using compound conditionals (e.g., "env['PLATFORM'] in ('posix', 'darwin')") I tried to take my best shot at translating the intent (i.e., "env.Bits('posix')" for something POSIX, "not env.Bits('mac')" for something not yet ported to Mac, etc.) Review URL: http://codereview.chromium.org/15051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7270 0039d316-1c4b-4281-b951-d872f2087c98
* We now show the form autofill when the user does any of these on a focused ↵jcampan@chromium.org2008-12-184-5/+73
| | | | | | | | | | | | | | | empty text-field: - presses the up/down arrow key - left-clicks it The other browsers have that feature. BUG=5130 TEST=See bug. Review URL: http://codereview.chromium.org/14852 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7269 0039d316-1c4b-4281-b951-d872f2087c98
* green windows buildertc@google.com2008-12-181-1/+1
| | | | | | | | TBR=ojan Review URL: http://codereview.chromium.org/14869 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7268 0039d316-1c4b-4281-b951-d872f2087c98
* Increase timeout for ui_test.paulg@google.com2008-12-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/15061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7266 0039d316-1c4b-4281-b951-d872f2087c98
* Really fix mac build this time. TBR=darindglazkov@google.com2008-12-181-12/+6
| | | | | | Review URL: http://codereview.chromium.org/15063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7265 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Mac build TBR=darindglazkov@google.com2008-12-181-1/+3
| | | | | | Review URL: http://codereview.chromium.org/15060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7264 0039d316-1c4b-4281-b951-d872f2087c98
* Unfork CachedPage (2/2)dglazkov@google.com2008-12-186-86/+61
| | | | | | Review URL: http://codereview.chromium.org/14865 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7263 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a DCHECK in the IFrameTest.InEmptyFrame by removing it. The behavior isbrettw@google.com2008-12-182-6/+3
| | | | | | | | | correct, and the condition can be hit differently than assumed by the DCHECK. BUG=3035 Review URL: http://codereview.chromium.org/15050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7262 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 5561: Support system-level install in the channel changer.finnur@google.com2008-12-184-52/+233
| | | | | | | | | | | | | | When Chrome is installed system wide, the Google Update keys reside under HKLM. Under Vista, any writes to this key will get virtualized, unless we elevate the channel_changer process. We don't want to elevate using a manifest, because we don't want the UAC to pop up when the Channel Changer is used to configure a user-level Chrome installation, so we detect at process startup whether we need to elevate and relaunch the channel_changer process (elevated) if we need to (before showing any UI). Review URL: http://codereview.chromium.org/14855 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7260 0039d316-1c4b-4281-b951-d872f2087c98
* Move various gtest-style unit tests out of webkit/port and into a newdarin@google.com2008-12-189-35/+41
| | | | | | | | | | | tools/webcore_unit_tests directory. I chose this directory because we have a bunch of similar "tests" directories inside webkit/tools. R=dglazkov Review URL: http://codereview.chromium.org/14861 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7259 0039d316-1c4b-4281-b951-d872f2087c98
* Make the tab restore ui_tests Purify friendly.paulg@google.com2008-12-181-1/+2
| | | | | | Review URL: http://codereview.chromium.org/15053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7258 0039d316-1c4b-4281-b951-d872f2087c98
* Bridge out media player from MediaPlayerPrivate.hclam@chromium.org2008-12-1824-16/+854
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove MediaPlayerPrivateChromium.cpp and move it to webkit/glue/media_player_private_impl.cc - Added the following classes: WebMediaPlayer WebMediaPlayerImpl WebMediaPlayerDelegate WebMediaPlayerDelegateImpl TestWebMediaPlayerDelegate VideoStackMediaPlayer (Just a forward declaration) - One include fix for webkit/glue/webframe.h - Overview of what each class is doing: WebMediaPlayer and WebMediaPlayerImpl Wrapper over the MediaPlayerPrivate, it provides methods like Repaint(), NotifyNetworkStateChange(), etc to VideoStackMediaPlayer. It also creates the ResourceHandle for VideoStackMediaPlayer for resource loading, or maybe VideoStackMediaPlayer can simply use webkit_glue::ResourceDispatcher? WebMediaPlayerDelegate, WebMediaPlayerDelegateImpl Delegate calls from webkit to the internal media player. MediaPlayerPrivate Forward calls to WebMidiaPlayerDelegate, creates WebMediaPlayerDelegate and WebMediaPlayer in the constructor. Expose some public methods to WebMediaPlayer so we can actually do repaint and notification of changes. Review URL: http://codereview.chromium.org/13762 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7256 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some files that are not needed. Cleanup the Xcode project. Some stuffdarin@google.com2008-12-183-169/+37
| | | | | | | | | | was in the port group that belonged in the webcore group. R=awalker Review URL: http://codereview.chromium.org/15049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7255 0039d316-1c4b-4281-b951-d872f2087c98
* Same as 14820 but moved into media foldercpu@google.com2008-12-181-0/+135
| | | | | | | | | | - Low level audio interface for 'raw' formats - Upcomming windows implementation Review URL: http://codereview.chromium.org/15047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7254 0039d316-1c4b-4281-b951-d872f2087c98
* remove stray .h file from the compile sources listpinkerton@google.com2008-12-181-2/+0
| | | | | | Review URL: http://codereview.chromium.org/15048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7253 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a leak of a ResourceHandle that happens with synchronous XMLHttpRequests,asargent@chromium.org2008-12-181-1/+1
| | | | | | | | | | | | | | by using adoptRef() to get the reference count right. BUG=5369 http://codereview.chromium.org/15019 R=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7252 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::FilterHostInterface.scherkus@chromium.org2008-12-183-3/+144
| | | | | | | | | | FilterHostInterface allows filters to access global filter state, receive notification callbacks and signal notifications of their own. It is similar in design to how asynchronous procedure calls are implemented in Chrome, where the return value arrives asynchonously sometime in the future. Review URL: http://codereview.chromium.org/13327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7250 0039d316-1c4b-4281-b951-d872f2087c98
* Grab the file that fixes the box shadow size. This was supposed to be in thebrettw@google.com2008-12-182-7/+2
| | | | | | | text shadow patch, and is why the layout tests are failing. Review URL: http://codereview.chromium.org/15045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7249 0039d316-1c4b-4281-b951-d872f2087c98
* Fail a plugin test quickly if we don't support plugins.tc@google.com2008-12-181-2/+5
| | | | | | | | | | We still need to call dumpAsText otherwise the test harness complains about missing expected results. Review URL: http://codereview.chromium.org/15024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7247 0039d316-1c4b-4281-b951-d872f2087c98
* Kill our forked copy of MIMETypeRegistry.cpp by moving the customized methodsdarin@chromium.org2008-12-185-150/+98
| | | | | | | | | | | | into MimeTypeRegistryChromium.cpp, and stop building MIMETypeRegistry.cpp. It turns out that there just isn't enough of that file that we have in common to make it worth sharing. R=dglazkov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7246 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 3789:mbelshe@google.com2008-12-181-1/+7
| | | | | | | | | | | | | | | Turn off assert in automated tests for timer latency. This test isn't helping a lot, so removing it has no negative effect. But the test fails on some VMs which run horribly slow. Leaving the test in place because it still prints out timer perf information, which can be useful for testing on laptops, low-end machines, etc. Review URL: http://codereview.chromium.org/14853 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7245 0039d316-1c4b-4281-b951-d872f2087c98
* Experimental Perf. Regression Fix (roll DEPS)dglazkov@google.com2008-12-181-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7244 0039d316-1c4b-4281-b951-d872f2087c98
* Make some more ui_test Purify friendly.paulg@google.com2008-12-182-4/+4
| | | | | | Review URL: http://codereview.chromium.org/15027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7242 0039d316-1c4b-4281-b951-d872f2087c98
* Add a .bat script wrapper for the Python diff3 wrapper so it can be calledpamg@google.com2008-12-182-24/+40
| | | | | | | | | | | successfully from svn in Cygwin. (Some people were able to use the .py wrapper directly, but I can't. I suspect it has to do with file mappings in Windows.) Change merge.py to use the .bat script, add an --svn option to specify the path to the right svn executable, and strip trailing whitespace. Review URL: http://codereview.chromium.org/14830 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7241 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the Home button to the MSAA focus order, if enabled. Also removes an ↵klink@chromium.org2008-12-183-5/+2
| | | | | | | | unnecessary check from ViewAccessibility. Review URL: http://codereview.chromium.org/15026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7239 0039d316-1c4b-4281-b951-d872f2087c98
* Some layout test rebaselines.estade@chromium.org2008-12-186-33/+27
| | | | | | | | | | | * svg rebaselines: add the "Z" path close symbol to the baselines. These get the text diffs working, image diffs are still off. * pasteboard rebaseline: update the baseline after webkit changed the way they parse css styles * mark 1 test that's failing on linux * update 2 regexp baselines to reflect upstream changes to js-test-pre.js (these tests now pass. From what I understand we don't necessarily want the errors to match webkit's expectations exactly.) Review URL: http://codereview.chromium.org/14815 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7237 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes browser crash that could occur if the user closed a tab with ansky@google.com2008-12-182-12/+52
| | | | | | | | | | | | unload handler, then right clicked on the tab. The fix is to close the menu if the tab closes. BUG=4846 TEST=see bug Review URL: http://codereview.chromium.org/14843 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7235 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a few shadow tests as failing so I can look at them without tree redness.brettw@google.com2008-12-181-0/+8
| | | | | | Review URL: http://codereview.chromium.org/14851 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7234 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Avoid a crashing on a timer when the cache is disabled.rvargas@google.com2008-12-181-1/+3
| | | | | | Review URL: http://codereview.chromium.org/15025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7233 0039d316-1c4b-4281-b951-d872f2087c98
* tweak a few tests that pass on mac. Remove a baseline that differs enough ↵pinkerton@google.com2008-12-186-279/+3
| | | | | | | | from webkit's we should probably go back and look at it again, moving the failure to all platforms. Review URL: http://codereview.chromium.org/14846 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7232 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of unforking. I need to pull WebKit with the change that unforks ↵brettw@google.com2008-12-189-200/+387
| | | | | | | | | | | | KURL.h This makes us defile USE(GOOGLEURL) and use that instead of USE_GOOGLE_URL_LIBRARY. I also fixed some places to be able to compile without it if possible (I think I will be wanting that capability in the future to test changes they may make upstream). Review URL: http://codereview.chromium.org/14494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7231 0039d316-1c4b-4281-b951-d872f2087c98
* Update libpng to 1.2.33.maruel@chromium.org2008-12-1820-974/+1368
| | | | | | Review URL: http://codereview.chromium.org/15041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7230 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the purify directive which should no longer be necessary.ericroman@google.com2008-12-181-9/+0
| | | | | | | | | | Addressed by crbug.com/5645. TBR=erikkay@chromium.org Review URL: http://codereview.chromium.org/14850 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7229 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes a crash while trying to duplicate an application window.erg@google.com2008-12-181-1/+4
| | | | | | Review URL: http://codereview.chromium.org/14823 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7228 0039d316-1c4b-4281-b951-d872f2087c98
* Final Linux greening.evanm@google.com2008-12-181-4/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7227 0039d316-1c4b-4281-b951-d872f2087c98
* Initial support for running the ui_tests under Purify on thepaulg@google.com2008-12-1813-37/+96
| | | | | | | | | | | | | | | | | | buildbots. With these changes, I've been able to get 106 of about 185 ui_tests running under Purify on my machine (I haven't gotten to the remaining tests yet) with minimal changes. The changes here are timeout related, allowing us to specify longer timeouts in chrome_tests.py rather than hard coding them in the tests themselves. We'll likely have to experiment on the buildbots with different timeout values, depending on how fast the bots are. Review URL: http://codereview.chromium.org/14184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7226 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 7224.dglazkov@google.com2008-12-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/14848 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7225 0039d316-1c4b-4281-b951-d872f2087c98
* Exerimental Perf. Regression Fix: Roll DEPSdglazkov@google.com2008-12-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/14847 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7224 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for transformed, stoked, shadowed, filled text. We do this by ↵brettw@google.com2008-12-1853-305/+734
| | | | | | | | drawing the text using Skia after getting the outlines from Windows. A cache of these outlines is maintained because the outlines are very slow to retrieve. This new functionality is in SkiaFontWin.*, and is called when the context detects text attributes that are not supported by Windows. Review URL: http://codereview.chromium.org/8615 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7223 0039d316-1c4b-4281-b951-d872f2087c98
* Don't handle in-page navigations if it's for a subframe. Previously we wouldbrettw@google.com2008-12-182-3/+39
| | | | | | | | | | compare the URL with the main frame to see if it was in page. In very rare cases, these can actually be the same, which will confuse us. http://crbug.com/5585 Review URL: http://codereview.chromium.org/14824 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7220 0039d316-1c4b-4281-b951-d872f2087c98
* bucketing mac tests, rebasing.pinkerton@google.com2008-12-1849-134/+9496
| | | | | | Review URL: http://codereview.chromium.org/14842 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7219 0039d316-1c4b-4281-b951-d872f2087c98
* Porting in browser/debugger/phajdan.jr@chromium.org2008-12-183-7/+16
| | | | | | Review URL: http://codereview.chromium.org/14841 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7218 0039d316-1c4b-4281-b951-d872f2087c98
* Porting in renderer/phajdan.jr@chromium.org2008-12-186-11/+34
| | | | | | Review URL: http://codereview.chromium.org/15601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7217 0039d316-1c4b-4281-b951-d872f2087c98
* Unbreak Windows scons build caused by my importer porting.phajdan.jr@chromium.org2008-12-181-2/+6
| | | | | | Review URL: http://codereview.chromium.org/14840 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7216 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 7214.phajdan.jr@chromium.org2008-12-181-8/+4
| | | | | | Review URL: http://codereview.chromium.org/15403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7215 0039d316-1c4b-4281-b951-d872f2087c98
* Unbreak Windows scons build caused by my importer porting.phajdan.jr@chromium.org2008-12-181-4/+8
| | | | | | Review URL: http://codereview.chromium.org/14840 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7214 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few bugs in purify layout test chunks:erikkay@google.com2008-12-181-2/+8
| | | | | | | | | | | | | * When the chunk number is reset, test for existence of directory rather than throwing trying to recreate it. * When the chunk directory already exists, delete existing data files so it starts clean. * Store the chunk number counter in %TEMP% so that it doesn't get reset with a clobber build. It's OK for this to be reset, but it's better if it doesn't happen that frequently. TBR=nsylvain Review URL: http://codereview.chromium.org/14844 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7213 0039d316-1c4b-4281-b951-d872f2087c98
* bucketize and rebase more mac tests. re-base one linux test as well.pinkerton@google.com2008-12-1831-59/+1312
| | | | | | Review URL: http://codereview.chromium.org/14814 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7210 0039d316-1c4b-4281-b951-d872f2087c98
* fix merge failureaa@chromium.org2008-12-181-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7209 0039d316-1c4b-4281-b951-d872f2087c98
* Rather than create a TODO that will never be done, I went ahead and ↵aa@chromium.org2008-12-183-6/+96
| | | | | | | | implemented FilePath::Contains(). Review URL: http://codereview.chromium.org/14827 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7208 0039d316-1c4b-4281-b951-d872f2087c98