summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move chrome_canvas to app/gfxben@chromium.org2009-05-0688-103/+106
| | | | | | | | http://crbug.com/11387 Review URL: http://codereview.chromium.org/113011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15361 0039d316-1c4b-4281-b951-d872f2087c98
* A utility driver for doing client/server HTTP transactionmbelshe@google.com2009-05-0611-0/+732
| | | | | | | | | | | | tests. This is an initial codebase - there is a lot of work to do. But I wanted to get an initial version checked in. http://crbug.com/6754 Review URL: http://codereview.chromium.org/99333 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15360 0039d316-1c4b-4281-b951-d872f2087c98
* Make the width of the reset options confirmation dialog localizable.It's ↵jungshik@google.com2009-05-0651-2/+59
| | | | | | | | | | currently hard-coded to be 400, but it needs to be localizable.I made it localizable and set the value to 80 (which makes it exactly the same width as the current one) for most locales except for Malayalam for which it's too narrow. Once reviewed and landed in the trunk, this need to be merged to the branch. BUG=11267 TEST=Run CHrome with '--lang=ml', go to Options | Advanced and click on 'Restore the defaul settings' button at the bottom. The dialog box popping up should not have any truncated strings due to the dimension of the dialog being too small Review URL: http://codereview.chromium.org/100008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15359 0039d316-1c4b-4281-b951-d872f2087c98
* Add first_run_tabs to the master prefs filecpu@google.com2009-05-063-6/+76
| | | | | | | | | | | | | - Updated unit test BUG=http://code.google.com/p/chromium/issues/detail?id=9706 TEST=none. Unit test included. Review URL: http://codereview.chromium.org/100364 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15358 0039d316-1c4b-4281-b951-d872f2087c98
* Some tests actually pass.darin@chromium.org2009-05-061-12/+9
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/115005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15357 0039d316-1c4b-4281-b951-d872f2087c98
* Change NullAudioRenderer to sleep for at least one millisecond to avoid ↵scherkus@chromium.org2009-05-061-1/+5
| | | | | | | | spinning the CPU. Review URL: http://codereview.chromium.org/108041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15356 0039d316-1c4b-4281-b951-d872f2087c98
* Remove embedded manifest from media player.scherkus@chromium.org2009-05-061-16/+2
| | | | | | | | TBR=fbarchard Review URL: http://codereview.chromium.org/115002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15355 0039d316-1c4b-4281-b951-d872f2087c98
* Add --simple-data-source which uses simplified media resource loading.scherkus@chromium.org2009-05-068-9/+257
| | | | | | | | Comes in really handy for demo purposes and for testing playback performance with buffering and range requests removed from the equation. Review URL: http://codereview.chromium.org/109049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15354 0039d316-1c4b-4281-b951-d872f2087c98
* Separate the key setting code in the constructor of HMAC class into the Initwtc@chromium.org2009-05-056-25/+103
| | | | | | | | | | | | | | | | | | method. Overload the Init method for char* and std::string. Add DCHECKs to the destruction methods in ~HMAC in hmac_win.cc. The patch is written by Takeshi Yoshino <tyoshino@google.com>. Original code review: http://codereview.chromium.org/88062 R=wtc http://crbug.com/2297 TEST=base_unittests should pass. Safe browsing should continue to work. Review URL: http://codereview.chromium.org/113001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15353 0039d316-1c4b-4281-b951-d872f2087c98
* Move l10n_util to app/ben@chromium.org2009-05-05213-267/+274
| | | | | | | http://crbug.com/11387 Review URL: http://codereview.chromium.org/109043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15352 0039d316-1c4b-4281-b951-d872f2087c98
* More test expectation cleanup.darin@chromium.org2009-05-051-3/+4
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/113008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15351 0039d316-1c4b-4281-b951-d872f2087c98
* disabling a ui test while I investigate its failureestade@chromium.org2009-05-051-1/+1
| | | | | | | | tbr=thestig Review URL: http://codereview.chromium.org/113006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15348 0039d316-1c4b-4281-b951-d872f2087c98
* Remove another duplicate test expectation for Linux.darin@chromium.org2009-05-051-1/+1
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/113005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15347 0039d316-1c4b-4281-b951-d872f2087c98
* Remove duplicate mac expectations.darin@chromium.org2009-05-051-1/+1
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/114001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15345 0039d316-1c4b-4281-b951-d872f2087c98
* Remove duplicate expectations.darin@chromium.org2009-05-051-7/+7
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/113004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15344 0039d316-1c4b-4281-b951-d872f2087c98
* Remove LayoutTests/fast/forms/textarea-hard-linewrap.html since that test no ↵darin@chromium.org2009-05-051-1/+0
| | | | | | | | | | longer exists. TBR=ojan Review URL: http://codereview.chromium.org/113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15343 0039d316-1c4b-4281-b951-d872f2087c98
* Boat-load of new layout test failures due to WebKit merge 43114:43242darin@chromium.org2009-05-051-0/+199
| | | | | | | | | | /cry TBR=dglazkov Review URL: http://codereview.chromium.org/108043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15342 0039d316-1c4b-4281-b951-d872f2087c98
* Removed duplicate entries in media.gyp.scherkus@chromium.org2009-05-051-2/+0
| | | | | | | | TBR=mark Review URL: http://codereview.chromium.org/108039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15341 0039d316-1c4b-4281-b951-d872f2087c98
* Handle mouse back and forward buttons for page navigation.jhawkins@chromium.org2009-05-051-0/+16
| | | | | | | BUG=11439 Review URL: http://codereview.chromium.org/108038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15340 0039d316-1c4b-4281-b951-d872f2087c98
* Fix missing assignment in chrome_mini_installer.thestig@chromium.org2009-05-051-1/+1
| | | | | | | TBR=tony Review URL: http://codereview.chromium.org/109048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15339 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes for WebKit merge 43114:43242darin@chromium.org2009-05-0511-36/+59
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/109042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15338 0039d316-1c4b-4281-b951-d872f2087c98
* Fix missing assignment in helper_unittest.thestig@chromium.org2009-05-051-1/+1
| | | | | | TBR=tony git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15336 0039d316-1c4b-4281-b951-d872f2087c98
* Linux download shelf: remove download items when the associated download is ↵estade@chromium.org2009-05-054-17/+74
| | | | | | | | | | | removed. BUG=11381 TEST=in opt mode: download something, go to downloads tab, clear all, go back to tab with downloaded item. The shelf should be gone. Review URL: http://codereview.chromium.org/100366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15335 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the no-longer used TabButtonGtk class.jhawkins@chromium.org2009-05-054-203/+0
| | | | | | Review URL: http://codereview.chromium.org/108035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15334 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side to handle changing CreateWebWorker to createWorker.darin@chromium.org2009-05-055-5/+5
| | | | | | | | R=jam Review URL: http://codereview.chromium.org/109028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15333 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Don't allow onunload handlers to hang a renderer forever.agl@chromium.org2009-05-054-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | (Reland of r15025 which was reverted in r15095. |exit| has been changed to |_exit| to save running the onexit handlers while another thread is still in V8 code.) On POSIX one can install an unload handler which loops forever and leave behind a renderer process which eats 100% CPU forever. This is because the terminate signals (ViewMsg_ShouldClose and the error from the IPC channel) are routed to the main message loop but never processes (because that message loop is stuck in V8). One could make the browser SIGKILL the renderers, but that leaves open a large window where a browser failure (or a user, manually terminating the browser because "it's stuck") will leave behind a process eating all the CPU. On Windows we don't have this issue because all the processes are in a job so when the parent dies, all the children are killed too. http://codereview.chromium.org/100222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15332 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Linux tabs as widgets. This moves tab input handling into the ↵jhawkins@chromium.org2009-05-0511-744/+980
| | | | | | | | correct object. This change also adds an initial DraggedTabControllerGtk. Review URL: http://codereview.chromium.org/99371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15330 0039d316-1c4b-4281-b951-d872f2087c98
* Adding first run bypass command line flag.robertshield@google.com2009-05-053-1/+11
| | | | | | | This allows the browser to start up without ever showing the first run UI, regardless of whether the First Run sentinel file is present. Quite useful for automated testing ;-) Review URL: http://codereview.chromium.org/99344 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15329 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for 10.6jeremy@chromium.org2009-05-052-5/+37
| | | | | | | | | | | | | * Workaround for rdar://6857649 - NSGradient fails when using LAB Colorspace * Update sandbox config file for 10.6 BUG=11265 TEST=Open Chrome on 10.6, it should have tabs and the tab title should reflect the title of the page that's currently loaded. Review URL: http://codereview.chromium.org/109032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15328 0039d316-1c4b-4281-b951-d872f2087c98
* Refactors HWNDView into two classes for reuse on GTK.sky@chromium.org2009-05-056-174/+278
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/108025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15327 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb the creator URL for popups up to the browser. We don't yet use this ↵pkasting@chromium.org2009-05-0519-28/+60
| | | | | | | | | for anything; it will be used for whitelisting popups by hostname. BUG=11440 Review URL: http://codereview.chromium.org/105004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15326 0039d316-1c4b-4281-b951-d872f2087c98
* Remove uses of deprecated version of PathService::Get() in the installer.thestig@chromium.org2009-05-0513-142/+152
| | | | | | Review URL: http://codereview.chromium.org/109033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15325 0039d316-1c4b-4281-b951-d872f2087c98
* Move the shared JS and CSS out of the HTML files and into separate files.arv@chromium.org2009-05-056-117/+113
| | | | | | Review URL: http://codereview.chromium.org/99151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15323 0039d316-1c4b-4281-b951-d872f2087c98
* The bookmark bar app menu item should have a checkbox displayed next to it ↵jhawkins@chromium.org2009-05-051-1/+1
| | | | | | | | when it's selected. Review URL: http://codereview.chromium.org/109036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15322 0039d316-1c4b-4281-b951-d872f2087c98
* Convert autocomplete to use a custom matrix and button cell.shess@chromium.org2009-05-053-130/+226
| | | | | | | | | | | | | | | On the user-visible side this change enables mouse hover (the item under the mouse is highlighted), and lays out the text omnibox v2 style. Only hover really needed the control change, but I have another change queued up to style the popup text. It uses different colors and shades, and really looked horrible with the NSTableView highlighting. [Which is why this part of the CL is coming first.] TEST=Omnibox popup works and shows highlighting under the mouse in addition to the keyboard-selected item. Review URL: http://codereview.chromium.org/99310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15321 0039d316-1c4b-4281-b951-d872f2087c98
* Set infobar text to black (overriding system default color).estade@chromium.org2009-05-051-0/+5
| | | | | | | | Since we set the background color, we can't go letting the theme choose the text color unless we want to potentially end up with white on yellow. Review URL: http://codereview.chromium.org/108034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15320 0039d316-1c4b-4281-b951-d872f2087c98
* Center the download progress meter behind the icon.arv@chromium.org2009-05-051-4/+4
| | | | | | | | | | | | I moved the image down 2px as well as adjusted the margins. I tried keeping the image at 0px but it looks better when moved down slightlty :-) http://crbug.com/10057 Review URL: http://codereview.chromium.org/99286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15319 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to green mac layout test bots.estade@chromium.org2009-05-051-2/+6
| | | | | | Review URL: http://codereview.chromium.org/108026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15318 0039d316-1c4b-4281-b951-d872f2087c98
* Landing the CL from Yusukes.jcampan@chromium.org2009-05-053-0/+18
| | | | | | | | | See http://codereview.chromium.org/99311 TBR=yusukes Review URL: http://codereview.chromium.org/109030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15317 0039d316-1c4b-4281-b951-d872f2087c98
* Style fixes for webkit upstreaming.ajwong@chromium.org2009-05-051-57/+45
| | | | | | Review URL: http://codereview.chromium.org/99373 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15316 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a couple FAILs as FAIL CRASH in an attempt to green the treeamanda@chromium.org2009-05-051-2/+2
| | | | | | | TBR=estade Review URL: http://codereview.chromium.org/108029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15312 0039d316-1c4b-4281-b951-d872f2087c98
* Media Player mainfrm.hfbarchard@chromium.org2009-05-056-22/+775
| | | | | | | | | | | | | | | | | | | | | | | This module contains all event handling for menus in the Media Player. The implementation is WTL (Windows Template Library) based. The main menu is: File Edit View Play Options Help File opens/closes movies and has print features. Edit has copy/paste features. View has spatial controls, such as scaling, and tool and status bars and a properties dialogue box. Play has temporal controls, such as play speed and pause. Options controls details such as Audio and Video on/off. Help is just an about box. Right clicking brings up a context menu with edit and view items. A tool bar exposes the most common menu items as buttons. Hotkeys (accelerators) are mapped to most menu items. A .RC file is used to edit the menus using the resource editor in visual studio. Dialogue boxes are each handled by a different .h. ie props.h for properties. Mainfrm.h does some minor dialogue boxes directly, such as the file selector and alert boxes for errors. Review URL: http://codereview.chromium.org/99087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15311 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=11200rafaelw@chromium.org2009-05-0516-332/+331
| | | | | | | | R=aa Review URL: http://codereview.chromium.org/110001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15310 0039d316-1c4b-4281-b951-d872f2087c98
* Add valgrind suppressions for a well-known fontconfig leak anddkegel@google.com2009-05-051-5/+36
| | | | | | | | | | for http://crbug.com/6547 and http://crbug.com/11462, and loosen up another couple a bit. Review URL: http://codereview.chromium.org/108001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15309 0039d316-1c4b-4281-b951-d872f2087c98
* Update Gears in Chromium to 0.5.19.0.jon@chromium.org2009-05-052-0/+0
| | | | | | Review URL: http://codereview.chromium.org/110004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15308 0039d316-1c4b-4281-b951-d872f2087c98
* In OOP-sytle JavaScript programs there are lots of anonymous functions which ↵yurys@google.com2009-05-051-7/+1
| | | | | | | | in fact are methods. Show the method names for them. Review URL: http://codereview.chromium.org/108018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15306 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r15294 that causes crash spike in chromebot.huanr@chromium.org2009-05-052-26/+6
| | | | | | Review URL: http://codereview.chromium.org/108023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15305 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak that happen on some video fileshclam@chromium.org2009-05-051-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The memory leak was introduced by BufferedDataSource, the cause of the leak: 1. Some video files have read patterns that BufferedResourceLoader cannot provide data buffer with, thus a large amount of BufferedResourceLoader is created and destroyed. 2. In the destruction of BufferedResourceLoader, it cancels the resource request and immediately deletes the ResourceLoaderBridge. 3. The request canceled in the renderer process isn't cancalled immediately in the browser process, at the mean time browser process still sends shared memory buffers to the renderer process. 4. When these shared memory buffers arrived at the renderer process, the ResourceLoaderBridge associated with the requst has already been destroyed, ResourceDispatcher can't find the associated ResourceLoaderBridge and simply delete the message. But the IPC message is not POD, it contains the handle to shared memory that should be closed. 5. End result is a lot of memory are shared to the renderer process but they are not closed. Solutions: 1. Delete ResourceLoaderBridge only at OnCompletedResponse. Delete ResourceLoaderBridge at OnCompletedResponse, it is guranteed that no more shared memory buffer will arrive after this point, so it's safe to delete ResourceLoaderBridge. The downside is the lifetime of BufferedResourceLoader is prolonged until OnCompletedResponse is received, which may never is received in case of timeout for certain protocol.. 2. Inside ResourceDispatcer, close the handles to shared memory even if ResourceLoaderBridge is not found. I'm going for route 1. The problem I mentioned in 2 also sounds like a bug in ResourceDispatcher, will talk to erickay or eroman to find a solution. Review URL: http://codereview.chromium.org/100302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15304 0039d316-1c4b-4281-b951-d872f2087c98
* Fix inspector in test_shell. AppendASCII doesn't like the leading '/'tc@google.com2009-05-051-1/+1
| | | | | | | | | | | | in the URL path. Inspector will work again after we pull in r43185 from upstream webkit (I tested by patching it in locally). Review URL: http://codereview.chromium.org/106003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15303 0039d316-1c4b-4281-b951-d872f2087c98
* Added back a few more tests that I removed in 15295, since while they pass onamanda@chromium.org2009-05-051-1/+7
| | | | | | | | my build machine, they are evidently still failing on the bots. TBR=thomasvl Review URL: http://codereview.chromium.org/110003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15302 0039d316-1c4b-4281-b951-d872f2087c98