summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add unit tests for unpacking and patching methods.kuchhal@chromium.org2009-08-0518-189/+338
| | | | | | | | | BUG=12849 TEST=none Review URL: http://codereview.chromium.org/160623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22535 0039d316-1c4b-4281-b951-d872f2087c98
* Fishing expedition in mac ui tests. dank@chromium.org2009-08-053-13/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds suppressions for lots of bugs. The only problems left I know of result in valgrind internal error messages. Widen suppression for 16128 to match on Mac. Remove suppression for 16210, which is a dup of 16128, and was out of date. The reference builds don't have symbols on the mac, so suppressions don't work. And they have old known valgrind issues. Disable SunSpiderReferenceTest.Perf and V8BenchmarkReferenceTest.Perf under valgrind until those problems are addressed (and possibly longer -- reference builds tend to have old valgrind errors since fixed and no longer of interest). Also, disable DownloadTest.UnknownSize under valgrind, it is known to send garbage. None of these errors are showing up on the bots for some reason; they only show up when you do a local run of shard_all_tests.sh, which does one test at a time instead of the normal batches of 30. It seems valgrind on the mac isn't stable enough to do large batches of ui tests in a single run. BUG=6522,16128,16210,17113,17451,18189,18223,18236,18252,18253,18268,18540 TEST=run tools/valgrind/shard_all_tests.sh for ui_tests on mac, verify it finds no normal valgrind warnings Review URL: http://codereview.chromium.org/159770 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22533 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing svn:ignore on several files.bradnelson@google.com2009-08-050-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22532 0039d316-1c4b-4281-b951-d872f2087c98
* Implement TabContentsViewMac::SizeContents(), so that the TabContentsViewjaphet@chromium.org2009-08-051-2/+5
| | | | | | | | | | | | gets sized properly on creation. BUG=619 BUG=15960 TEST=none Review URL: http://codereview.chromium.org/162016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22531 0039d316-1c4b-4281-b951-d872f2087c98
* Fix layout test controller simulation script to make it work for worker UI test.jianli@chromium.org2009-08-051-3/+15
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/160670 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22527 0039d316-1c4b-4281-b951-d872f2087c98
* Use a font size of 9pt in the tab titles. This is a bittc@google.com2009-08-051-5/+7
| | | | | | | | | | | bigger than before. This matches the font size used in Windows (the heights are the same), but on Linux, the text render a bit wider. BUG=17866 Review URL: http://codereview.chromium.org/160663 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22525 0039d316-1c4b-4281-b951-d872f2087c98
* extensions: clean up some code I saw while tracking down a bugevan@chromium.org2009-08-051-4/+3
| | | | | | | | The bug was already fixed, but this change shouldn't hurt too. Review URL: http://codereview.chromium.org/162020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22524 0039d316-1c4b-4281-b951-d872f2087c98
* linux: always show bookmarks bar on NTPevan@chromium.org2009-08-051-1/+1
| | | | | | | | BUG=16825 Review URL: http://codereview.chromium.org/159897 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22523 0039d316-1c4b-4281-b951-d872f2087c98
* Original change by Min-Yu Huang <minyu.huang@gmail.com> intc@google.com2009-08-0517-614/+900
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://codereview.chromium.org/160347 This is the very preliminary implementation to support printing on Linux and it has not been finished yet. For each page to be printed, we convert rendering actions on canvas into cairo APIs and generate a PS/PDF file. chrome/chrome.gyp: Include our newly added and renamed files. chrome/browser/browser.h: chrome/browser/browser.cc: Allow the user print the web page by hitting ctrl-p. chrome/browser/gtk/standard_menus.cc: Show "Print" in the menu. chrome/renderer/print_web_view_helper.cc: chrome/renderer/print_web_view_helper.h: chrome/renderer/print_web_view_helper_mac.cc chrome/renderer/print_web_view_helper_win.cc Move the class PrepareFrameAndViewForPrint to the header file and move platform dependent parts to their corresponding files. chrome/renderer/print_web_view_helper_linux.cc: Hard-coded parameters for printing. Only print the first page now. skia/ext/vector_canvas.cc: skia/ext/vector_canvas.h: skia/ext/vector_canvas_linux.cc: skia/ext/vector_canvas_win.cc: Move platform dependent parts to their corresponding files. skia/ext/vector_platform_device.h: skia/ext/vector_platform_device_linux.cc: skia/ext/vector_platform_device_linux.h We translate skia APIs into Cairo APIs here. A PDF file is also created and saved to the disk at this moment for testing purpose (you have to run chrome without the sandbox to save the file). There are still lots of bugs. skia/skia.gyp: Include our newly added files when compiling skia package on Linux. BUG=9847 Review URL: http://codereview.chromium.org/160673 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22522 0039d316-1c4b-4281-b951-d872f2087c98
* Add the sync files to chrome.gyp. They still don't result in anything ↵tim@chromium.org2009-08-0512-3/+2158
| | | | | | | | | | | | building because the files are wrapped in #ifdef CHROME_PERSONALIZATION which is not defined anywhere at the moment. Add live_sync to chrome\test and corresponding target to chrome.gyp Review URL: http://codereview.chromium.org/159902 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22521 0039d316-1c4b-4281-b951-d872f2087c98
* Update to WebKit r46807.pkasting@chromium.org2009-08-054-20/+9
| | | | | | | | BUG=none TEST=Covered by existing unittests Review URL: http://codereview.chromium.org/162018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22518 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrites the Mac view resizing logic to have the BrowserWindowControllerrohitrao@chromium.org2009-08-0524-438/+493
| | | | | | | | | | | | | | | | | | | directly resize and relayout its children views. Now when a view needs to be resized, it asks its resize delegate (typically its controller's parent) to perform the resize. BUG=http://crbug.com/17619 TEST=Make sure that views are laid out correctly, even when they change size. Open and close the bookmark bar. Trigger an infobar and then close it. Trigger the download shelf and then close it. Trigger a download shelf with the infobar open, or with the bookmark bar open. Switch to and from fullscreen with various bars open. Resize the browser window with various bars open. Start the browser with and without the bookmark bar open. Try all of the above in a popup window. Review URL: http://codereview.chromium.org/159776 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22517 0039d316-1c4b-4281-b951-d872f2087c98
* Add some spacing to titlebar buttons.estade@chromium.org2009-08-053-18/+52
| | | | | | Review URL: http://codereview.chromium.org/160593 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22515 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a unit test for coverage of bug 15786.sky@chromium.org2009-08-051-1/+6
| | | | | | | | | BUG=15786 TEST=this is just a test change. Review URL: http://codereview.chromium.org/160651 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22514 0039d316-1c4b-4281-b951-d872f2087c98
* linux: rearrange widget layout in importer dialogevan@chromium.org2009-08-056-58/+66
| | | | | | | | | I'm not especially happy with how it looks now, though I think it's better than before. Review URL: http://codereview.chromium.org/160661 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22512 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up SavePage UI test, remove dead code.phajdan.jr@chromium.org2009-08-051-21/+2
| | | | | | | | | | | As most of the tests moved to the browser test, this is now unneeded. TEST=none BUG=none Review URL: http://codereview.chromium.org/160666 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22511 0039d316-1c4b-4281-b951-d872f2087c98
* Move the entire application into a dylib (framework)mark@chromium.org2009-08-056-231/+357
| | | | | | Review URL: http://codereview.chromium.org/160538 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22506 0039d316-1c4b-4281-b951-d872f2087c98
* First stab at a layout tests flakiness/speed dashboard.ojan@chromium.org2009-08-054-10/+886
| | | | | | | | | | | | | | | | | | | | | | | | This isn't functional yet, but I want to get this reviewed and in the tree so I can do the rest incrementally. This works by having the bots generate JSON that is then red into a static HTML file that generates the dashboard from the JSON. I've tried to make this generic, so we should be able to use the same HTML file for our other test types (e.g. UI tests) as well once this is functional by just having the bots that run those tests generate the JSON files and copy them to the right place. All the work that needs doing to get this 100% functional is listed as a TODO at the top of flakiness_dashboard.html. Most of what's left is buildbot integration (i.e. copy files to the right place on the bot). Review URL: http://codereview.chromium.org/149656 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22505 0039d316-1c4b-4281-b951-d872f2087c98
* Don't mutate |config_| after failing proxy-autodetect.eroman@chromium.org2009-08-053-5/+113
| | | | | | | | | | | | Otherwise when polling for configuration changes, we think the current configuration is different than the fetched one. This was a recent regression from r22485. BUG=http://crbug.com/18526 TEST=ProxyServiceTest.UpdateConfigAfterFailedAutodetect Review URL: http://codereview.chromium.org/160654 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22504 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r22418 for Linux lanpacks, with fix for Mac langpacks.mmoss@chromium.org2009-08-052-142/+223
| | | | | | | | | | | Update Mac output path to match the gyp 'outputs' list, and restrict Mac to the four previously built locales. A future change will add all the locales for Mac, probably after gyp adds looping capability (which isn't to say it couldn't be added now, but that feature is coming soon, so avoiding multiple refactors). Review URL: http://codereview.chromium.org/159886 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22502 0039d316-1c4b-4281-b951-d872f2087c98
* Removes notification observers at the end of each CustomHomePagesModel unittest.rohitrao@chromium.org2009-08-051-0/+5
| | | | | | | | | | This gets rid of some scary warnings and may also fix a flaky test. BUG=http://crbug.com/17452 TEST=None Review URL: http://codereview.chromium.org/160643 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22501 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly handle multiple control responses for RETR command.phajdan.jr@chromium.org2009-08-054-25/+54
| | | | | | | | | | | | Re-enable tests which were intermittently failing before this fix and remove debugging code used to track down the issue. TEST=Covered by net_unittests. http://crbug.com/18036 Review URL: http://codereview.chromium.org/160537 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22500 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 22478.avi@chromium.org2009-08-0513-554/+14
| | | | | | | TBR=jar Review URL: http://codereview.chromium.org/160660 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22499 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 46794:46804.dglazkov@google.com2009-08-051-1/+1
| | | | | | | | | | TBR=senorblanco TEST=no layout test regressions BUG=none Review URL: http://codereview.chromium.org/160655 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22498 0039d316-1c4b-4281-b951-d872f2087c98
* Copy files to preserve version history. Will be edited when Itc@google.com2009-08-052-0/+532
| | | | | | | | | land Min-Yu's changes in http://codereview.chromium.org/160347 . TBR=evan git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22494 0039d316-1c4b-4281-b951-d872f2087c98
* Add some unit tests for master preferences parsing code.kuchhal@chromium.org2009-08-058-165/+359
| | | | | | | | | BUG=12849 TEST=none Review URL: http://codereview.chromium.org/160560 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22493 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: preload ffmpeg in the zygote.agl@chromium.org2009-08-053-1/+11
| | | | | | | | | | | | | | | | | | When using the sandbox, the renderer cannot load the ffmpeg shared objects from disk. So we load them in the zygote before the sandbox is started. (Note that this doesn't get media working, but it's a start.) BUG=18329 http://codereview.chromium.org/159841 (Note: relanding. Original landing in r22392, reverted in r22405 due to check-deps failure.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22492 0039d316-1c4b-4281-b951-d872f2087c98
* manual review: ignore for the directory tests are checked out intothomasvl@chromium.org2009-08-050-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22491 0039d316-1c4b-4281-b951-d872f2087c98
* On bookmark edit, the OK button is now disabled if the entered URL isjrg@chromium.org2009-08-054-16/+82
| | | | | | | | | | | | | | | | | | invalid (e.g. is the empty string). The Cancel button is never disabled. BUG=http://crbug.com/17006 TEST=Right click on a bookmark button to edit it. Make sure OK is enabled. Set URL to "" (the empty string). Make sure OK is DISabled. Set URL to "x". Make sure OK is enabled. Review URL: http://codereview.chromium.org/160628 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22490 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the lastchange target to get a hard-coded default last changesgk@google.com2009-08-052-5/+16
| | | | | | | | | from build/LASTCHANGE.in if there's no actual svn or git change found. BUG=none TEST=none Review URL: http://codereview.chromium.org/159876 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22489 0039d316-1c4b-4281-b951-d872f2087c98
* Quick 'low-risk-for-the-next-release' fix to increase theme install/load ↵glen@chromium.org2009-08-051-1/+1
| | | | | | | | | | | perf (should be a 2-4x speedup). Bug should remain open until a better approach (background threads, perhaps) is used. BUG=17696 TEST=none Review URL: http://codereview.chromium.org/159903 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22487 0039d316-1c4b-4281-b951-d872f2087c98
* Add the WS_CLIPCHILDREN style to the external tab container window to ↵robertshield@chromium.org2009-08-051-1/+1
| | | | | | | | prevent massive visual flickering during resize. Review URL: http://codereview.chromium.org/160646 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22486 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a DCHECK hit inside the bookmark matching code.evan@chromium.org2009-08-051-9/+10
| | | | | | | | | | | | | | We do bookmark matching in two passes: first, a quick search for all the words, then a second filtering pass that obeys query syntax. We were hitting a DCHECK when the second pass would filter any matches out. For example, the query ["thi"] matches a bookmark [think], but it shouldn't match because quotes mean literal match. BUG=15786 Review URL: http://codereview.chromium.org/159905 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22485 0039d316-1c4b-4281-b951-d872f2087c98
* Update GYP to get correct handling of variables-in-variablesmark@chromium.org2009-08-051-1/+1
| | | | | | Review URL: http://codereview.chromium.org/160650 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22484 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing parens for format string to work.thomasvl@chromium.org2009-08-051-1/+5
| | | | | | | When there are no strings to localize, but a stub value into the table to avoid a compile error from array_size. Review URL: http://codereview.chromium.org/160645 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22483 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the cleanup action that was part of the nib destination move, ↵thomasvl@chromium.org2009-08-051-27/+0
| | | | | | | | hopefully everyone has updated by now. Review URL: http://codereview.chromium.org/162008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22481 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the grit hook, and make it more solid in case of failures.phajdan.jr@chromium.org2009-08-052-1/+16
| | | | | | | | | | | | | I was unable to reproduce the failures from the bots on my machine. If they appear again, the build will not break, ane we will get full info. TEST=none http://crbug.com/17706 Review URL: http://codereview.chromium.org/159866 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22480 0039d316-1c4b-4281-b951-d872f2087c98
* Implement back/forward toolbar menus on Mac (bug 13203).avi@chromium.org2009-08-0513-14/+554
| | | | | | | | | | | | | | | | | | | | | | | Note: The drop-down menu is actually a drag-down (activating on click-hold or on drag), working much like Safari's (and other Apple apps, such as Dictionary). This can be changed to a pop-down if that's what's desired. [The previously included fix to bug 17990 has been split off to CL 159864.] TODO: Show keyboard shortcut for "Show Full History". Patch by viettrungluu. BUG=http://crbug.com/13203 TEST=Navigate around, check out and use the menus; do so in multiple tabs and windows. Review URL: http://codereview.chromium.org/160496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22478 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add initial stuff for Heap profiler.mnaganov@chromium.org2009-08-0512-58/+229
| | | | | | | | | | | Only adds a simple text-only tab which displays heap-related log. BUG=none TEST=none Review URL: http://codereview.chromium.org/159631 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22477 0039d316-1c4b-4281-b951-d872f2087c98
* Putting some stubs in so that gyp generation doesn't fail on Mac and so that ↵gspencer@google.com2009-08-052-5/+26
| | | | | | | | it doesn't fail when the internal repository isn't available. Review URL: http://codereview.chromium.org/159848 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22476 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools l10n: fix .grd files by results of running GRIT, sync up with WebKit.mnaganov@chromium.org2009-08-052-22/+42
| | | | | | Review URL: http://codereview.chromium.org/162005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22475 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromium to use V8 version 1.3.2.sgjesse@chromium.org2009-08-051-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/162003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22474 0039d316-1c4b-4281-b951-d872f2087c98
* Remove expected images for textfield-drag-into-disabled.html.hamaji@chromium.org2009-08-056-40/+0
| | | | | | | | | | | | | | | | As this is updated as a dumpAsText test, we don't need the expected images. See also: WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=28008 WebKit change: http://trac.webkit.org/changeset/46790 BUG=11613 BUG=18412 TEST=none Review URL: http://codereview.chromium.org/160637 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22472 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline test results for fast/canvas/image-pattern-rotate.html for linux.hamaji@chromium.org2009-08-054-1/+43
| | | | | | | | | The original bug was apple specific and we don't need to fix our code. BUG=18016 Review URL: http://codereview.chromium.org/160388 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22471 0039d316-1c4b-4281-b951-d872f2087c98
* Another try to make Valgrind errors go away without figuring out how to do a ↵jorlow@chromium.org2009-08-051-0/+6
| | | | | | | | | | | suppression. TBR=darin TEST=none BUG=none Review URL: http://codereview.chromium.org/159909 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22470 0039d316-1c4b-4281-b951-d872f2087c98
* Add LayoutTests/fast/forms/textfield-drag-into-disabled.html as expected ↵hamaji@chromium.org2009-08-051-0/+3
| | | | | | | | | | layout test failure. BUG=18487 Review URL: http://codereview.chromium.org/160633 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22469 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable DOM Storage tests since they are exposingjorlow@chromium.org2009-08-051-3/+3
| | | | | | | | | | | | | memory leaks in valgrind. DOM Storage is behind a flag, so it's ok to hide the symptoms until the problem can be solved. TBR=darin TEST=none BUG=none Review URL: http://codereview.chromium.org/159908 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22468 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use work_queue_ for the isolated world scripts. Instead, we justabarth@chromium.org2009-08-053-18/+8
| | | | | | | | | | | | | | evaluate the script directly. This change will break the isolatedWorld tests until I land the change to rename the layoutTestController method upstream. R=darin TEST=Coverged by LayoutTests. Review URL: http://codereview.chromium.org/159782 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22467 0039d316-1c4b-4281-b951-d872f2087c98
* Run the DOM Storage layout tests in the UI test framework since the test ↵jorlow@chromium.org2009-08-059-300/+414
| | | | | | | | | | | | | | | shell doesn't hit very much of the new code. I still plan to write unit tests and we're still goign to enable the layout tests in test shell, but this is still a good way for us to test the full stack ASAP. Workers has used this technique for a while now. This CL factors out the layout test running code from the workers ui test and moves arounds directories a bit so not everything is in the "workers" directory. Doing this via a v8 extension is the right way to go long term, but I ran into a couple snags, so I think this is a good first step. TEST=none BUG=none Review URL: http://codereview.chromium.org/159720 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22466 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION build from 197.0 to 198.0mal@chromium.org2009-08-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22465 0039d316-1c4b-4281-b951-d872f2087c98