summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* rollback r498 and r500 to repair test bustagedarin@google.com2008-08-076-41/+35
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@503 0039d316-1c4b-4281-b951-d872f2087c98
* fix unit_test failures, where process_.handle() may be nulldarin@google.com2008-08-071-1/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@500 0039d316-1c4b-4281-b951-d872f2087c98
* Revised r408 such that we no longer sometimes fail ↵darin@google.com2008-08-075-31/+35
| | | | | | | | | | | | MetricsServiceTest.CrashRenderers. That test showed that we were exiting the browser process without noticing that a child process had crashed. I fixed that by simply adding a check to see if the child process is still around before initiating the normal close of the child process. This corresponds to the case where the browser decides to close a renderer. As a result, the race for the MessageLoop to receive a Task notifying the RenderProcessHost of a crashed renderer is removed from the picture. The bulk of this CL is just re-landing r408, which jar reviewed. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@498 0039d316-1c4b-4281-b951-d872f2087c98
* Daily translated string updates.mal@google.com2008-08-072-74/+74
| | | | | | TBR= glen@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@483 0039d316-1c4b-4281-b951-d872f2087c98
* Make the OSExchangeDataTest.Html test pass now that I fixed NULL handling in ↵brettw@google.com2008-08-071-2/+18
| | | | | | UTF8->wide conversions. CF_HTML format does not need to be NULL terminated. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@480 0039d316-1c4b-4281-b951-d872f2087c98
* Add new about_version{,_flat}.html files to SCons.sgk@google.com2008-08-071-0/+1
| | | | | | TBR: erikkay git-svn-id: svn://svn.chromium.org/chrome/trunk/src@473 0039d316-1c4b-4281-b951-d872f2087c98
* Restored tabs should be considered "owned" by whatever random tab is ↵erg@google.com2008-08-061-2/+4
| | | | | | | | currently open. BUG=1305200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@469 0039d316-1c4b-4281-b951-d872f2087c98
* Adding an interactive UI test to catch when switching between two tabs (both ↵finnur@google.com2008-08-067-12/+175
| | | | | | | | | | | | with FindInPage open) is trashing the Esc handler and causing a crash. I originally tried an automated_ui test, but was unable to get it to work since Focus changes are involved. BUG=1303709 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@466 0039d316-1c4b-4281-b951-d872f2087c98
* * add webkit version and V8 version to about:versionerikkay@google.com2008-08-065-42/+105
| | | | | | | | | * reformat page * use new product image rather than an http link to google.com BUG=1300256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@465 0039d316-1c4b-4281-b951-d872f2087c98
* Drop FixedString. It's only used in two places, one where it doesn't really ↵evanm@google.com2008-08-061-6/+5
| | | | | | matter and the other where it was incorrect. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@458 0039d316-1c4b-4281-b951-d872f2087c98
* Remove projects browser_dll, plugin_dll and renderer_dll since they won't be ↵maruel@google.com2008-08-0610-1018/+0
| | | | | | used near term. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@452 0039d316-1c4b-4281-b951-d872f2087c98
* Don't link directly against GetPerformanceInfo so that win2k can be happy.mbelshe@google.com2008-08-061-4/+29
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@449 0039d316-1c4b-4281-b951-d872f2087c98
* fix build (take 2)darin@google.com2008-08-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@445 0039d316-1c4b-4281-b951-d872f2087c98
* fix build bustagedarin@google.com2008-08-061-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@444 0039d316-1c4b-4281-b951-d872f2087c98
* B=1302955 R=sky attempt to bandaid situation where tab_data_ and child list ↵beng@google.com2008-08-061-0/+11
| | | | | | can get out of sync git-svn-id: svn://svn.chromium.org/chrome/trunk/src@443 0039d316-1c4b-4281-b951-d872f2087c98
* Improve NPRuntime marshalling by adding glue functions for serializing / ↵darin@google.com2008-08-063-44/+19
| | | | | | | | deserializing a NPIdentifier. Also kill some extraneous std::string copies in NPVariant_Param code. If you like I could eliminate NPIdentifier_Param in place of using NPIdentifier directly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@442 0039d316-1c4b-4281-b951-d872f2087c98
* Remove #ifdef's used to support split dlls. Since we don't supportmaruel@google.com2008-08-062-36/+1
| | | | | | | split dlls for now, remove these dead conditional compilations. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@440 0039d316-1c4b-4281-b951-d872f2087c98
* Fix win2k testers by commenting out a function that is not supportednsylvain@google.com2008-08-061-3/+4
| | | | | | | on windows 2000. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@439 0039d316-1c4b-4281-b951-d872f2087c98
* Revert change 408 to see if it fixes the ui tests.nsylvain@google.com2008-08-065-25/+23
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@438 0039d316-1c4b-4281-b951-d872f2087c98
* The printing NewCookie() must start counting at 1 and not 0, since 0deanm@google.com2008-08-061-1/+2
| | | | | | | | is reserved to mark a document as unassigned. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@429 0039d316-1c4b-4281-b951-d872f2087c98
* Move the printing cookie from direct atomic operations to AtomicSequenceNumber.deanm@google.com2008-08-062-8/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@426 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes http://b/issue?id=1257424, which is a need to implement a global ↵iyengar@google.com2008-08-069-160/+393
| | | | | | | | | | | | | | | | backing store cache. The current backing store cache is only used for invisible tabs and every other RenderWidgetHost holds a reference to its backing store. This CB proposes a change where in we have a global backing store cache, whose size can be controlled based on strategies like available resources etc. At this point the strategy is not implemented and the size is left at 5. We no longer maintain a reference to the backing store in the RenderWidgetHost. Every host queries the global cache for its backing store. The cache provides methods to create the backing store and populate it with the required dib. The other change is to use the renderer dib when the size of the bitmap being painted is the same as the backing store size. This is an attempt to improve performance in operations like scrolling. Bug=1257424 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@422 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 1303709: Crash: Switching between tabs with a Find box open on both tabs ↵finnur@google.com2008-08-062-16/+16
| | | | | | | | | | | | | | | | | | nulls the Esc handler This is a temporary fix until we fix this properly: http://b/issue?id=1307173 This change makes sure that when we Register as the Esc handler, we store who was registered at the time the Find box was opened for the first time (as opposed to always restoring to what RegisterAccelerator tells us was registered before us). Also, if we have already been unregistered, we don't restore the old value. This prevents us from restoring to another tab's handler when the tab registering gets focus notification before the tab *un*registering receives blur notification (through FocusWillChange). BUG=1303709 TEST=Manually perform the steps listed in the bug and make sure it doesn't crash. Also make sure that the browser's Esc handler still works after closing the Find box. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@421 0039d316-1c4b-4281-b951-d872f2087c98
* Updated strings for ja and ko.mal@google.com2008-08-062-3/+3
| | | | | | TBR= glen@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@417 0039d316-1c4b-4281-b951-d872f2087c98
* The rectangle passed in to MoveContents is a content rectangle, not a window ↵erg@google.com2008-08-062-4/+5
| | | | | | | | rectangle as I assumed. BUG=1186573 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@411 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more consumers of ML::WatchObject to ObjectWatcher.darin@google.com2008-08-055-23/+25
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@408 0039d316-1c4b-4281-b951-d872f2087c98
* Add common\ipc_message_utils.cc to SCons build.sgk@google.com2008-08-051-0/+1
| | | | | | TBR: maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@403 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash due to race conditions in the way Browser unhooks itsbeng@google.com2008-08-051-27/+37
| | | | | | | | | | | | | | | NotificationObserver for WebContents disconnection... not all codepaths would result in Browser being removed as an observer. This change simplifies things a bit by adding Browser as an observer for a TabContents whenever it is inserted into the Browser's tabstrip, and removing it whenever it's detached. These notifications are designed to be symmetrical and handle all use cases including create/destroy(close) and also tab dragging/detaching. Thanks to Adam for helping diagnose this and suggesting this fix. B=1307678 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@402 0039d316-1c4b-4281-b951-d872f2087c98
* Another day, another prepopulate data change.pkasting@google.com2008-08-051-28/+30
| | | | | | | | This should be the last substantive change to this list for beta; these are the search engine additions/removals from the quality team. The only remaining change after this is the last-minute change to the Google referrer that we need to wait until next week to do. BUG=1307246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@401 0039d316-1c4b-4281-b951-d872f2087c98
* Left-align the distributor logo on RTL Vista while we wait for a properly ↵glen@google.com2008-08-051-2/+10
| | | | | | | | flipped frame. BUG=1308358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@396 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply revision 380 since it wasn't the cause of the build breakage.maruel@google.com2008-08-053-13/+19
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@394 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 379 since it wasn't the issue with the build breakage.maruel@google.com2008-08-058-194/+286
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@393 0039d316-1c4b-4281-b951-d872f2087c98
* Revert revision 380 to see if it fixes the build. Please reapply once the ↵nsylvain@google.com2008-08-053-19/+13
| | | | | | tree is green. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@390 0039d316-1c4b-4281-b951-d872f2087c98
* Revert change 379 to see if it fixes the build. Please reapply when it's green.nsylvain@google.com2008-08-058-286/+194
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@388 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing an issue where BiDi text in window titles was not displayed correctly ↵idana@google.com2008-08-051-0/+7
| | | | | | | | on Vista with aero. BUG=1306227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@385 0039d316-1c4b-4281-b951-d872f2087c98
* While uninstalling Chrome look for return codes from chrome.exe that ↵rahulk@google.com2008-08-053-13/+19
| | | | | | | | indicate success instead of checking for failure codes. This will prevent us from uninstalling Chrome when chrome.exe process gets killed. BUG=1307273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@380 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the quantity of includes and template specialization in ↵maruel@google.com2008-08-058-194/+286
| | | | | | ipc_message_utils.h. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@379 0039d316-1c4b-4281-b951-d872f2087c98
* Copy WM_GETOBJECT handler impl from XPFrame to HWNDViewContainer. This will ↵beng@google.com2008-08-052-1/+63
| | | | | | | | | | be used for the new frames. Also provide virtual stub handlers for WM_ENDSESSION and WM_POWERBROADCAST B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@378 0039d316-1c4b-4281-b951-d872f2087c98
* Grab bag of random cleanups, implementation of some more methods, etc. I'm ↵beng@google.com2008-08-0513-6/+144
| | | | | | | | going to become more methodical about this soon, I promise. B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@377 0039d316-1c4b-4281-b951-d872f2087c98
* Add new memory_test.exe to SCons build.sgk@google.com2008-08-052-0/+98
| | | | | | TBR: mbelshe git-svn-id: svn://svn.chromium.org/chrome/trunk/src@376 0039d316-1c4b-4281-b951-d872f2087c98
* A few more translated strings. mal@google.com2008-08-052-45/+45
| | | | | | TBR= glen@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@366 0039d316-1c4b-4281-b951-d872f2087c98
* Major udpate of translated strings, completing most languages (well there's ↵mal@google.com2008-08-0541-311/+406
| | | | | | | | an update for _every_ lang, but I don't know if LQA is complete). R= glen@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@363 0039d316-1c4b-4281-b951-d872f2087c98
* Initial version of a chrome memory test. This is not yet done; as it stillmbelshe@google.com2008-08-059-15/+658
| | | | | | | | | | | | | | | | | | | | | | causes intermittent chrome crashes. But, checking in an intermediate step so that others can play with it too. Basic concept is to have a pre-loaded replay cache with interesting data. This test then drives chrome through automation, simulating a sequence of pages in each tab in a way that a user might also do so; this allows us to get per-tab caching of data similar to what the user would see. Includes a logged in gmail session, a few pages that exercise some javascript, several languages, and pages from many mainstream sites. Lots more can be done with this test going forward; for now the goal is to just measure and track memory. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@361 0039d316-1c4b-4281-b951-d872f2087c98
* fix bustagebeng@google.com2008-08-054-1/+36
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@360 0039d316-1c4b-4281-b951-d872f2087c98
* Add the TabStrip to the BrowserView2. (hooked up for OpaqueFrame only at ↵beng@google.com2008-08-059-3/+119
| | | | | | | | this point). Make non-client hittest logic mostly work. Window is somewhat interactive again. Yay! B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@359 0039d316-1c4b-4281-b951-d872f2087c98
* Add the AeroGlassFrame and AeroGlassNonClientView for Vista.beng@google.com2008-08-0510-53/+519
| | | | | | | | Note that AeroGlassFrame needs a NonClientView as well - even though Windows draws most of the frame and its borders, we do some custom rendering in the non-client area, such as the distributor logo, the client edge and toolbar backgrounds. This necessitated allowing Window to support an optional NonClientView. I just jimmied this in for now... can clean up that API later if desired. B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@352 0039d316-1c4b-4281-b951-d872f2087c98
* Another attempt at this CL.jcampan@google.com2008-08-049-54/+225
| | | | | | | | | I had to revert because it was somehow causing regressions on the page cycler and start-up tests. (I suspect because I did add an IPC message not at the end of the message list) TBR=beng git-svn-id: svn://svn.chromium.org/chrome/trunk/src@351 0039d316-1c4b-4281-b951-d872f2087c98
* Always enabled the crash reporting when crash_service.exe is used instead of ↵nsylvain@google.com2008-08-042-6/+11
| | | | | | Google Update. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@350 0039d316-1c4b-4281-b951-d872f2087c98
* Add browser/views/frame/browser_view2.cc.sgk@google.com2008-08-041-0/+1
| | | | | | TBR: beng git-svn-id: svn://svn.chromium.org/chrome/trunk/src@346 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show the "Cert info" button when running with Gears (or anytime you ↵jcampan@google.com2008-08-041-3/+10
| | | | | | | | | | | have a cert with no associated os cert handle) as it requires the os cert handle. BUG=1302313 TEST=Run GMail with Gears in offline mode. Open the page info. There should be no Cert Info button. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@345 0039d316-1c4b-4281-b951-d872f2087c98