summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Don't prompt before installing a Theme, move existing prompt so that users ↵glen@chromium.org2009-06-054-24/+26
| | | | | | | | | | | | aren't prompted twice in the case when they have extensions disabled. Theme installation confirmation will be done through an infobar (allowing you to preview a lot of themes quickly without dealing with dialogs) - see CL 119235. BUG=none TEST=Install a theme, verify that you don't get prompted. Install an extension and verify that you do get prompted. Review URL: http://codereview.chromium.org/119232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17755 0039d316-1c4b-4281-b951-d872f2087c98
* Implement some drag-n-drop for the bookmark manager.estade@chromium.org2009-06-059-147/+382
| | | | | | | | | | | | | Factor out shared code into bookmark_utils_gtk.*. Fix a leak with toolbar button dragging. BUG=13110 TEST=Added extra DCHECKs. Also, you can drag between the right half of the bookmark manager and the bookmark bar with no crashes. Review URL: http://codereview.chromium.org/119220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17754 0039d316-1c4b-4281-b951-d872f2087c98
* Improve resizing behavior of options window. Rather than extra whitespace atevan@chromium.org2009-06-053-19/+23
| | | | | | | | | | | the bottom, allow the custom url list to expand. BUG=11507 Review URL: http://codereview.chromium.org/118203 Patch from Matt Mueller <mattm@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17753 0039d316-1c4b-4281-b951-d872f2087c98
* setup.exe doesn't depend on chrome.{exe|dll}kuchhal@chromium.org2009-06-051-6/+0
| | | | | | Review URL: http://codereview.chromium.org/118241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17752 0039d316-1c4b-4281-b951-d872f2087c98
* Make AsyncExtensionFunction possible.mpcomplete@google.com2009-06-058-26/+79
| | | | | | | | | | | Change the bookmarks API to be async functions, so that they can delay their response until the bookmark system is loaded. BUG=12353 TEST=none Review URL: http://codereview.chromium.org/114079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17751 0039d316-1c4b-4281-b951-d872f2087c98
* If there is nothing to import, return.kuchhal@chromium.org2009-06-051-4/+14
| | | | | | | | | | | Fixed DCHECK. BUG=13246 TEST=In chrome debug build, do not select anything to import and click "Import". Review URL: http://codereview.chromium.org/119104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17748 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test to print using javascript. This is to make sure I don't break ↵sverrir@google.com2009-06-051-0/+31
| | | | | | | | | | | anything when I start to do the async printing. BUG=none TEST=run unit tests Review URL: http://codereview.chromium.org/119245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17747 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a one pixel offset error in PrintLayoutTest. Now checks with a 5% ↵sverrir@google.com2009-06-051-2/+8
| | | | | | | | | | | margin. We need to figure out why this is different between machines and runs. BUG=none TEST=none Review URL: http://codereview.chromium.org/118312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17746 0039d316-1c4b-4281-b951-d872f2087c98
* Refuse to load extension-private plugins for pages that don't belong to thatmpcomplete@google.com2009-06-056-21/+59
| | | | | | | | | | extension. BUG=12960 TEST=none Review URL: http://codereview.chromium.org/118198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17743 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore selections where the user dragged off the popup.shess@chromium.org2009-06-051-3/+11
| | | | | | | | | http://crbug.com/13107 TEST=Start typing in omnibox. Click in the popup and drag mouse off before releasing. Shouldn't crash. Review URL: http://codereview.chromium.org/112097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17741 0039d316-1c4b-4281-b951-d872f2087c98
* Implement table for custom home pages at startup on Mac.pinkerton@chromium.org2009-06-057-82/+660
| | | | | | | | BUG=13151 TEST=custom home pages table. adding to it, removing. use current. enabling and disabling when applicable. Review URL: http://codereview.chromium.org/119242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17740 0039d316-1c4b-4281-b951-d872f2087c98
* Reenable unittest and fix the failure. This failed after a change in thesverrir@google.com2009-06-051-4/+1
| | | | | | | | | | | page sizing. BUG=none TEST=none Review URL: http://codereview.chromium.org/118271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17731 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Make reloading inspector lead to the complete DevTools Client ↵pfeldman@chromium.org2009-06-055-17/+55
| | | | | | | | | Window reopening. BUG=12956 Review URL: http://codereview.chromium.org/119178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17725 0039d316-1c4b-4281-b951-d872f2087c98
* Disable "Duplicate" and "Copy URL" window actions on TYPE_APP browsers.pfeldman@chromium.org2009-06-051-17/+16
| | | | | | Review URL: http://codereview.chromium.org/119180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17724 0039d316-1c4b-4281-b951-d872f2087c98
* Add an extension to expose some primitives to JS for doing mbelshe@google.com2009-06-058-0/+85
| | | | | | | | | | | | | | | | | benchmarking from within Chrome. Because the JS resides in the renderer and the HTTP logic resides in the browser, this required creation of two new, control messages which can be sent from the renderer to the browser. These are controlled under a new commandline option "--enable-benchmarking" BUG=6754 TEST=none Review URL: http://codereview.chromium.org/119191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17722 0039d316-1c4b-4281-b951-d872f2087c98
* Checkin Erik's tracing tool.mbelshe@google.com2009-06-051-0/+395
| | | | | | | | | | | Added a short writeup about how to use it at the top. TEST=none BUG=none Review URL: http://codereview.chromium.org/118275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17721 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r17717.sgk@google.com2009-06-052-13/+253
| | | | | | | | BUG=none TEST=successful build Review URL: http://codereview.chromium.org/118301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17718 0039d316-1c4b-4281-b951-d872f2087c98
* Convert chrome.dll to the gyp-generated build.sgk@google.com2009-06-052-253/+13
| | | | | | | | | Restore all the resources that were in the previous build. BUG=none TEST=none Review URL: http://codereview.chromium.org/119214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17717 0039d316-1c4b-4281-b951-d872f2087c98
* gyp generation of installer_util.lib (renamed from util.lib)sgk@chromium.org2009-06-053-5/+5
| | | | | | | | | and installer_util_strings.{rc,h}. BUG=none TEST=successful build Review URL: http://codereview.chromium.org/118284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17713 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression from r11509 which caused each plugin instance to have its own ↵jam@chromium.org2009-06-058-12/+17
| | | | | | | | | | IPC channel (doh!). BUG=119052 TEST=covered by ui test that Amit added Review URL: http://codereview.chromium.org/119158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17712 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing deps in browser_viewsnsylvain@chromium.org2009-06-051-0/+5
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/119230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17711 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in .vcproj files obviated by r17687.sgk@chromium.org2009-06-057-1162/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/119213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17709 0039d316-1c4b-4281-b951-d872f2087c98
* Validate that extension resources exist.glen@chromium.org2009-06-053-3/+28
| | | | | | | | | BUG=11678 TEST=Make a theme with bad references to images and try to install it. Or just verify that the InstallTheme unit_test passes. Review URL: http://codereview.chromium.org/119137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17708 0039d316-1c4b-4281-b951-d872f2087c98
* Changed to use PushSource for the intermediate bufferhclam@chromium.org2009-06-056-188/+366
| | | | | | | | | | | | | | | between the IPC layer and the audio hardware interface. We have completely moved away from being blocking in AudioRendererHost. Since we'll be using PushSource for a longer period of buffering. It's necessary to have Play/Pause functionality in the AudioOutputStream, this is simulated by start/stop the AudioOutputStream multiple times. Review URL: http://codereview.chromium.org/114069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17707 0039d316-1c4b-4281-b951-d872f2087c98
* Fix tree bustagejar@chromium.org2009-06-051-1/+1
| | | | | | | TBR Review URL: http://codereview.chromium.org/119225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17702 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent SDCH from re-trying to download a dicitionaryjar@chromium.org2009-06-052-0/+23
| | | | | | | | | | | | | Some dicitoaries provided by an SDCH server may be larger than allowed by Chromium (which holds the dictionary memory-resident). This CL prevents Chromium from endlessly re-trying such dicitonary loads, BUG=7722 r=huanr Review URL: http://codereview.chromium.org/119198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17699 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 17638.jar@chromium.org2009-06-056-26/+258
| | | | | | | | | | | | | | | This relands http://src.chromium.org/viewvc/chrome?view=rev&revision=17605 which was reverted in 17638. It also disables MassiveConcurrentLookupTest, which was a stress test, and is partially obsolete since the class now responds to congestion produced by NOT resolving all names. BUG=13356 TBR=willchan Review URL: http://codereview.chromium.org/119196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17697 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Fake a mouse move event when the render view gains focus and the ↵estade@chromium.org2009-06-051-0/+22
| | | | | | | | | | | | | mouse is over it. On windows, when the render view regains focus it receives a mouse move event with the coordinates of the pointer. We don't on linux, so we have to fake this. Without this, webkit doesn't know where the pointer is, so can have a wrong cursor or other graphical glitches. TEST=bug is fixed BUG=12879 Review URL: http://codereview.chromium.org/113987 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17693 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling a windows-only test failure to turn the tree green again and ↵slightlyoff@chromium.org2009-06-051-1/+1
| | | | | | | | | | | | re-open. Evmar, willchan, and I are still investigating. TEST=none BUG=13388 Review URL: http://codereview.chromium.org/119219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17692 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for closing the download shelf with multiple tabs open.paul@chromium.org2009-06-041-4/+2
| | | | | | | | | | | Make sure that the browser window is informed of the download shelf visibility status at the end of the show / hide animation. BUG=13369 Review URL: http://codereview.chromium.org/118278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17690 0039d316-1c4b-4281-b951-d872f2087c98
* Convert additional targets to gyp generation: image_diff.exe,sgk@chromium.org2009-06-041-7/+0
| | | | | | | | | | startup_tests.exe, page_cycler_tests.exe, plugin_tests.exe, security_tests.dll, test_chrome_plugin.dll, theme/default.dll. BUG=none TEST=none Review URL: http://codereview.chromium.org/118264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17687 0039d316-1c4b-4281-b951-d872f2087c98
* Testing AudioMessageFilterhclam@chromium.org2009-06-044-0/+202
| | | | | | | | Unit test for AudioMessageFilter Review URL: http://codereview.chromium.org/119136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17685 0039d316-1c4b-4281-b951-d872f2087c98
* Update installer rules to use new LASTCHANGE file with version.py.mmoss@chromium.org2009-06-041-0/+7
| | | | | | | | | See also http://codereview.chromium.org/118192 Review URL: http://codereview.chromium.org/118272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17683 0039d316-1c4b-4281-b951-d872f2087c98
* ipc: use strings, not wstrings for channel ids.evan@chromium.org2009-06-0450-119/+124
| | | | | | | | | | They're ASCII anyway. TEST=covered by existing tests Review URL: http://codereview.chromium.org/119131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17682 0039d316-1c4b-4281-b951-d872f2087c98
* Latest attempt at enabling task manager tests and not having them leak or crash!ben@chromium.org2009-06-043-12/+10
| | | | | | | | | | | Make Task Manager Table view a scoped_ptr so it and its columns are deleted regardless of whether or not the HWND has been constructed. BUG=none TEST=none Review URL: http://codereview.chromium.org/119208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17677 0039d316-1c4b-4281-b951-d872f2087c98
* Convert most of the chrome .lib files to gyp generation:sgk@chromium.org2009-06-046-1975/+0
| | | | | | | | | automation.lib, common.lib, debugger.lib, plugin.lib, renderer.lib. BUG=none TEST=none Review URL: http://codereview.chromium.org/118254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17675 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the obsolete TabContents::GetSecurityStyle andwtc@chromium.org2009-06-042-39/+0
| | | | | | | | | | | | | TabContents::GetSSLEVText methods. This is discovered by Fumitoshi Ukai. R=jcampan BUG=none TEST=none Review URL: http://codereview.chromium.org/118145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17674 0039d316-1c4b-4281-b951-d872f2087c98
* Forbid tab drops on application windows.ben@chromium.org2009-06-041-1/+2
| | | | | | | | | | Change by Chase Phillips <cmp@google.com> http://crbug.com/9576 TEST=open a standalone GMail shortcut window, attempt to drop a tab from an existing browser window into it. It should not be added. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17672 0039d316-1c4b-4281-b951-d872f2087c98
* Always redraw the location bar background when we resize.tc@google.com2009-06-041-0/+3
| | | | | | | | | BUG=13342 Review URL: http://codereview.chromium.org/119207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17671 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a first pass at thumbnail store storage to disk, including a unit ↵brettw@chromium.org2009-06-043-10/+427
| | | | | | | | | test for the new behavior. TEST=covered by unittest BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17670 0039d316-1c4b-4281-b951-d872f2087c98
* Only update files from .version templates when a file changesgk@google.com2009-06-042-70/+41
| | | | | | | | | | | | | indicates it's necessary (now that fetching the last change info is in a separate target executed every build) by getting rid of the never-built .bogus files in the rules. Update chrome/installer/installer.gyp with the new patterns. Make the use of the *_path variable names more consistent. BUG=none TEST=none Review URL: http://codereview.chromium.org/119181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17668 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing PrintLayoutTest test. Commenting out because of local ↵sverrir@google.com2009-06-041-0/+3
| | | | | | | | | | | | compilation issues BUG=none TEST=none Review URL: http://codereview.chromium.org/118261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17664 0039d316-1c4b-4281-b951-d872f2087c98
* Don't update our text from toolbar if the toolbar's text doesn'tshess@chromium.org2009-06-041-5/+13
| | | | | | | | | | | | | | | | | visibly differ from the model's text. In most cases, this doesn't come up, because focus is usually not in the field (so there wouldn't be local changes), but when opening NTP you can type between when the tab opens in the browser and when the renderer finishes loading it. In that case, the model and toolbar both have "" as the url text, so this case is hit. http://crbug.com/13109 TEST=Browse to www.google.com. Command-t for new tab and type http as fast as you can. Before this fix, you sometimes got "tp" or something of the sort. Review URL: http://codereview.chromium.org/119125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17662 0039d316-1c4b-4281-b951-d872f2087c98
* Don't crash when dragging bookmarks from one bookmark bar to another (as ↵estade@chromium.org2009-06-041-6/+13
| | | | | | | | | | | with multiple chrome windows). BUG=none TEST=drag a bookmark icon from one a bookmark bar to a bar in another window without crashing. Review URL: http://codereview.chromium.org/119114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17659 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable memory tests now that bug 13078 is fixed.tc@google.com2009-06-041-2/+2
| | | | | | | | | BUG=13078 Review URL: http://codereview.chromium.org/118256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17658 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the view size when printing. This is to re-layout everything on the ↵sverrir@google.com2009-06-041-26/+80
| | | | | | | | | | | page so the print will fill out the full page. BUG=http://crbug.com/1566 TEST=See bug description. Create a html page with a table that fills the screen. Print and make sure it aligns with the margins. Review URL: http://codereview.chromium.org/118176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17657 0039d316-1c4b-4281-b951-d872f2087c98
* On linux, add a context menu item in the tab strip for disablingtc@google.com2009-06-048-14/+60
| | | | | | | | | | | | | window decorations. This is mostly just an experiment. The window currently looks bad because of no rounded corners. It's also not possible to resize in this state and if you have too many tabs, you can't move. Review URL: http://codereview.chromium.org/114075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17655 0039d316-1c4b-4281-b951-d872f2087c98
* Make the inactive tab background line up with the parent without using magic ↵glen@chromium.org2009-06-045-8/+29
| | | | | | | | | | | numbers. BUG=12761 TEST=Verify that the inactive tab background lines up with the frame image in maximized and unmaximized mode - you will need a heavily patterned theme to test with. Review URL: http://codereview.chromium.org/118221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17654 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for DWM crash.glen@chromium.org2009-06-041-1/+2
| | | | | | | | | | BUG=13075 TBR=ben TEST=On XP, verify that Chrome doesn't crash when a theme is installed or reset. Review URL: http://codereview.chromium.org/118252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17652 0039d316-1c4b-4281-b951-d872f2087c98
* Change from CRLF to LF - a later patch does not work on the try bots because ↵sverrir@google.com2009-06-042-374/+374
| | | | | | | | | | | of this. BUG=none TEST=none Review URL: http://codereview.chromium.org/118249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17650 0039d316-1c4b-4281-b951-d872f2087c98