summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge a bunch of SConscript.main back into SConscript.main.linux. My goal ↵evanm@google.com2008-08-011-30/+300
| | | | | | | | | | is to track .main as close as possible to minimize divergence. Using this (and the split SConstruct that keunwoo already wrote) you can build third_party by: scons Hammer/third_party and you can attempt to build base, though there's still a lot of work to be done. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ProcessPolicyTest.RunFindstrExe until it can be made to work on any ↵sgk@google.com2008-08-011-1/+2
| | | | | | | | | Windows drive. B=1305476 R=nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264 0039d316-1c4b-4281-b951-d872f2087c98
* Linuxify testing/SConscript.evanm@google.com2008-08-011-7/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263 0039d316-1c4b-4281-b951-d872f2087c98
* A new (private) interface is supplied that allows the object watcher (coding injar@google.com2008-08-014-3/+35
| | | | | | | | | | | | | | | | | | | | | proress by Darin) to Post the task (when the object is signaled) into a message loop. I also cleaned up the time-of-birth for tasks that sleep for a while before running (such as those held by the timer, or by passed to this new PostSignaledTask() interface. r=darin M base/tracked.cc M base/message_loop.h M base/message_loop.cc M base/tracked.h git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262 0039d316-1c4b-4281-b951-d872f2087c98
* SCons build:sgk@google.com2008-08-016-18/+16
| | | | | | | | | | | | * Add base\object{,_watcher}.cc. * Add chrome\browser\bookmark_{codec,storage}.cc. * Add chrome\views\frame\browser_window_factory.cc. * Split of app\main.cc into app\chrome_{dll,exe}_main.cc, with added CPPDEFINES for {BROWSER,RENDERER,PLUGIN}_DLL. * Move $CSCRIPT, $PLATFORMSDK* and $VISUAL_STUDIO variables to the win32-specific construction environment. * Remove unnecessary comments. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261 0039d316-1c4b-4281-b951-d872f2087c98
* Emergency string change.glen@google.com2008-08-011-1/+1
| | | | | | TBR=tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260 0039d316-1c4b-4281-b951-d872f2087c98
* A helper class for calling RegisterWaitForSingleObject with the objective of ↵darin@google.com2008-08-015-0/+411
| | | | | | | | | | | | | | | | | | | | finding out when objects get signaled. The API is pretty simple: - consumer can associate a Task with a HANDLE via AddWatch method - when the HANDLE is signaled, we run the Task on the thread that called AddWatch - the consumer can call CancelWatch to abort the watch - a watch is one-shot: after the object is signaled, the consumer has to call AddWatch again to wait a second time - if the ObjectWatcher instance is destroyed, it cancels all associated watches. Implementation details: - Uses RegisterWaitForSingleObject to run a function on the wait thread. This avoids extra thread marshaling to a worker thread. - Uses a Task to get back onto the origin thread. This is possible due to the UnregisterWaitEx(INVALID_HANDLE_VALUE) call. - Once on the origin thread, runs the consumer's Task directly. This is the first part of changes I want to make to MessageLoop::WatchObject. For now, I have not made any changes to existing code. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259 0039d316-1c4b-4281-b951-d872f2087c98
* Automation provider should send real windows messages to the window when ↵beng@google.com2008-08-011-8/+33
| | | | | | | | simulating drags, rather than ChromeViews events. Sending ChromeViews events directly to the RootView means that capture isn't set up properly and some state relating to dragging isn't saved on the frame. B=1303306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258 0039d316-1c4b-4281-b951-d872f2087c98
* Update xcodeprojsmmentovai@google.com2008-08-011-6397/+19578
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257 0039d316-1c4b-4281-b951-d872f2087c98
* Update xcodeprojsmmentovai@google.com2008-08-019-372/+2747
| | | | | | Review URL: http://chrome-reviews.prom.corp.google.com/996 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256 0039d316-1c4b-4281-b951-d872f2087c98
* Update TLD data, incorporating recent changes from Mozilla as well as morepamg@google.com2008-08-011-48/+1137
| | | | | | | | | | | | | | | updates. The additional information included here has also been submitted to Mozilla at https://bugzilla.mozilla.org/show_bug.cgi?id=447815. This was reviewed in the old repository as pamg/tld-info. R=pkasting BUG=1277961, 1283371 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254 0039d316-1c4b-4281-b951-d872f2087c98
* Make closetabsopenedby walk the whole tabstrip instead of just all the tabs ↵ojan@google.com2008-08-011-1/+1
| | | | | | to the right of the tab whose context menu was used. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253 0039d316-1c4b-4281-b951-d872f2087c98
* The addition of the AtExitManager test in the singleton dll test makes ↵cpu@google.com2008-08-012-4/+2
| | | | | | | | | | | purify-sub angry. - Not sure what is the issue, purify reports FMM (freeing mismatched memory), but I don't see why. - Don't do the frees inside the dll unload callback directly. TBR=erikkay git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DCHECK in history_backend by ensuring we clear redirect tracking state ↵timsteele@google.com2008-08-014-6/+81
| | | | | | | | | | | | | whenever the RenderView is told that a provisional load has started for the main frame. The DCHECK(params->referrer == params->redirects[0]) was firing because: a) page A was loaded, triggered WillPerformClientRedirect b) after the provisional load started for the destination page of A's client redirect, but before this load was committed, the browser makes a Navigation request for page B. c) When page B's load is committed, the RenderView's completed_client_redirect_src_ was still set, resulting in a CLIENT_REDIRECT transition type and forwarding the src value through params->referrer -- but params->redirects was now completely unrelated. Kaboom. This fix should be general enough to handle cases (that are relatively likely in the wild) where WebKit legitimately cancels the redirect, instead of just the browser doing so. Note we can't depend on dispatchDidCancelClientRedirect because we get that callback on both completion and cancellation of a client redirect. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to display reverse dependencies, e.g. which projects depends ↵maruel@google.com2008-08-012-16/+50
| | | | | | | | on a specific project. Remove C++ style ; in python script. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to dynamically generate keywords. Mark the Google engine as ↵pkasting@google.com2008-08-0110-160/+277
| | | | | | | | needing this. This ensures that users in countries where the Google base URL is not "google.com" will see the appropriate keyword for their local country (and can trigger it for tab-to-search, etc.). BUG=1301290 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a backend for the bookmarks bar that reads/writes to a JSONsky@google.com2008-08-016-0/+640
| | | | | | | | | | | | file. These files aren't being built or used yet (though a test case exists that is ifdef'd out). BUG=1256202 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248 0039d316-1c4b-4281-b951-d872f2087c98
* Use newer icu38 (SCons change).evanm@google.com2008-08-011-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the BrowserView to the XPFrame/VistaFrame, and moves the ↵beng@google.com2008-08-0115-150/+272
| | | | | | | | | | | | | | | | | | | | BrowserToolbarView and StatusBubble into it. Also restructures the creation of the Frame. This is significant! The Browser now constructs a frame via a new static BrowserWindow::CreateBrowserWindow method (see browser_window_factory.cc). Recall the diagram in the architectural overview doc - the BrowserView object is the one that implements the interface that the Browser object uses to communicate with the UI. The Browser object communicates to the BrowserView directly through this interface, but not directly to the frame. What actually happens right now in CreateBrowserWindow is that an XP/VistaFrame is constructed, but this is _not_ the object returned to the Browser, rather when the XP/VistaFrame is init'ed, it constructs a BrowserView that also implements BrowserWindow. This is the object that's returned to the Browser. Since both BrowserView and XP/VistaFrame implement BrowserWindow, I am now able to gradually migrate functionality from the frames to BrowserView. During this process BrowserWindow functions not handled yet by BrowserView will be forwarded to the appropriate frame. Modifies the Accessibility UI tests to account for this extra level of indirection (should only be temporary while I'm moving things around). This does actually pass the UI tests. See the whiteboard in my office for a diagram. This is a bit confusing right now since there's so much going on. Sadly the only way to get where we need to go incrementally is to make a mess on the way. B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in DialogClientView caused by recursion of Close calls. When ↵beng@google.com2008-08-011-6/+8
| | | | | | | | migrating from Window to DialogClientView, I neglected to insert the check into this function to see if the dialog had already been accepted by the user before trying to abort. B=1304032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244 0039d316-1c4b-4281-b951-d872f2087c98
* Using a better seed. Using time() causes the random sequence to start with ↵jcampan@google.com2008-08-011-1/+4
| | | | | | | | the same number when run several times consecutively. BUG=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243 0039d316-1c4b-4281-b951-d872f2087c98
* Generate the new DLLs. Note that they still have the same size than ↵maruel@google.com2008-08-0113-13/+1064
| | | | | | | | | | chrome.dll due to interdependencies. This will be fixed later. The new dlls are not built by default. BUG=1211534 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the source files containing main function so they can be quicklymaruel@google.com2008-08-015-48/+78
| | | | | | | | | | | identified to their owning project. Add #ifdef to make the ChromeMain function exclude parts depending on the relevancy of the dll generated. BUG=1211534 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241 0039d316-1c4b-4281-b951-d872f2087c98
* Fix convert_dict output directory.maruel@google.com2008-08-012-5/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240 0039d316-1c4b-4281-b951-d872f2087c98
* Forward declare GURL in cookie_policy.deanm@google.com2008-08-013-2/+6
| | | | | | TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239 0039d316-1c4b-4281-b951-d872f2087c98
* Forward declare Task in ssl_manager.h. Cleanup some uses of ↵deanm@google.com2008-08-014-4/+3
| | | | | | | | notification_service.h. TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some old unused code from the cookie monster unittest.deanm@google.com2008-08-011-19/+0
| | | | | | TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237 0039d316-1c4b-4281-b951-d872f2087c98