summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix a bug where we try to reference a floating view afterpaulg@google.com2008-08-041-1/+6
| | | | | | | | | its corresponding object has been removed via the "Clear browsing data" command. BUG=1270230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@342 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented xml parsing of UMA server response data.petersont@google.com2008-08-042-48/+137
| | | | | | | | Used libxml rather than scanf/the wrapper class XmlReader. More data from the response are recorded to be used later to control the transmissions. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@341 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting my last commit, it seems to cause regression on the page cycler tests.jcampan@google.com2008-08-049-225/+54
| | | | | | TBR=beng git-svn-id: svn://svn.chromium.org/chrome/trunk/src@337 0039d316-1c4b-4281-b951-d872f2087c98
* fix build bustagedarin@google.com2008-08-042-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@336 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the major and minor webkit version numbers from ↵erikkay@google.com2008-08-041-0/+1
| | | | | | WebCore/Configurations/Version.xcconfig and generate a header file that allows us to keep our user agent info up to date. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@334 0039d316-1c4b-4281-b951-d872f2087c98
* Added testing of Chromium dialogs to the automated ui tests.jcampan@google.com2008-08-049-54/+225
| | | | | | | | | The new dialog command fires up a dialog (chosen randomly) and exercises it. BUG=None TEST=Run the automated_ui_test git-svn-id: svn://svn.chromium.org/chrome/trunk/src@333 0039d316-1c4b-4281-b951-d872f2087c98
* Ensures that we clean up TabContents with other types after a navigation ↵creis@google.com2008-08-042-28/+74
| | | | | | | | | | | commits, even if their NavigationEntries aren't adjacent to the current entry. Also makes NavigationController::Destroy compatible with NavigationControllerTest, which adds more tab types than TAB_CONTENTS_NUM_TYPES. Also re-enables the SwitchTypes tests and adds another to prevent regression of this bug. BUG=1296773 TEST=NavigationControllerTest.SwitchTypesCleanup git-svn-id: svn://svn.chromium.org/chrome/trunk/src@332 0039d316-1c4b-4281-b951-d872f2087c98
* When a new tab is opened (either the new tab page via Ctrl+T or pressing the ↵beng@google.com2008-08-045-14/+145
| | | | | | | | | | new tab button) or an address is opened from the address bar in a new tab (by pressing Alt+Enter), the opener is remembered briefly, allowing quick lookup in a new tab without disrupting the z-order experience. Full explanation in bug: B=1266404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@330 0039d316-1c4b-4281-b951-d872f2087c98
* Bring up the new frame (opaque version for XP only, for now).beng@google.com2008-08-0413-16/+1709
| | | | | | | | | | | | I've hidden this frame behind a command line switch (--magic_browzR) so as not to destabilize the main browser UI any further. Note that running with this switch is likely buggy, incomplete, crashy, etc. In order to make this work without disrupting a lot of existing code, I've had to make another BrowserView class (temporary) - BrowserView2. This also has to be a BrowserWindow implementor since that's the interface Browser uses to communicate with the UI. BrowserView2 and OpaqueNonClientView are the major new files in this CL, but BrowserView2 is pretty similar to BrowserView. OpaqueNonClientView is the view that renders the titlebar/borders/etc. It's layout/painting routines are a bit simpler than XPFrame's! B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@329 0039d316-1c4b-4281-b951-d872f2087c98
* Cross-platform: Let SCons abstract library names by getting rid of .lib ↵sgk@google.com2008-08-0420-267/+320
| | | | | | | | | | suffixes when linking with the libraries we build, replacing the lists of explicitly-suffixed "source files" with library base names in the environment LIBS variables. This requires having ChromeStaticLibrary() install .lib files in a $BUILD_TYPE/Libs directory, and adding that directory to $LIBPATH. R=evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@326 0039d316-1c4b-4281-b951-d872f2087c98
* Fix several issues with popup window locations:erg@google.com2008-08-044-85/+16
| | | | | | | | | | 1) Remove ConstrainedWindow::GenerateInitialBounds(), which is old and crufty and no longer relevant now that there are no unsuppressed, constrained popup windows. 2) Move the browser side positioning logic into Browser::BuildPopupWindow(). 3) Fix the window.open() handler so that when we aren't given top=/left= coordinates, we don't set the window origin (allowing the browser to do something more intelligent). BUG=1290758 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@325 0039d316-1c4b-4281-b951-d872f2087c98
* Convert overlooked libraries in mini_installer from being specified as extra ↵sgk@google.com2008-08-041-24/+3
| | | | | | | | input source files to the $LIBS variable. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@312 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the block of common Windows system libraries that we link with ↵sgk@google.com2008-08-0423-527/+26
| | | | | | | | everywhere into the base Windows environment. TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@310 0039d316-1c4b-4281-b951-d872f2087c98
* Convert chrome SConscript files to psuedo-builder calls.sgk@google.com2008-08-0332-36/+36
| | | | | | | | TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@306 0039d316-1c4b-4281-b951-d872f2087c98