summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* WebKit merge 40539:40668 [chromium side]levin@chromium.org2009-02-066-16/+36
| | | | | | | | | | Just adding and removing files corresponding to what has been done in webkit, and one test regression. Review URL: http://codereview.chromium.org/21124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9311 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for http://code.google.com/p/chromium/issues/detail?id=7429mbelshe@google.com2009-02-061-2/+4
| | | | | | | | | | | | | | | | | | | | | The problem is that webkit's timers are all based off the WTF/CurrentTime implementation, but the bridge was doing math between a webkit that implementation of currentTime and Chromium's base/Time implementation. Subtracting two different times leads to skew, which turned out to always be negative, so the CPU was spinning for most all timers. This bug was introduced during the merge which brought in timers. From the outside, functionality was correct (timers fired at the right time), but internally we could spin the CPU in while waiting for the timer to fire. There is some code to remove from SystemTimeChromium, which I will do, but that is in the webkit tree, so I'll do that separately. Review URL: http://codereview.chromium.org/21122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9307 0039d316-1c4b-4281-b951-d872f2087c98
* Icon for TestShell.appmark@chromium.org2009-02-063-1/+5
| | | | | | Review URL: http://codereview.chromium.org/21121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9306 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite the mac named process iterator:thomasvl@chromium.org2009-02-062-74/+103
| | | | | | | | | | - walk thru only processes for this user. - properly handle walking the data collect. - handle the number of processes increasing between count and data collection. Enable the one unittest the uses the named process iterator. Review URL: http://codereview.chromium.org/20122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9305 0039d316-1c4b-4281-b951-d872f2087c98
* Remove many more ifdefs around un-used methods to enable more functionality ↵pinkerton@chromium.org2009-02-063-34/+37
| | | | | | | | for mac and linux. Review URL: http://codereview.chromium.org/21118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9304 0039d316-1c4b-4281-b951-d872f2087c98
* Move the about:ipc tab to a dialog. This patch is kind of a hack, the Windowsbrettw@chromium.org2009-02-0615-662/+543
| | | | | | | | | | | | | specific code for the settings dialog and the table view are just copied from the old dialog. I tried to change as little as possible. The only significant change should be that I commented out saving the settings in the profile. This is a re-land of my previous patch which didn't ifdef the code based on the IPC logging preprocessor define. Previous review URL: http://codereview.chromium.org/19741 Review URL: http://codereview.chromium.org/20033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9303 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing header include to buffers.h.scherkus@chromium.org2009-02-061-0/+1
| | | | | | | | We use DCHECK inside buffers.h, but weren't including base/logging.h. Review URL: http://codereview.chromium.org/21120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9302 0039d316-1c4b-4281-b951-d872f2087c98
* Port SafeBrowsingProtocolManager to Mac and linux.paul@chromium.org2009-02-063-1/+14
| | | | | | Review URL: http://codereview.chromium.org/20119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9301 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent renderer from crashing on startup.jrg@chromium.org2009-02-062-14/+11
| | | | | | | | With pinkerton and jeremy. Review URL: http://codereview.chromium.org/20120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9300 0039d316-1c4b-4281-b951-d872f2087c98
* Commit my changes that simplify automation message unpacking.jam@chromium.org2009-02-065-509/+302
| | | | | | | TBR=amit Review URL: http://codereview.chromium.org/24002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9299 0039d316-1c4b-4281-b951-d872f2087c98
* Add a constraint on how many requests can be outstanding for any given ↵ericroman@google.com2009-02-067-30/+343
| | | | | | | | | | | | | | | render process (browser-side). Once the constraint is reached, subsequent requests will fail with net::ERR_INSUFFICIENT_RESOURCES. The bound is defined as "25 MB", which represents the amount of private bytes we expect the pending requests to consume in the browser. This number translates into around 6000 typical requests. Note that the upload data of a request is not currently considered part of the request's in-memory cost -- more data is needed on the average/maximum upload sizes of users before deciding what a compatible limit is. BUG=5688 Review URL: http://codereview.chromium.org/18541 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9298 0039d316-1c4b-4281-b951-d872f2087c98
* Make the new linux browser shut down cleanly.erg@google.com2009-02-064-4/+19
| | | | | | | Review URL: http://codereview.chromium.org/21112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9297 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Renderer Crash on OS X + update unit test.jeremy@chromium.org2009-02-062-8/+2
| | | | | | | | | | | | | | The problem was that the process shutdown_event_ was created in RenderProcess::GlobalInit() and then deleted in RenderProcess::GlobalCleanup() and was being accessed after it's deletion by the MessageLoop's destructor (which was trying to signal shutdown). MessageLoop was still retaining a reference to it since there was still an IPCSyncChannel listening on it. IPCSyncChannel hadn't stopped listening on it since it was being terminated via OnChannelError. This fix adds code that terminates listening on a channel when a Channel error occurs. Review URL: http://codereview.chromium.org/20114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9295 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselining a layout test - the text fonts are different. This is one of ↵sidchat@google.com2009-02-064-3/+19
| | | | | | | | those funky layout tests where the mac baseline is a lie, and it seems our output is actually slightly better than that shown by the mac baseline. Review URL: http://codereview.chromium.org/20094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9294 0039d316-1c4b-4281-b951-d872f2087c98
* Remove expected failures since the tests now pass.darin@chromium.org2009-02-061-9/+0
| | | | | | | | R=levin Review URL: http://codereview.chromium.org/20118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9293 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux build by adding resource_message_filter to the build.brettw@google.com2009-02-061-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9292 0039d316-1c4b-4281-b951-d872f2087c98
* Make ResourceMessageFilter compile on Mac. It stubs out a substantial part ofbrettw@google.com2009-02-069-83/+173
| | | | | | | | | the printing. It creates new base functions for converting PIDs to handles, and then closing them (since Windows requires this). This also fixes the formatting of image_util. Review URL: http://codereview.chromium.org/20109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9291 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure tab contents get cleaned up and dealloc'd correctly when a tab closes.pinkerton@chromium.org2009-02-062-5/+21
| | | | | | Review URL: http://codereview.chromium.org/20117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9290 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup forward declared classes that are not needed in chrome/renderer, ↵thestig@chromium.org2009-02-0613-56/+31
| | | | | | | | chrome/test/, and chrome/views. Also fix some lint issues while I'm at it. Review URL: http://codereview.chromium.org/20112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9289 0039d316-1c4b-4281-b951-d872f2087c98
* Make render_widget_host_unittest compile and run on POSIX.thestig@chromium.org2009-02-062-3/+21
| | | | | | Review URL: http://codereview.chromium.org/20115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9288 0039d316-1c4b-4281-b951-d872f2087c98
* Moves some navigation tests to the ignore list as we never intend tosky@google.com2009-02-062-8/+9
| | | | | | | | | | | | | | pass them. These fail because of differences in how the test shell navigation controller tracks navigations as compared to how the Mac implementation does it. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/21110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9287 0039d316-1c4b-4281-b951-d872f2087c98
* Allow purify scripts to take a --report_dir argument which specifies where ↵erikkay@google.com2009-02-063-28/+76
| | | | | | | | | the output data is written to. Also, add a --buildbot flag which will default the report_dir to a specific directory on chrome-web. Review URL: http://codereview.chromium.org/20097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9286 0039d316-1c4b-4281-b951-d872f2087c98
* New menu item for personalization project.munjal@chromium.org2009-02-063-0/+15
| | | | | | Review URL: http://codereview.chromium.org/21006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9285 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak on the async resource handler.rvargas@google.com2009-02-062-1/+4
| | | | | | | | BUG=7374 Review URL: http://codereview.chromium.org/20099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9284 0039d316-1c4b-4281-b951-d872f2087c98
* Update tests list. Three tests pass because of r9266. The other three seem ↵kuchhal@chromium.org2009-02-051-7/+0
| | | | | | | | | | to be passing consistently on MAC and WIN. BUG=7428 Review URL: http://codereview.chromium.org/24001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9282 0039d316-1c4b-4281-b951-d872f2087c98
* Add debugging info to hopefully catch what's causing 6316erg@google.com2009-02-051-0/+2
| | | | | | | BUG=6316 Review URL: http://codereview.chromium.org/21105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9281 0039d316-1c4b-4281-b951-d872f2087c98
* roll DEPS to pick up layout test fixdarin@chromium.org2009-02-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9280 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the 6-month flag functionality back into the criteria checker,gwilson@google.com2009-02-053-298/+474
| | | | | | | | | | | along with adding support for a boolean parameter that indicates whether the flag should be set or not. BUG=6802 Review URL: http://codereview.chromium.org/18490 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9278 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused ScriptCallContextV8.cppdglazkov@google.com2009-02-051-82/+0
| | | | | | | | R=darin Review URL: http://codereview.chromium.org/21104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9277 0039d316-1c4b-4281-b951-d872f2087c98
* Stub implementation of gtk browser window.estade@chromium.org2009-02-056-7/+264
| | | | | | Review URL: http://codereview.chromium.org/21107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9276 0039d316-1c4b-4281-b951-d872f2087c98
* fix webkit hammer buildtc@google.com2009-02-051-1/+3
| | | | | | | | | TBR=evan Review URL: http://codereview.chromium.org/21108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9275 0039d316-1c4b-4281-b951-d872f2087c98
* The final bits needed so we can navigate away from Flash pages without ↵evan@chromium.org2009-02-053-42/+41
| | | | | | | | | | | | | | crashing. Also fixes the plugin positioning. We needed to catch plug-removed and return TRUE, as well as implement a bit more of the GtkContainer API. Also, Flash seems to crash no matter what when I call the SetWindow with a NULL window, so don't do that for now. (It can be revisited once that code is remerged.) Review URL: http://codereview.chromium.org/22003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9274 0039d316-1c4b-4281-b951-d872f2087c98
* Implement tab detach notifications to remove tabs from UI.pinkerton@chromium.org2009-02-051-8/+31
| | | | | | Review URL: http://codereview.chromium.org/21100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9273 0039d316-1c4b-4281-b951-d872f2087c98
* Add X509Certificate::Verify stubs for Mac and Linux.wtc@chromium.org2009-02-057-39/+51
| | | | | | | | | | | | | | | | | They do nothing but return ERR_NOT_IMPLEMENTED. In SSLClientSocketWin, call X509Certificate::CreateFromHandle only once and store the result in the server_cert_ member. Add the CertVerifyResult::Reset method to clear all members. R=eroman BUG=3592 Review URL: http://codereview.chromium.org/21071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9272 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanup on the GRIT scons builder.tc@google.com2009-02-052-25/+41
| | | | | | | | | | | | | | - Cause the builder to have nicer output by removing a stray print in rc_header.py and adding a custom print function to the build action. - Fix the source scanner by hooking it up directly to the Builder, scanning for include dependencies and adding dependencies on the grit python source. Review URL: http://codereview.chromium.org/21102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9271 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate URLPattern with Extension user scripts.aa@chromium.org2009-02-0518-242/+388
| | | | | | | | | | Also refactored the UserScript class in UserScriptSlave and the UserScriptInfo structure in UserScriptMaster into a common location. Review URL: http://codereview.chromium.org/21070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9270 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some forward declared structs that are not being used.thestig@chromium.org2009-02-057-14/+9
| | | | | | | Also do some lint removal while I'm at it. Review URL: http://codereview.chromium.org/20107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9269 0039d316-1c4b-4281-b951-d872f2087c98
* Updated pipeline unit test and added mocks for a full audio pipeline.ralphl@chromium.org2009-02-054-78/+369
| | | | | | Review URL: http://codereview.chromium.org/21061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9268 0039d316-1c4b-4281-b951-d872f2087c98
* Adds pointer to WebKit bug in tests_fixable.sky@google.com2009-02-051-0/+2
| | | | | | | | | | BUG=none TEST=none TBR=jcampan Review URL: http://codereview.chromium.org/21106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9267 0039d316-1c4b-4281-b951-d872f2087c98
* Report timeout before sending EOF to mark the correct test as timed out.kuchhal@chromium.org2009-02-051-1/+1
| | | | | | | | BUG=7428 Review URL: http://codereview.chromium.org/20102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9266 0039d316-1c4b-4281-b951-d872f2087c98
* Fix double free in test_shell_tests on linux with SHARED=1.tc@google.com2009-02-051-7/+14
| | | | | | | | | | Original patch by Craig Schlenter at: http://codereview.chromium.org/17233 Review URL: http://codereview.chromium.org/21103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9265 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webkit glue stubs.jrg@chromium.org2009-02-052-31/+13
| | | | | | | | | Make unit tests link with libglue.a directly. OSX-only change. Review URL: http://codereview.chromium.org/21065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9264 0039d316-1c4b-4281-b951-d872f2087c98
* Implement NamedProcessIterator in base/process_util_mac.mm. Patch by Naokimark@chromium.org2009-02-056-76/+175
| | | | | | | | | Takano <takano.naoki@gmail.com> Review URL: http://codereview.chromium.org/18192 Review URL: http://codereview.chromium.org/21097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9263 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable the printing test while I find out what I did wrong.maruel@chromium.org2009-02-051-2/+2
| | | | | | | TBR=brettw Review URL: http://codereview.chromium.org/20105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9262 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break when ENABLE_WORKERS is setjam@chromium.org2009-02-051-0/+9
| | | | | | Review URL: http://codereview.chromium.org/21096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9261 0039d316-1c4b-4281-b951-d872f2087c98
* Removes the expected selenium failures. These were fixed by r9233.sky@google.com2009-02-051-1/+0
| | | | | | | | | | BUG=none TEST=none TBR=eroman Review URL: http://codereview.chromium.org/21099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9260 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using the function computePageRects() duplicated in FrameChromium.cpp.maruel@chromium.org2009-02-054-18/+37
| | | | | | | Use the code from PrintContext instead. Review URL: http://codereview.chromium.org/20058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9258 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: get us to the point where we crash at browser->window()->Show()agl@chromium.org2009-02-054-2/+27
| | | | | | | Review URL: http://codereview.chromium.org/20098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9257 0039d316-1c4b-4281-b951-d872f2087c98
* Build the rest of renderer on linux (except plugins).estade@chromium.org2009-02-052-11/+4
| | | | | | Review URL: http://codereview.chromium.org/20092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9256 0039d316-1c4b-4281-b951-d872f2087c98
* Allow clean compilation of dmg_fp under g++ -Wall.mark@chromium.org2009-02-054-25/+263
| | | | | | | | | | | | | | | | | | We build dmg_fp as part of libbase, which mostly contains our own code. As such, we want to build libbase with -Wall -Werror or equivalent. Since the gyp model does not allow per-file compilation settings, we can't do this without modifying dmg_fp or building it into its own library with its own settings. The former seems less invasive. The following gcc warnings are fixed by this patch: - suggest parentheses around assignment used as truth value - deprecated conversion from string constant to 'char*' - comparison between signed and unsigned integer expressions - label 'something' defined but not used - 'whatever' may be used uninitialized in this function Review URL: http://codereview.chromium.org/21093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9255 0039d316-1c4b-4281-b951-d872f2087c98