summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added support for PostMessage from the automation framework toiyengar@google.com2008-08-158-0/+64
| | | | | | | the renderer. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@964 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@963 ↵brettw@google.com2008-08-1516-414/+83
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the scons build (file name change).tc@google.com2008-08-151-2/+4
| | | | | | TBR=rvargas git-svn-id: svn://svn.chromium.org/chrome/trunk/src@962 0039d316-1c4b-4281-b951-d872f2087c98
* -Add error code for chunked encodingericroman@google.com2008-08-153-7/+117
| | | | | | | | | | -Add unit test for chunk-size > 2GB -Allow trailing space (0x20) -Document how other browsers parse the chunk-size BUG=1326627 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@961 0039d316-1c4b-4281-b951-d872f2087c98
* Second pass move the os dependent code apart on the disk cache.rvargas@google.com2008-08-1513-40/+267
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@960 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing files from the previous changejoshia@google.com2008-08-153-0/+15
| | | | | | | TBR=iyengar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@959 0039d316-1c4b-4281-b951-d872f2087c98
* Final changes to make checkdeps happy.brettw@google.com2008-08-152-0/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@958 0039d316-1c4b-4281-b951-d872f2087c98
* Code to facilitate sending message to external host.joshia@google.com2008-08-1512-3/+203
| | | | | | | | | | Note that at this time the parameters to the message are still tentative. The call goes as a sync call from renderer to the browser. From then onwards it happens async and no return value is available yet. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@957 0039d316-1c4b-4281-b951-d872f2087c98
* Cleans up notifications for the NavigationController. There were severalbrettw@google.com2008-08-1516-83/+414
| | | | | | | | | | | | | | | | | | | | | | | | notifications before and some of them were very unclear and misused (STATE_CHANGED). This one, and PRUNED were called unnecessarily in some cases as well. I replaced STATE_CHANGED and INDEX_CHANGED with ENTRY_COMMITTED which is more clear and covers (I think!) all the cases that the callers care about. I added a simple notification testing helper class, and used in the navigation controller unit tests to make sure we get the proper notifications. I had to change NotificationSource/Details to have a = and copy constructor so I can track them easily in my helper. I don't see why this would be bad. As part of this, I got very frustrated recompiling the world whenever navigation_types.h changed. So I removed this dependency from the notification service which everybody includes. Most of the changed files are adding notification_types.h in the .cc file where it's needed. BUG=1325636,1321376,1325779 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@956 0039d316-1c4b-4281-b951-d872f2087c98
* Copy from http://chrome-reviews.prom.corp.google.com/1237 (new gcl ↵timsteele@google.com2008-08-1519-22/+232
| | | | | | | | | | | | | | | | | | | changelist model). Description was: Conditionally include personalization/ code by surrounding the hooks into this module with #ifdef CHROME_PERSONALIZATION in various .h/.cc files. Building with the module requires adding this macro as a preprocessor definition in build/internal/essential.vsprops, and adding it to the VCResourceCompiler tool's command line (using /d). We will try and make this easier in the future. TBR=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@955 0039d316-1c4b-4281-b951-d872f2087c98
* Step 1 at making Gears run in the renderer process (enabled by switchmpcomplete@google.com2008-08-1521-11/+721
| | | | | | | | | "--gears-in-renderer"). Requires some changes to gears to work. Most things work if you disable the sandbox. One major hole is that update tasks don't report status to the appropriate renderer. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@954 0039d316-1c4b-4281-b951-d872f2087c98
* Do not try to copy rlz.dll if we are not building Google Chrome. To keep the ↵rahulk@google.com2008-08-152-1/+17
| | | | | | | | | current behavior for now, batch file is setting environment variable explicitly. This will go away soon. BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@952 0039d316-1c4b-4281-b951-d872f2087c98
* Update gears to 0.4.15.0.mpcomplete@google.com2008-08-152-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@951 0039d316-1c4b-4281-b951-d872f2087c98
* a few unit tests broke on windows, fix those bugserikkay@google.com2008-08-151-2/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@950 0039d316-1c4b-4281-b951-d872f2087c98
* sigherikkay@google.com2008-08-151-1/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@949 0039d316-1c4b-4281-b951-d872f2087c98
* one more try before reverterikkay@google.com2008-08-152-15/+15
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@948 0039d316-1c4b-4281-b951-d872f2087c98
* Move all settings except for the ones that really need to be per-target intommentovai@google.com2008-08-155-86/+159
| | | | | | xcconfig files, which we can use on many project files. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@947 0039d316-1c4b-4281-b951-d872f2087c98
* fix build bustageerikkay@google.com2008-08-151-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@946 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some gcc'isms in compilation. Break circular dependency between ↵pinkerton@google.com2008-08-157-188/+230
| | | | | | v8_common and v8_proxy by introducing a new header, v8_properties. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@945 0039d316-1c4b-4281-b951-d872f2087c98
* Part two of file_util porting. Almost all of the functionality has been ↵erikkay@google.com2008-08-1511-166/+420
| | | | | | ported, including the unit tests now. Some of this API isn't great, and should be cleaned up, but I'd like to hold off and do that in a followup changelist. More general code cleanup is likely needed here as well. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@944 0039d316-1c4b-4281-b951-d872f2087c98
* String update (maybe the last one?)tc@google.com2008-08-151-1/+1
| | | | | | TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@943 0039d316-1c4b-4281-b951-d872f2087c98
* Make the error message extra verbose when the external developper didn't ↵maruel@google.com2008-08-151-1/+5
| | | | | | correctly install and register the SDK. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@942 0039d316-1c4b-4281-b951-d872f2087c98
* changes to pending needed to build WebCorepinkerton@google.com2008-08-153-4/+15
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@941 0039d316-1c4b-4281-b951-d872f2087c98
* Add rebaselined pixel test results to ↵dglazkov@google.com2008-08-152-1/+1
| | | | | | LayoutTets/editing/pasteboard/copy-standalone-image.html. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@940 0039d316-1c4b-4281-b951-d872f2087c98
* This change fixes http://b/1325836, which is obscure but has a benefit of ↵dglazkov@google.com2008-08-156-5/+72
| | | | | | | | | | | | | letting us pass another layout test: LayoutTests/editing/pasteboard/copy-standalone-image.html It would probably be good to send this upstream eventually, because WebKit/Win doesn't pass this test, either. WebKit/Mac for some reason inserts an extra P element around the image (along with margin-zero-setting style attribute to boot), but neither FF nor IE do that, so I decided to stick with the majority. The test was rebaselined to a) remove the extra P element in the node tree and b) take minor pixel shifts due to Chrome rendering changes into the account. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@939 0039d316-1c4b-4281-b951-d872f2087c98
* Add ref_counted.cc to the Mac build.mmentovai@google.com2008-08-153-2/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@938 0039d316-1c4b-4281-b951-d872f2087c98
* Large patch set (159 files total) to cleanup the includes.maruel@google.com2008-08-15160-681/+1218
| | | | | | | | | | - Slightly reduce the size of the generated .lib files ~3%. - Reduce the number of implicit and explicit atl and windows includes. hooray! - Help incremental build by reducing the number of unnecessary included files. - Split some template class in two, one base class for the common code and the specialization that inherits from the base class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@937 0039d316-1c4b-4281-b951-d872f2087c98
* rollback portions of r928 to test to see if it impacts perfdarin@google.com2008-08-152-251/+858
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@936 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the ICU DEPS for Linux data file SConscript changes.deanm@google.com2008-08-151-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@935 0039d316-1c4b-4281-b951-d872f2087c98
* Just like HandleWorkMessage, we have to be concerned with HandleTimerMessagedarin@google.com2008-08-151-0/+6
| | | | | | | | | | | being called outside the context of our Run method. In such cases, just kill the timer, and return. This fixes the crash that was observed with the Firefox3 importer unit test on Vista. TBR=jar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@933 0039d316-1c4b-4281-b951-d872f2087c98
* SCons build: add base\message_pump_win.cc.sgk@google.com2008-08-151-0/+1
| | | | | | TBR: darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@932 0039d316-1c4b-4281-b951-d872f2087c98
* Try only re-scheduling work when HandleWorkMessage is called.darin@google.com2008-08-152-1/+5
| | | | | | | TBR=jar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@930 0039d316-1c4b-4281-b951-d872f2087c98
* remove some testing code that i didn't mean to checkindarin@google.com2008-08-151-16/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@929 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce MessagePump to represent the native message pump used to drive adarin@google.com2008-08-1537-979/+1268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MessageLoop. A MessageLoop now has a MessagePump. This will make it possible to port the MessagePump interface to other platforms as well as to use an IO completion port for our worker threads on Windows. Currently, there is only MessagePumpWin, which attempts to preserve the pre-existing behavior of the MessageLoop. API changes to MessageLoop: 1. MessageLoop::Quit means return from Run when the MessageLoop would otherwise wait for more work. 2. MessageLoop::Quit can no longer be called outside the context of an active Run call. So, things like this: MessageLoop::current()->Quit(); MessageLoop::current()->Run(); are now: MessageLoop::current()->RunAllPending(); 3. MessageLoop::Quit can no longer be called from other threads. This means that PostTask(..., new MessageLoop::QuitTask()) must be used explicitly to Quit across thread boundaries. 4. No protection is made to deal with nested MessageLoops involving watched objects or APCs. In fact, an assertion is added to flag such cases. This is a temporary measure until object watching and APC facilities are removed in favor of a MessagePump designed around an IO completion port. As part of this CL, I also changed the automation system to use an IPC::ChannelProxy instead of an IPC::Channel. This moves the automation IPC onto Chrome's IO thread where it belongs. I also fixed some abuses of RefCounted in the AutomationProvider class. It was deleting itself in some cases! This led to having to fix the ownership model for AutomationProvider, which explains the changes to AutomationProviderList and so on. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@928 0039d316-1c4b-4281-b951-d872f2087c98
* Another string update.mal@google.com2008-08-155-9/+9
| | | | | | | | | | These are the latest. Reggie thinks there is a problem with tc, and that it's missing an upload of 500 strings for Arabic... so there might be one more coming. TBR= tc@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@926 0039d316-1c4b-4281-b951-d872f2087c98
* more bustage fixesdarin@google.com2008-08-151-2/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@925 0039d316-1c4b-4281-b951-d872f2087c98
* rollback r922 to fix windows bustagedarin@google.com2008-08-152-93/+93
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@924 0039d316-1c4b-4281-b951-d872f2087c98
* Unify all of the build settings, and tweak a couple. Set as many things as ↵mmentovai@google.com2008-08-152-648/+385
| | | | | | possible per project, not per target. Make base_unittests link with libbase.a instead of compiling everything separately in each target. Sort everything so files are easier to find and to reduce merge conflicts. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@923 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more compiler warnings.darin@google.com2008-08-157-109/+108
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@922 0039d316-1c4b-4281-b951-d872f2087c98
* To pass string_util_unittest, we need the ICU data file. To get the ICU ↵evanm@google.com2008-08-1512-20/+197
| | | | | | data file, we need some of PathService, which brings along with it a bunch of other needed functions. So here are a bunch of stubs, along with another file's worth of passing tests. (Based on a patch from Dean.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@921 0039d316-1c4b-4281-b951-d872f2087c98
* Make theme change notifications for the renderer originate from the ↵beng@google.com2008-08-1512-37/+26
| | | | | | | | | RenderWidgetHostHWND, not the frame. B=1326392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@918 0039d316-1c4b-4281-b951-d872f2087c98
* Make more cross-platformpinkerton@google.com2008-08-151-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@917 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the buildbot pylibs, this is not used.nsylvain@google.com2008-08-151503-239016/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@916 0039d316-1c4b-4281-b951-d872f2087c98
* Get googleurl and net to build on linux so we can parallelize even more. ↵tc@google.com2008-08-154-184/+208
| | | | | | This builds an empty net_unittests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@915 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the binary bz2 to have LF and force google.txt totc@google.com2008-08-142-1/+19
| | | | | | | | | | have LF because I can't seem to get svn to check in the right version with CR. TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@914 0039d316-1c4b-4281-b951-d872f2087c98
* Now force it back to CR for everyone.tc@google.com2008-08-141-19/+1
| | | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@913 0039d316-1c4b-4281-b951-d872f2087c98
* Force the eol style to LF so we always get the CR character.tc@google.com2008-08-141-1/+19
| | | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@912 0039d316-1c4b-4281-b951-d872f2087c98
* Fix eol style by deleting this file and re-adding.tc@google.com2008-08-140-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@911 0039d316-1c4b-4281-b951-d872f2087c98
* Force the line ending on this test data file to be CR. Thetc@google.com2008-08-141-19/+1
| | | | | | | | test for this compares this file to a bzip2'ed copy of the file. The bzip2'ed copy is based on there being a CR so force this to be the case on linux as well. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@910 0039d316-1c4b-4281-b951-d872f2087c98
* Initial check-in for the Coverage class. This checkin includes methods to ↵niranjan@google.com2008-08-141-0/+195
| | | | | | | | setup and teardown all that is needed measuring code coverage (instrumenting binaries, starting/stopping counters, etc). Next step is to modify the test runners to make use of this class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@909 0039d316-1c4b-4281-b951-d872f2087c98