summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use base::ObjectWatcher instead of MessageLoop::WatchObject for some ↵darin@google.com2008-08-048-52/+47
| | | | | | consumers in the net module. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@335 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the major and minor webkit version numbers from ↵erikkay@google.com2008-08-048-3/+156
| | | | | | 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
* Checking in the rest of the .lib changes, previous commit was only done from ↵sgk@google.com2008-08-0411-141/+186
| | | | | | | | | chrome/ and only got those SConscript files. R=evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@331 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
* was originally reviewed by jar as part of revision 322, but i mistakenly ↵darin@google.com2008-08-042-8/+9
| | | | | | didn't commit it along with that revision git-svn-id: svn://svn.chromium.org/chrome/trunk/src@328 0039d316-1c4b-4281-b951-d872f2087c98
* Adding specializations of hash() for various string types. GCC requires you ↵pinkerton@google.com2008-08-041-5/+66
| | | | | | | | bring your own hash function for maps and sets. Review URL: http://chrome-reviews.prom.corp.google.com/1085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@327 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-045-89/+35
| | | | | | | | | | 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
* fix builddarin@google.com2008-08-041-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@324 0039d316-1c4b-4281-b951-d872f2087c98
* Mark scons.py executable.evanm@google.com2008-08-041-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@323 0039d316-1c4b-4281-b951-d872f2087c98
* Revise the ObjectWatcher API to be one-to-one with the object being watched. ↵darin@google.com2008-08-045-157/+126
| | | | | | | | | | | | This greatly simplifies the implementation and API. Now consumers can use ObjectWatcher as a "smart pointer" class, which automatically cleans-up after itself when it goes out of scope. I also switched away from the Task based API to one that is more compatible with MessageLoop::WatchObject. That allows me to make minimal changes to existing code, and it also means that consumers do not have to allocate Task objects to use this API. In this CL, I included changes to make a couple consumers use ObjectWatcher instead of ML::WatchObject. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@322 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gcc/msvc differencespinkerton@google.com2008-08-041-2/+3
| | | | | | Review URL: http://chrome-reviews.prom.corp.google.com/1104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@321 0039d316-1c4b-4281-b951-d872f2087c98
* oops, stay on the old webkit. tbr=nsylvaindarin@google.com2008-08-041-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@320 0039d316-1c4b-4281-b951-d872f2087c98
* Use /trunk/deps/third_partydarin@google.com2008-08-041-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@319 0039d316-1c4b-4281-b951-d872f2087c98
* Fix missing comma new string_piece.cc file.sgk@google.com2008-08-041-1/+1
| | | | | | TBR: deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@316 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore directories that are externally added for the build. These directoriesmaruel@google.com2008-08-040-0/+0
| | | | | | | appears as '?' in 'svn status' and reduce its usefulness. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@315 0039d316-1c4b-4281-b951-d872f2087c98
* Remove incorrect scoping on method declarations.deanm@google.com2008-08-041-4/+4
| | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@314 0039d316-1c4b-4281-b951-d872f2087c98
* Add StringPiece to the scons build.deanm@google.com2008-08-041-0/+2
| | | | | | TBR=sgk git-svn-id: svn://svn.chromium.org/chrome/trunk/src@313 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
* Fix overzealous removal of a couple of our own libraries from the LIBS ↵sgk@google.com2008-08-041-0/+4
| | | | | | | | variable in the sandbox build. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@311 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the block of common Windows system libraries that we link with ↵sgk@google.com2008-08-0433-700/+74
| | | | | | | | 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
* Pass 32-bit linker flag.evanm@google.com2008-08-041-1/+2
| | | | | | TBR=deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@309 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
* Convert webkit SConscript files to psuedo-builder calls.sgk@google.com2008-08-0312-14/+14
| | | | | | | | TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@305 0039d316-1c4b-4281-b951-d872f2087c98
* Convert submodules SConscript files to psuedo-builder calls.sgk@google.com2008-08-039-38/+22
| | | | | | | | TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@304 0039d316-1c4b-4281-b951-d872f2087c98
* Convert third-party SConscript files to psuedo-builder calls.sgk@google.com2008-08-0311-11/+11
| | | | | | | | TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@303 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chrome* pseudo-builders to the base construction environment to wrap the ↵sgk@google.com2008-08-032-0/+34
| | | | | | | | | | Command() and {Static,Shared}Library() builders calls. These provide a common place for us to abstact Windows/Mac/Linux differences in how we want these built. Added to both SConscript.main and SConscript.main.linux. TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@301 0039d316-1c4b-4281-b951-d872f2087c98
* ignore expired cookie in local-file-can-set-cookies.htmlmal@google.com2008-08-031-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@300 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback message loop testjar@google.com2008-08-033-21/+18
| | | | | | TBR git-svn-id: svn://svn.chromium.org/chrome/trunk/src@299 0039d316-1c4b-4281-b951-d872f2087c98
* This is a test, and will rollback asap after a build/test cycle starts.jar@google.com2008-08-033-18/+21
| | | | | | | | | | I use a counter of MessageLoop::Quit() calls so that I can re-post "extra" calls when MessageLoop::Run() terminates. This assures that no quits are lost... but I'm not sure if some code abused the Quit() calls, and already posts many-too-many quits :-/. I want to see if the tree tests go red, and how the distributed reliability test responds. The test should already pass the basic unit_test and base_unittest, but I'm not sure what the rest of the UI tests etc will do. If I'm lucky, they'll be "less" flakey. ...but they may just go red all over :-( TBR git-svn-id: svn://svn.chromium.org/chrome/trunk/src@298 0039d316-1c4b-4281-b951-d872f2087c98
* Add new common\common|glue.cc file.sgk@google.com2008-08-031-0/+1
| | | | | | TBR: maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@297 0039d316-1c4b-4281-b951-d872f2087c98
* r65 was reverted in r71 because of a crash spike in the reliability tests.mal@google.com2008-08-021-2/+3
| | | | | | | | | | | | | | | It hasn't relanded, yet, so I thought I'd put it back before it slips through the cracks. Original Description (r65, creis): Makes the process model heuristic for generated searches only apply in --process-per-site, since it isn't relevant otherwise. (This matters now that process-per-site-instance is the default.) BUG=1256259 TEST=Visit a non-Google page, then run a search from the location bar. The tab should switch renderer processes. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@295 0039d316-1c4b-4281-b951-d872f2087c98
* Filed bug 1306067 to reenable SavePageTest.SaveHTMLOnly. It is very flaky.maruel@google.com2008-08-021-1/+2
| | | | | | TBR git-svn-id: svn://svn.chromium.org/chrome/trunk/src@292 0039d316-1c4b-4281-b951-d872f2087c98
* If a disk cache entry is stored as an external file, and it is reused ↵rvargas@google.com2008-08-02128-2/+43
| | | | | | | | | (open/truncate/write/close), the current cache size should be modified accordingly. I'm also bumping up the version number for the cache files, to force re-creation with this revision. BUG=1305909 TEST=Unit test. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291 0039d316-1c4b-4281-b951-d872f2087c98
* Trim the dependencies of the plugin_dll and renderer_dll projects. ↵maruel@google.com2008-08-029-91/+91
| | | | | | | | Browser_dll will follow. At this point, plugin.dll and renderer.dll are roughly 35% smaller than browser.dll and chrome.dll BUG=1211534 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290 0039d316-1c4b-4281-b951-d872f2087c98
* Call ResetBirthTime before dispatching the user's Task. Also, remove ↵darin@google.com2008-08-023-13/+1
| | | | | | | | PostSignaledTask since it won't be used. TBR=jar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes http://b/issue?id=1303133, which was a crashiyengar@google.com2008-08-022-3/+5
| | | | | | | | | | | | in the renderer due to the plugin instance getting destroyed in the context of the ShowModalHTMLDialog request. The fix is to convert the WebPluginDelegateProxy object in a DeleteLater and to set its channel to NULL in the destructor. This ensures that the reply to the message can be sent out successfully. Bug=1303133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286 0039d316-1c4b-4281-b951-d872f2087c98
* Merge latest translated strings: Czech (cs) only.mal@google.com2008-08-021-1/+1
| | | | | | TBR= tc@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282 0039d316-1c4b-4281-b951-d872f2087c98
* Lots of fixes for various issues with the prepopulate data uncovered during ↵pkasting@google.com2008-08-021-191/+239
| | | | | | | | | testing. TBR=sky BUG=1291438,1291559,1291598,1293274,1295631,1295636,1298147,1305160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274 0039d316-1c4b-4281-b951-d872f2087c98
* A bunch of cleanups to beforeunload/unload handling.ojan@google.com2008-08-0219-194/+188
| | | | | | | | 1. Remove all the is_closing_browser plumbing. WebContents/TabContents/RenderViewHost/etc really shouldn't (and don't!) need to know anything about whether we're closing the browser or not. 2. Refactor the handling of beforeunload/unload state in browser.cc. I think this makes it considerably easier to reason about the correctness of it. 3. Added a couple TODOs for future cleanups that would have made this change a bit too large. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273 0039d316-1c4b-4281-b951-d872f2087c98
* Make our distributor logo light on XP (and leave it dark on Vista).glen@google.com2008-08-025-6/+8
| | | | | | Also conveniently fixes accessibility test 'failures' introduced by the last distributor logo change. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272 0039d316-1c4b-4281-b951-d872f2087c98
* I think this is the crashercpu@google.com2008-08-021-1/+2
| | | | | | | | | - I want to test this on the bots. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271 0039d316-1c4b-4281-b951-d872f2087c98
* Add a non-interactive distributor logo to the window frame. This logo ↵glen@google.com2008-08-017-21/+72
| | | | | | disappears in maximized view to avoid taking away from the tab strip. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270 0039d316-1c4b-4281-b951-d872f2087c98
* One more time, try to land the change that removes FreeLibrary(chrome_dll). ↵cpu@google.com2008-08-011-0/+4
| | | | | | | | | | Our code is not well prepared to handle this case. BUG=1286612 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the script since it was outputting the reverse of the actual result. Add ↵maruel@google.com2008-08-011-9/+34
| | | | | | debug output functionality at the same time. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268 0039d316-1c4b-4281-b951-d872f2087c98
* Let the logo display correctly on the History and Downloads pages in RTL. ↵glen@google.com2008-08-012-17/+35
| | | | | | | | This really should be using our GridLayout, but GridLayout had trouble both handling our row-spanned images, and cropping the image correctly when the column got too small (it center-cropped it). In the interests of not adding complication for Beta, I just modified the existing code. BUG=1304459 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267 0039d316-1c4b-4281-b951-d872f2087c98
* Include trivial definition of method in release mode (where we don't do ↵jar@google.com2008-08-011-0/+1
| | | | | | | | | | | | | tracking) Repair tree bustage TBR=darin M base/tracked.cc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266 0039d316-1c4b-4281-b951-d872f2087c98