summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove ExtensionProcessManager and move its functionality ontompcomplete@google.com2009-04-1617-215/+136
| | | | | | | | | | | ExtensionsService. Also add "chrome-extension" to the list of schemes that BrowsingInstance groups per-site, instead of per-tab. This means that navigating to an extension URL will use the same process as a running extension toolstrip. Review URL: http://codereview.chromium.org/77002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13887 0039d316-1c4b-4281-b951-d872f2087c98
* Mark tests that are failing from the merge. I'm investingating now.tc@google.com2009-04-161-0/+11
| | | | | | | | | TBR=ojan Review URL: http://codereview.chromium.org/79027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13886 0039d316-1c4b-4281-b951-d872f2087c98
* Whitespace change to trigger a build.tc@google.com2009-04-161-0/+1
| | | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/67237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13885 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of webkit merge from 42547 to 42580.tc@google.com2009-04-169-27/+20
| | | | | | | | | | | | | | | | In http://trac.webkit.org/changeset/42579 ScriptController::createInlineEventListener was changed to take 4 params instead of 3, so I updated the V8 ScriptController to do the same. We don't seem to need the extra arg because both v8_proxy::createSVGEventHandler and v8_proxy::createInlineEventListener are identical. Also one new .cpp/.h file from http://trac.webkit.org/changeset/42580 Review URL: http://codereview.chromium.org/79008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13884 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Sandbox on SnowLeopard.jeremy@chromium.org2009-04-162-26/+60
| | | | | | | | | | 1. Punch holes in Sandbox config to accomodate changes in the Font Server. 2. Add warmup for CGImageSourceGetStatus(). 3. Misc cleanup for rendererMainPlatformDelegate::PlatformInitialize() function. Review URL: http://codereview.chromium.org/67232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13882 0039d316-1c4b-4281-b951-d872f2087c98
* Minor tweaks to deal with the split between CFBundleVersionjrg@chromium.org2009-04-161-1/+6
| | | | | | | | | (which has numerical limits) and Chrome version (which does not). Use Chrome version when we can. Review URL: http://codereview.chromium.org/79021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13881 0039d316-1c4b-4281-b951-d872f2087c98
* Minor tweaks to make coverage happier on OSX.jrg@chromium.org2009-04-161-14/+22
| | | | | | | | | See 1st post at (XXX internal URL removed XXX) Code coverage for base: 85% (!!!) Review URL: http://codereview.chromium.org/67235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13880 0039d316-1c4b-4281-b951-d872f2087c98
* URLRequest::Interceptor enhancements1) Allow an interceptor to change its ↵michaeln@google.com2009-04-1611-85/+802
| | | | | | | | mind and not intercept after all. This allows the decision to start or not to start to be made asynchronously.2) Allow an interceptor to intercept on error conditions if the original job fails. This is to support the FALLBACK semantics in the appcache.Info about where this is going can be found in the appcache design doc at https://docs.google.com/a/google.com/Doc?docid=agv6ghfsqr_15f749cgt3&hl=enI still have to put together test cases, so I'm not ready to submit this yet, but wanted to get some feedback at this point. Review URL: http://codereview.chromium.org/67019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13877 0039d316-1c4b-4281-b951-d872f2087c98
* linux: users of glue require GTK in the include path.evan@chromium.org2009-04-162-0/+6
| | | | | | Review URL: http://codereview.chromium.org/79018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13876 0039d316-1c4b-4281-b951-d872f2087c98
* Add some flaky tests. Mark dns-prefetch-control as slow.ojan@google.com2009-04-161-5/+9
| | | | | | | | It had 200 seconds on the linux bot and still failed on one run and passed on another in 1.1 seconds. Review URL: http://codereview.chromium.org/67231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13875 0039d316-1c4b-4281-b951-d872f2087c98
* Augment time_format.h/.cc to format elapsed time also.munjal@chromium.org2009-04-164-98/+440
| | | | | | Review URL: http://codereview.chromium.org/67186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13874 0039d316-1c4b-4281-b951-d872f2087c98
* For ease of scripting, allow the actual test binary name to be used as an ↵dkegel@google.com2009-04-161-11/+12
| | | | | | | | | | argument to -t rather than just the abbreviation. Review URL: http://codereview.chromium.org/42654 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13873 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the failure to fail in PlatformCanvasWin ctorcpu@google.com2009-04-161-7/+21
| | | | | | | | | | | | | | | For a renderer CrashForBitmapAllocationFailure does not crash in any of the 4 CHECKS(), it crashes calling GetProcessMemoryInfo() - Because GetProcessMemoryInfo() tries to load PSAPI.dll and the sandbox blocks it. - Now it gives a better dump by disabling the iniling of the function - Adds a check for the shared memory, which I suspect is the real cause for some of the crashes BUG=10585 Review URL: http://codereview.chromium.org/75027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13872 0039d316-1c4b-4281-b951-d872f2087c98
* JavaScriptCore is not using the webkit common defines.mbelshe@google.com2009-04-161-1/+1
| | | | | | | | | | | | | | In particular the USE_SYSTEM_MALLOC macros aren't properly defined. This turns out to be benign in our current builds, but will be significant with my future checkins. Overall, this checkin doesn't change anything, except to get the right definitions in place for JSC. Review URL: http://codereview.chromium.org/79014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13871 0039d316-1c4b-4281-b951-d872f2087c98
* Implement app modal dialogs on mac.pinkerton@chromium.org2009-04-163-9/+107
| | | | | | Review URL: http://codereview.chromium.org/79012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13869 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak two suppressions to work in more environmentsdkegel@google.com2009-04-161-3/+6
| | | | | | | | Add link to upstream bug report Review URL: http://codereview.chromium.org/79011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13868 0039d316-1c4b-4281-b951-d872f2087c98
* Add concept of slow tests. Only mark one test as slow for now. After ↵ojan@google.com2009-04-165-100/+198
| | | | | | | | | | | | | | | | checkin, I'll add a ton of slow tests and reduce the timeout for non-slow tests to something like 1 second. To aid in that, I've added 90th percentile and 99th percentile times to the statistics we report. Also made it so that tests marked as slow and timeout/crash tests are listed separately from the slowest 50 tests so that list can be used to know which tests to mark slow. Tests cannot be marked as both SLOW and TIMEOUT. If the test times out, then we want it to timeout early to avoid waiting a long timeout for a test that we know is just going to timeout. TestShell can now do per-test timeouts. We could easily make run-webkit-tests do per-test timeouts, but I think just having the one modifier of SLOW is easier to grok. Makes the test lists simpler and allows for having longer timeouts on debug/purify builders. BUG=9324 Review URL: http://codereview.chromium.org/67198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13867 0039d316-1c4b-4281-b951-d872f2087c98
* Don't call COM stuff in the renderercpu@google.com2009-04-161-8/+7
| | | | | | | | | | | | | - Remove calls to CoInitialize / CoUninitialize - CoUninitialize sometimes causes the OS to try to load oleauth.dll - An exception for in-process-plugins. BUG=10589 Review URL: http://codereview.chromium.org/75028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13866 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing include needed for malloc.thestig@chromium.org2009-04-161-0/+1
| | | | | | | | Patch by Craig Schlenter <craig.schlenter@gmail.com> Review URL: http://codereview.chromium.org/67228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13864 0039d316-1c4b-4281-b951-d872f2087c98
* Handles audio messages on IO thread in render processhclam@chromium.org2009-04-1610-273/+390
| | | | | | | | | | | | | | | | First step to have smoother audio playback. We previously performed audio messages handling on render thread, which gave us huge amount of latency, especially when renderer is busy compositing or is blocked by synchronous IPC call. A lot of these latencies are eliminated by moving audio messages handling to IO thread, this is the first step to see if sharing the regular IPC channel for audio messages is creating too much stress for the IPC channel. Also doubled the audio packet size to 8192 samples, ~194ms of audio for 16bit/44.1khz/2ch. Review URL: http://codereview.chromium.org/62125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13863 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break due to incorrect merge, TBR=awalkerjam@chromium.org2009-04-161-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13860 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test helper to pull out some common code. Add a test for tab ↵pinkerton@chromium.org2009-04-167-29/+258
| | | | | | | | controller. Don't dead-strip un-referenced objective-C code in the unit_test target. Use the appropriate bundle when loading the tab nib. (take two, most of this was backed out earlier). Review URL: http://codereview.chromium.org/77004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13859 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure we check the page pointer before using it after we come out of ↵jam@chromium.org2009-04-168-42/+88
| | | | | | | | | | NPP_HandleEvent, as it might have gone away depending on JavaScript that was executed by the plugin. BUG=9955 Review URL: http://codereview.chromium.org/75026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13858 0039d316-1c4b-4281-b951-d872f2087c98
* Recommit previous change with GYP files fixed.erg@google.com2009-04-1617-119/+700
| | | | | | | | | | | | | Implement BookmarkContextMenuGtk and hook it up to most bookmark bar elements. Also: - Fixes window dispositions (shift-click works on bookmark bar items). - Reorganizes gtk_utils Original Review URL: http://codereview.chromium.org/76002 Review URL: http://codereview.chromium.org/67223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13857 0039d316-1c4b-4281-b951-d872f2087c98
* Windows low level audio small changescpu@google.com2009-04-162-17/+99
| | | | | | | | | | | - A fix to reported deadlock: don't start the real-time thread until the inital buffers are filled - A new unitest that uses a slow source, the idea is to try to repro the deadlock - Implements GetVolume and SetVolume Review URL: http://codereview.chromium.org/67154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13856 0039d316-1c4b-4281-b951-d872f2087c98
* Add spaces in reliability log output to make ithuanr@chromium.org2009-04-161-1/+1
| | | | | | | | | more readable. I verified chromebot has no problem parsing it. Review URL: http://codereview.chromium.org/79003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13855 0039d316-1c4b-4281-b951-d872f2087c98
* REmove one unneeded seam.maruel@chromium.org2009-04-162-7/+4
| | | | | | Review URL: http://codereview.chromium.org/69019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13853 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated version of UITest::DieFileDie().thestig@chromium.org2009-04-165-17/+13
| | | | | | Review URL: http://codereview.chromium.org/75008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13852 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new notification for automation customers that the amit@chromium.org2009-04-162-13/+27
| | | | | | | | | | external tab has finished loading. Unfortunately we cannot reuse AutomationMsg_InitialLoadsComplete because it has overloaded meaning. Review URL: http://codereview.chromium.org/69018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13851 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline some tests on linux.tc@google.com2009-04-1610-6/+40
| | | | | | | | | | | | | | | | inlineBoxWrapperNullCheck.html is a test that changed due to drawRect. generated.html is the same output as windows, just with anti-aliased fonts on linux. The other three (bug56201 bug23847 008) are tests that have checksums checked in, but no png. I'm checking in the pngs so they're there for comparison. Review URL: http://codereview.chromium.org/75025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13849 0039d316-1c4b-4281-b951-d872f2087c98
* 1. Supported 'lookup' and 'evaluate' requests in the front end.yurys@google.com2009-04-162-19/+247
| | | | | | | 2. Lookup object properties before expanding them in the sidebar. Review URL: http://codereview.chromium.org/69013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13848 0039d316-1c4b-4281-b951-d872f2087c98
* Have ResourceBundle own GdkPixbufs.tc@google.com2009-04-1613-123/+181
| | | | | | | | | | | | | | | | | This is the same as how ResourceBundle owns the SkBitmaps it loads. This should be faster than before because ResourceBundle will only load each bitmap once and cache the image. Also fix a memory leak in GdkPixbufFromSkBitmap. valgrind says we're not leaking here. BUG=9988 Review URL: http://codereview.chromium.org/67179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13847 0039d316-1c4b-4281-b951-d872f2087c98
* remove tests that accidentally got re-added:tc@google.com2009-04-161-85/+0
| | | | | | | | | | | http://src.chromium.org/viewvc/chrome/trunk/src/webkit/tools/layout_tests/test_expectations.txt?r1=13828&r2=13827&pathrev=13828 TBR=brettw Review URL: http://codereview.chromium.org/77005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13846 0039d316-1c4b-4281-b951-d872f2087c98
* Bold matched portions of text in Linux Omnibox.deanm@chromium.org2009-04-162-55/+104
| | | | | | | | | | | | - Refactor a bunch of the Pango attributes code. - Walk the classifications, and create the pango attributes for the text foreground color and weight (bolding). - Cache the GdkGC and PangoLayout across expose messages. Review URL: http://codereview.chromium.org/75041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13845 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes to support WebKit API changes.darin@chromium.org2009-04-1612-79/+28
| | | | | | | | | | | | | | | Also, I removed the GetWebFrame method on WebDataSource since it is not actually needed. Removed some dead-code from webframe_impl.cc. Removed some bogus null-checking of WebCore::Frame::loader(). R=dglazkov Review URL: http://codereview.chromium.org/67169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13844 0039d316-1c4b-4281-b951-d872f2087c98
* Adds notification for when info bubble is created.sky@chromium.org2009-04-162-0/+11
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/75022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13843 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 13839,13838.awalker@google.com2009-04-166-244/+7
| | | | | | Review URL: http://codereview.chromium.org/67220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13840 0039d316-1c4b-4281-b951-d872f2087c98
* Add a helper, and add the test file that broke the build.pinkerton@chromium.org2009-04-162-0/+238
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13839 0039d316-1c4b-4281-b951-d872f2087c98
* Allow unit_tests (and other non-bundle executables) to rely on objectiveC that'spinkerton@chromium.org2009-04-164-7/+6
| | | | | | | not directly referenced (such as only in a nib file). Add test for tab controller. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13838 0039d316-1c4b-4281-b951-d872f2087c98
* More Linux Omnibox v2 work, based on feedback from Cole.deanm@chromium.org2009-04-161-36/+74
| | | | | | | | | | | | | | - Don't let the content push the description out of the results. - Paint URLs green and other results (suggestions) black. - Use a darker gray for the description and drop the bolding, when the description is selected, use a preblended color against the background. - Move to using Pango attributes instead of markup. This is more code, but a better step towards bolding the matched portions of results. Review URL: http://codereview.chromium.org/67176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13835 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce printing test case (Step 1)hbono@chromium.org2009-04-164-3/+76
| | | | | | | | | | | | | | | | | | This CL will just show how to actually execute a full print process from start to finish. It will verify that a page has been printed (successfully). In the next steps, we would need to test whether the elements rendered after printing are correct. (how?) And fixed some lint errors. Thanks for hbono and maruel to lead me in the right direction :) Original patch by Mohamed Mansour (see http://codereview.chromium.org/67036/show), r=me,maruel,sverrir. BUG=? Review URL: http://codereview.chromium.org/67202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13831 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my rebaseline of these tests. I made a mistake in checking these inbrettw@chromium.org2009-04-165-5/+86
| | | | | | | (I think they were from a previous change). Review URL: http://codereview.chromium.org/75018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13828 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a mess I made before checkin. I started trying something else but gavebrettw@chromium.org2009-04-161-4/+2
| | | | | | | up and forgot to put it back. Review URL: http://codereview.chromium.org/75021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13827 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate ApplyAccelerator and RunCommand codehuanr@chromium.org2009-04-164-19/+13
| | | | | | | | | | | | | | | | paths which do the same thing. - On browser side, remove AutomationMsg_ApplyAccelerator IPC message and ApplyAccelerator function in automation_provider. - On client side, let ApplyAccelerator simply call RunCommandAsync. With the change, converting all commands to synchronous mode should benefit both. Review URL: http://codereview.chromium.org/67152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13825 0039d316-1c4b-4281-b951-d872f2087c98
* Initial plumbing for sending events from the browser to extension renderers. ↵rafaelw@chromium.org2009-04-1622-21/+284
| | | | | | | | Implement onTabMoved. Review URL: http://codereview.chromium.org/73065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13824 0039d316-1c4b-4281-b951-d872f2087c98
* ad an argument to MoveTabContentsAt() that switches whether the moved tab is ↵rafaelw@chromium.org2009-04-164-7/+33
| | | | | | | | set as the selected tab, or if the selected tab is left selected (but possibly moved). Review URL: http://codereview.chromium.org/63153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13823 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a painting problem observed with windowless flash plugins, when they are ↵ananta@chromium.org2009-04-162-19/+8
| | | | | | | | | | | | | | | | | | | | | | | | | initially created with a zero clip rect, which eventually changes to a non zero clip rect. We don't send over geometry updates to the plugin if the window dimensions don't change, which is true in this case. This causes the plugin process to not send over paints to the renderer process as the plugin clip rect remains zero. The fix based on a discussion with John is to remove the check for whether the plugin dimensions changed and always send over the update geometry IPC to the plugin, where we do check whether these rects changed before calling the underlying plugin. This fixes bug http://code.google.com/p/chromium/issues/detail?id=10536 I am trying to come up with a unit test for this case. Will add it to this CB or submit those as a separate CB. Bug=10536 Review URL: http://codereview.chromium.org/73071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13822 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to shush Purify about a memory leak.aa@chromium.org2009-04-161-8/+14
| | | | | | Review URL: http://codereview.chromium.org/67184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13821 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SupressErrorReporting on the mac and remove --gdb flag from test_shell. ↵ojan@google.com2009-04-164-26/+23
| | | | | | | | | | The --gdb flag isn't needed with the new way of handling crash reporting. I don't quite understand what the new code is doing, but I tried both a crashing test_shell and stepping past SuppressErrorReporting via gdb in xcode. In addition to saving developer annoyance with ReportCrash popping up, this should considerably improve the performance of running the webkit tests. Review URL: http://codereview.chromium.org/67193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13820 0039d316-1c4b-4281-b951-d872f2087c98
* Per Mark's request, add back the CPU type on Linuxdkegel@google.com2009-04-161-2/+20
| | | | | | | | | | | the way Firefox does it. While I've got your attention: how bad an idea would it be to (for nonofficial builds only) append 'r' and the svn revision number to the chrome version? Review URL: http://codereview.chromium.org/67146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13819 0039d316-1c4b-4281-b951-d872f2087c98