summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Add an API to manipulate the browser action badge.aa@chromium.org2009-10-038-20/+138
| | | | | | | | BUG=23268 Review URL: http://codereview.chromium.org/256032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27951 0039d316-1c4b-4281-b951-d872f2087c98
* Linux build failure makes no sense. Try random fix.pkasting@chromium.org2009-10-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27950 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite chunks of the blocked popup container code:pkasting@chromium.org2009-10-038-144/+218
| | | | | | | | | | | | | | * Fix an off-by-one error in menu rendering if a renderer actually sent us kImpossibleNumberOfPopups. * Be clearer and stricter about item indexes and sanity checking. Hopefully, this or the previous item fix a crash we saw (no bug filed). * Add notice support (as much as exists for Windows) to GTK and Mac. * Make the implementations in the three platforms mirror each other a little more precisely. * Fix (expected, actual) mis-ordering in Mac unittest. BUG=none TEST=none Review URL: http://codereview.chromium.org/260005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27949 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 221.2 to 221.3laforge@chromium.org2009-10-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27945 0039d316-1c4b-4281-b951-d872f2087c98
* Another stab at the Chromium side of storage events. Re-submission of ↵jorlow@chromium.org2009-10-0314-41/+235
| | | | | | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=27756 with slight changes in dom_storage_dispatch er_host.cc TBR=darin TEST=Manually inspected that storage events fired. Will turn on more layout tests in a subsequent patch. BUG=19972 Original review URL: http://codereview.chromium.org/223013 Review URL: http://codereview.chromium.org/258010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27943 0039d316-1c4b-4281-b951-d872f2087c98
* Add quota support.jorlow@chromium.org2009-10-0310-32/+22
| | | | | | | | | | | Add a 5mb quota to DOM Storage. Most of the details are in an upstream patch (https://bugs.webkit.org/show_bug.cgi?id=29991 ). BUG=16876 TEST=I added a layout test upstream and it works. Review URL: http://codereview.chromium.org/255050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27942 0039d316-1c4b-4281-b951-d872f2087c98
* More WebView / WebViewDelegate cleanup.darin@chromium.org2009-10-0310-59/+70
| | | | | | | | | | | | Moves a bunch of methods from glue to the WebKit API. R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/246079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27941 0039d316-1c4b-4281-b951-d872f2087c98
* Move the clipboard stuff out of base and into app/clipboard. I renamedbrettw@chromium.org2009-10-0321-38/+91
| | | | | | | | | | | clipboard_util to clipboard_util_win since it's Windows-only. This patch makes test_shell depend on app as well. There should be no logic change. TEST=none BUG=none Review URL: http://codereview.chromium.org/260003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27937 0039d316-1c4b-4281-b951-d872f2087c98
* A new page about hosting extensions (i.e. serving the right HTTP headers).kathyw@google.com2009-10-034-4/+506
| | | | | | | TBR=aa Review URL: http://codereview.chromium.org/243085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27936 0039d316-1c4b-4281-b951-d872f2087c98
* Gtk: Update slide animation progress in a cleaner way.estade@chromium.org2009-10-032-22/+6
| | | | | | | | | BUG=none TEST=animations still work: infobar, findbar, download shelf Review URL: http://codereview.chromium.org/255071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27934 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a build error in the jumplist to use the new png codec location.brettw@chromium.org2009-10-031-3/+3
| | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27933 0039d316-1c4b-4281-b951-d872f2087c98
* Move the JPEG and PNG codecs from base/gfx to app/gfx/codec. Move the classesbrettw@chromium.org2009-10-0337-106/+103
| | | | | | | | | | | | | | | into the gfx namespace. Combine the PNGEncoder and PNGDecoder. There were separate when we had different executables for the browser and renderer, and linked the encoder only in one of them (which saved us some space used by libpng). This hasn't been the case for years, so combining them (again) makes sense. TEST=none BUG=none Review URL: http://codereview.chromium.org/243076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27930 0039d316-1c4b-4281-b951-d872f2087c98
* Pass unhandled keyup messages coming in from the renderer to the underlying ↵ananta@chromium.org2009-10-032-9/+5
| | | | | | | | | | | | | | | | | | | view. This is needed for system keyboard messages which are generated when the Alt key is pressed in addition to other keys to function correctly in ChromeFrame. The TabContentsView implementation for windows does the right thing by specifically checking for keydown events before processing them as accelerators. The TabContentsView implementation for Linux also treated keyup messages as accelerators, which is now fixed. This fixes parts of http://code.google.com/p/chromium/issues/detail?id=22996 Bug=22996 Review URL: http://codereview.chromium.org/255028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27926 0039d316-1c4b-4281-b951-d872f2087c98
* Try again to check in the badge stuff.aa@chromium.org2009-10-033-3/+123
| | | | | | TBR=erikkay@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27925 0039d316-1c4b-4281-b951-d872f2087c98
* Disable message-port-constructor-for-deleted-document.html test for now.atwilson@chromium.org2009-10-031-1/+2
| | | | | | | | | BUG=23709 TEST=none Review URL: http://codereview.chromium.org/242137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27921 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms that track how long it takes to open the new tab page.tony@chromium.org2009-10-026-8/+68
| | | | | | | | | | | | | | | This doesn't time all loads of the new tab page, just new foreground tabs using ctrl+t or the plus button. This includes the time it takes to create the tab contents and logs the time until JS has started executing, domcontentloaded, and onload. Note: onload doesn't mean the page is done loading. We have "NewTabUI load" for that. BUG=23120 Review URL: http://codereview.chromium.org/242107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27918 0039d316-1c4b-4281-b951-d872f2087c98
* Set the default action of the import data dialog to "Import" andtony@chromium.org2009-10-021-0/+3
| | | | | | | | | | focus the button. BUG=19627 Review URL: http://codereview.chromium.org/259028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27916 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my revert because it causes more problems.nsylvain@chromium.org2009-10-023-63/+14
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27912 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 221.1 to 221.2laforge@chromium.org2009-10-021-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27911 0039d316-1c4b-4281-b951-d872f2087c98
* revert this change because protoc.exe crashes during compile and breaks the ↵nsylvain@chromium.org2009-10-023-14/+63
| | | | | | | | | | | | | try servers: Set the LITE runtime optimization flag in sync.proto. This generates c++ code without support for protobuf reflections, and shaves 175000 bytes off of the final release size of syncapi.dll. Review URL: http://codereview.chromium.org/242133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27910 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.LimitTotalestade@chromium.org2009-10-021-6/+5
| | | | | | | | | | | | | | 1) Before, we were not doing fast render process termination. When we closed the tab, the render process was still lingering for a short while. 2) The last check didn't actually make sure there was one more worker; it was still counting the yet-to-terminate render process. 3) This hid the real failure, which is that there wasn't an extra worker process popping up. 4) Now that single tab termination is fast, we are actually shutting down the renderer in time to reveal this bug (sometimes---the failure is flaky). This test is disabled on linux and mac because it fails for some indeterminate reason; maybe they revealed the same problem, but have thus far been ignored. TBR=jam Review URL: http://codereview.chromium.org/242129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27909 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the action timeout on the fast shutdown ui test.estade@chromium.org2009-10-021-2/+2
| | | | | | | | It is flakily failing on modules linux, about 1/10 runs. Review URL: http://codereview.chromium.org/246081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27908 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the test while I figure out why it is flaky.finnur@chromium.org2009-10-022-2/+2
| | | | | | | | | | And update the version number (forgot in my last changelist). No code change there. TBR=nsylvain Review URL: http://codereview.chromium.org/255066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27906 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling a filing test temporarily.jcampan@chromium.org2009-10-021-1/+2
| | | | | | | | | TEST=None BUG=23683 TBR=cpu Review URL: http://codereview.chromium.org/257040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27905 0039d316-1c4b-4281-b951-d872f2087c98
* Find-in-bar would steal focus when switching tab.jcampan@chromium.org2009-10-022-2/+38
| | | | | | | | BUG=23296 TEST=See bug. Review URL: http://codereview.chromium.org/243073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27901 0039d316-1c4b-4281-b951-d872f2087c98
* We now postMessage the RSS file over to the js script and have it parse it ↵finnur@chromium.org2009-10-026-153/+264
| | | | | | | | | | there in the context of the iframe instead of doing this in the extension html page. BUG=None TEST=Covered by automated tests. Review URL: http://codereview.chromium.org/246066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27898 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using radio buttons for toggling the custom frame. Usetony@chromium.org2009-10-024-26/+71
| | | | | | | | | | title case for the context menu on the title bar. BUG=23412 Review URL: http://codereview.chromium.org/255059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27896 0039d316-1c4b-4281-b951-d872f2087c98
* Use IDS_THEME_INSTALL_INFOBAR_UNDO_BUTTON instead of IDS_UNDO since 3.0tony@chromium.org2009-10-021-7/+1
| | | | | | | | shipped. Review URL: http://codereview.chromium.org/257036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27895 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile failure due to bad merge.pkasting@chromium.org2009-10-021-5/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27893 0039d316-1c4b-4281-b951-d872f2087c98
* Add a Clear() function to MRUCache. This will be useful in my MemoryPurger ↵pkasting@chromium.org2009-10-025-6/+43
| | | | | | | | | | class. Technically you can call ShrinkToSize(0), but that's both less clear and slower. BUG=23400 TEST=none Review URL: http://codereview.chromium.org/257024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27892 0039d316-1c4b-4281-b951-d872f2087c98
* Make usage of iterator types more consistent, which also saves some code.pkasting@chromium.org2009-10-022-44/+33
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/243072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27891 0039d316-1c4b-4281-b951-d872f2087c98
* Convert users of RenderProcessHost iterator to all use same style. The key ↵pkasting@chromium.org2009-10-0211-40/+32
| | | | | | | | | | | | | | motivator for this is that at least one old place actually did the wrong thing in its loop and failed to call functions on anything but the first host. This also makes many places slightly shorter. Remove an unneeded #include in web_cache_manager.h by converting it to a forward declaration. Update copyrights on touched files. BUG=none TEST=none Review URL: http://codereview.chromium.org/242104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27890 0039d316-1c4b-4281-b951-d872f2087c98
* Add simple popup support to browser actions. This will create a popup HTML ↵erikkay@chromium.org2009-10-0224-57/+574
| | | | | | | | | | | window that extends below a browser action button when the browser is clicked. When it loses focus, it is automatically dismissed. BUG=23596 TEST=none Review URL: http://codereview.chromium.org/258011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27889 0039d316-1c4b-4281-b951-d872f2087c98
* Do not discount a MANUAL_SUBFRAME load just because it involveddarin@chromium.org2009-10-025-9/+30
| | | | | | | | | | | | some redirects. R=brettw BUG=21353 TEST=none Review URL: http://codereview.chromium.org/246073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27887 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Change Omnibox to select-all on mouse-up if the mouse didn't move.shess@chromium.org2009-10-022-0/+108
| | | | | | | | | | | | | | | This is to match Windows... http://crbug.com/22980 TEST=When Omnibox has focus, everything should work identically. TEST=Put focus in content. Single-click in Omnibox should select-all on mouse-up. TEST=Put focus in content. Click-drag in Omnibox should select text like normal. TEST=Put focus in content. Double-click should select-all on first mouse-up, but select-word on next click. TEST=Same test for triple-click. Review URL: http://codereview.chromium.org/243063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27885 0039d316-1c4b-4281-b951-d872f2087c98
* Support multiple EOL types in Privacy Blacklistsidanan@google.com2009-10-021-2/+3
| | | | | | | | | | BUG=16932 TEST=none TBR=maruel Review URL: http://codereview.chromium.org/251078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27884 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Check CreateNewTempDirectory return value.mattm@chromium.org2009-10-021-4/+6
| | | | | | | | | | CID=6021,6020,6019 TEST=none BUG=none Review URL: http://codereview.chromium.org/256033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27881 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 27876.robertshield@chromium.org2009-10-028-734/+17
| | | | | | Review URL: http://codereview.chromium.org/256043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27880 0039d316-1c4b-4281-b951-d872f2087c98
* Improving Chrome Frame uninstall process:robertshield@chromium.org2009-10-028-17/+734
| | | | | | | | | | | | | 1) Don't kill chrome.exe when uninstalling. This leads to immediate breakage of any running Chrome Frame windows and is also annoying if the user also happens to be using Google Chrome or some variant thereof. 2) If files are in use at uninstall time, schedule them for deletion and prompt the user to reboot. 3) Remember to remove any pending scheduled deletes at install time. Review URL: http://codereview.chromium.org/235060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27876 0039d316-1c4b-4281-b951-d872f2087c98
* The focus would only be restored properly the first time thejcampan@chromium.org2009-10-025-183/+302
| | | | | | | | | | | find-in-bar box was closed. Also wrote an interactive ui test and took the opportunity to convert the existing find-in-bar interactive ui test to be a browser test. BUG=23599 TEST=See bug. Review URL: http://codereview.chromium.org/251064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27875 0039d316-1c4b-4281-b951-d872f2087c98
* Add an option to disable NaCl at compile time for platforms where it doesn't ↵piman@chromium.org2009-10-025-2/+18
| | | | | | | | | | build yet Just add disable_nacl=1 to gyp defines Review URL: http://codereview.chromium.org/257029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27873 0039d316-1c4b-4281-b951-d872f2087c98
* Add speculative strings for possible future splitting of the helper process.mark@chromium.org2009-10-022-0/+64
| | | | | | Review URL: http://codereview.chromium.org/242125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27870 0039d316-1c4b-4281-b951-d872f2087c98
* IDS_PLUGIN_CRASH_PROMPT has an extra space before the colon in English.mark@chromium.org2009-10-022-4/+4
| | | | | | | | BUG=21026 TEST=Crash a plug-in and read the info bar Review URL: http://codereview.chromium.org/256040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27869 0039d316-1c4b-4281-b951-d872f2087c98
* Any time we are shutting down a tab, try to use fast shutdown.estade@chromium.org2009-10-0213-89/+220
| | | | | | | | | BUG=http://crbug.com/5638 TEST=existing tab strip model tests, Fast shutdown ui tests, new tab strip model fast shutdown test Review URL: http://codereview.chromium.org/235050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27865 0039d316-1c4b-4281-b951-d872f2087c98
* Make <video> works properly in test_shell in machclam@chromium.org2009-10-021-1/+1
| | | | | | | | | | | | BUG=23602 BUG=13907 1. FFmpeg binaries are copied to TestShell.app/Contents/MacOS 2. Load media_*.png for drawing the controls Review URL: http://codereview.chromium.org/248042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27863 0039d316-1c4b-4281-b951-d872f2087c98
* Fix several issues with dragging tabs and quickly letting go, including ↵pinkerton@chromium.org2009-10-021-15/+45
| | | | | | | | | | crashes because we get mouseDragged "events" after mouseUp, windows that stay transucent, and windows that vanish entirely but stay in the window list. BUG=22266, 13594, 22538 TEST=dragging tabs between windows should still work Review URL: http://codereview.chromium.org/243080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27861 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Free the loaded sandbox test module library.jhawkins@chromium.org2009-10-021-1/+2
| | | | | | | | | CID=778 BUG=none TEST=none Review URL: http://codereview.chromium.org/255044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27855 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Restore the window that is hidden when the last tab is dragged out of ↵jhawkins@chromium.org2009-10-022-6/+21
| | | | | | | | | | the window. BUG=21002 TEST=Drag the last tab out of a window and press esc. The window should be restored. Review URL: http://codereview.chromium.org/257026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27853 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my attempt at cleaning up RenderViewHost::UnhandledKeyboardEvent in ↵jam@chromium.org2009-10-021-2/+10
| | | | | | | | | | my previous patch. Looks like the check is needed because otherwise KeyUp triggers the accelerator a second time. BUG=23260 TBR=craig.schlenter Review URL: http://codereview.chromium.org/246078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27852 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the NewTabUI load UMA metric.tony@chromium.org2009-10-022-9/+20
| | | | | | | | | | | We were attaching the paint observer to the a RenderWidgetHost that was getting immediately swapped out when the new tab page started to load. Instead, wait and use the DOM UI callback methods which happen right after NewTabUI is created. Review URL: http://codereview.chromium.org/242115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27850 0039d316-1c4b-4281-b951-d872f2087c98