summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* POSIX: Transfer network data using shared memoryagl@chromium.org2009-02-1118-80/+144
| | | | | | | | | | | | | | | | | | | | | | This patch adds the long planned support for sharing memory on POSIX by transporting file descriptors. It largely builds on the shared memory cleanup work by jrg. We move FileDescriptor out of chrome/common/file_descriptor_posix.h and into base/file_descriptor_posix.h. Since all that's left in the chrome/common verion is the DescriptorSet, those files are renamed to descriptor_set.[h|cc]. The SharedMemoryHandle on POSIX then becomes a typedef to a FileDescriptor and thus can be serialised over IPC. After that, it's mostly a case of cleaning up those snippets of code which considered SharedMemoryHandles to be scaler values. Review URL: http://codereview.chromium.org/21208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9580 0039d316-1c4b-4281-b951-d872f2087c98
* Text fields were not getting focused.jcampan@chromium.org2009-02-111-0/+1
| | | | | | | BUG= 7468 Review URL: http://codereview.chromium.org/21255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9578 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the remaining SVG test failure from WebKit merge 40722:40785finnur@google.com2009-02-112-3/+2
| | | | | | | This is the same test you tried fixing yesterday, but had the font issue on your computer. Review URL: http://codereview.chromium.org/21253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9577 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the test_webview_delegate DidMove into platform specific files, and ↵deanm@chromium.org2009-02-114-34/+49
| | | | | | | | implement the Gtk version. The Gtk code uses xshape to do the non-rectangular clipping that is required for plugin windows (iframe shims, etc). Review URL: http://codereview.chromium.org/21248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9576 0039d316-1c4b-4281-b951-d872f2087c98
* Almost complete implementation of the Chrome video renderer. Still needs to ↵ralphl@chromium.org2009-02-113-29/+435
| | | | | | | | implement color space conversion for final bitblt. Review URL: http://codereview.chromium.org/21037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9575 0039d316-1c4b-4281-b951-d872f2087c98
* Add a gtk_utils (like gdi_utils), with region rectangle subtraction.deanm@chromium.org2009-02-115-12/+59
| | | | | | | | | | | | | This will be used like the gdi functions, for constructing clipping regions. Add ToGdkRectangle() on gfx::Rect, similar to the win32 and CG methods. Make the scons file better reflect which files are platform specific. Review URL: http://codereview.chromium.org/20259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9574 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some files in common. I changed this a while ago but forgot to check it inbrettw@chromium.org2009-02-111-1/+5
| | | | | | | since it conflicted. It didn't break the build since they were only headers. Review URL: http://codereview.chromium.org/21249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9573 0039d316-1c4b-4281-b951-d872f2087c98
* This CL ensures we don't store empty values in the autofill form DB.jcampan@chromium.org2009-02-118-22/+109
| | | | | | | | | | Also it applies a clean-up to remove any empty values previously stored in the DB. BUG=6111 TEST=Submit a form and leave some fields empty. Come back to that form, click on a field that was empty. No autofill popup should show up (or if one show up, it should not contains empty values). Review URL: http://codereview.chromium.org/21217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9570 0039d316-1c4b-4281-b951-d872f2087c98
* Add libjpeg to the app targetpinkerton@chromium.org2009-02-111-5/+7
| | | | | | Review URL: http://codereview.chromium.org/21250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9569 0039d316-1c4b-4281-b951-d872f2087c98
* Scrubbing HTML options/collections, Chromium side.dglazkov@google.com2009-02-118-336/+79
| | | | | | | | R=darin Review URL: http://codereview.chromium.org/21237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9568 0039d316-1c4b-4281-b951-d872f2087c98
* Some improvements to the browser window resizing.deanm@chromium.org2009-02-111-0/+18
| | | | | | | | | | | Previously, you could resize the window down to nothing, which makes WebKit start looking really bad. Additionally when I added plugin windows, the plugin windows would specify their size as a minimum during requisition. This prevented you from resizing the main browser window smaller than the plugin child window. The solution to both of these problems is simply to override the size requisition phase, and set a fixed minimum, 64x64. This still lets the GtkFixed requisition phase run, but just overwrites the requisition afterwards. Review URL: http://codereview.chromium.org/21210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9563 0039d316-1c4b-4281-b951-d872f2087c98
* Add XP_MACOSX=1 to release configuration for TestShell.appamanda@chromium.org2009-02-111-1/+1
| | | | | | Review URL: http://codereview.chromium.org/20256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9562 0039d316-1c4b-4281-b951-d872f2087c98
* Add an #if around user_gesture_msg_factory_ to unbreak the Linuxamanda@chromium.org2009-02-112-0/+328
| | | | | | | | | build, add another missed file (plugin_impl_mac.h) to unbreak the Mac build. Review URL: http://codereview.chromium.org/21245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9561 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot webplugin_delegate_impl_mac.cc in r9558amanda@chromium.org2009-02-111-0/+457
| | | | | | Review URL: http://codereview.chromium.org/21244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9560 0039d316-1c4b-4281-b951-d872f2087c98
* Add XP_MACOSX=1 to release build flags to unbreak mac release buildamanda@chromium.org2009-02-111-1/+1
| | | | | | | TBR=mark@chromium.org Review URL: http://codereview.chromium.org/20255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9559 0039d316-1c4b-4281-b951-d872f2087c98
* Checkpoint of plugin support code for Mac. Does not work yet; being checkedamanda@chromium.org2009-02-118-56/+97
| | | | | | | | in to help stay in sync with linux plugin mods and ensure that it doesn't break Windows plugins. Review URL: http://codereview.chromium.org/21095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9558 0039d316-1c4b-4281-b951-d872f2087c98
* Redo my IPC change, undoing the linker dependency.jam@chromium.org2009-02-114-458/+472
| | | | | | Review URL: http://codereview.chromium.org/21225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9557 0039d316-1c4b-4281-b951-d872f2087c98
* Handle tooltip message so we get fewer NOTIMPLEMENTED()s.evan@chromium.org2009-02-111-1/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9552 0039d316-1c4b-4281-b951-d872f2087c98
* Construct AudioRendererHost in BrowserRendererProcessHost, also constructhclam@chromium.org2009-02-1115-18/+255
| | | | | | | | ResourceMessageFilter with pointer to it so we can delegate requests to it from IPC later. Review URL: http://codereview.chromium.org/20131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9551 0039d316-1c4b-4281-b951-d872f2087c98
* Implement browser scrolling on posix.estade@chromium.org2009-02-113-72/+35
| | | | | | | | This code still has not been tested on nested scroll frames (e.g. webkit/data/test_shell/iframes/test1.html) because they don't render correctly yet. But it does work for scrolling horizontally and vertically on the main frame. Review URL: http://codereview.chromium.org/20244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9550 0039d316-1c4b-4281-b951-d872f2087c98
* Sanitize proxy response codes to CONNECT requests. Forwtc@chromium.org2009-02-118-45/+139
| | | | | | | | | | | | | | | | | | anything other than 200 (success) or 400-599 (error), we rewrite the response code as 500 (internal server error) to prevent any special handling of the proxy's response to CONNECT by mistake. Add a new error code ERR_UNEXPECTED_SERVER_AUTH for a 401 response to a CONNECT request. Fix nits reported by cpplint.py. R=darin,eroman BUG=7338 Review URL: http://codereview.chromium.org/21158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9549 0039d316-1c4b-4281-b951-d872f2087c98
* Draw custom buttons in toolbar.evan@chromium.org2009-02-112-42/+151
| | | | | | | | | The menu buttons aren't quite right yet, but the rest seem pretty good. Review URL: http://codereview.chromium.org/20252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9548 0039d316-1c4b-4281-b951-d872f2087c98
* Port some strings in download/save_package.ccestade@chromium.org2009-02-115-197/+158
| | | | | | Review URL: http://codereview.chromium.org/23004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9547 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux buildestade@chromium.org2009-02-111-1/+2
| | | | | | | | tbr=jeremy Review URL: http://codereview.chromium.org/21241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9546 0039d316-1c4b-4281-b951-d872f2087c98
* Under the OS X Sandbox, some system calls are blocked.jeremy@chromium.org2009-02-113-3/+26
| | | | | | | | This CL adds a facility to cache system info values on renderer startup. Review URL: http://codereview.chromium.org/20250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9545 0039d316-1c4b-4281-b951-d872f2087c98
* Back out parts of r9537 to fix Linux build bustage.jeremy@chromium.org2009-02-111-22/+14
| | | | | | Review URL: http://codereview.chromium.org/20249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9544 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a potential infinite loop in TabRestoreUITest.RestoreToDifferentWindow.patrick@chromium.org2009-02-111-0/+1
| | | | | | | The variable tab_count is never changed inside the while loop. Review URL: http://codereview.chromium.org/21200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9543 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure we copy the file descriptor set when assigning IPC::Messagespaul@chromium.org2009-02-111-0/+3
| | | | | | | on posix. Review URL: http://codereview.chromium.org/20248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9542 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a browser crash when the URLRequestChromeJob goes awayrvargas@google.com2009-02-111-2/+4
| | | | | | | | | | from the NotifyReadComplete notification. BUG=7485 Review URL: http://codereview.chromium.org/20162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9541 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a browser crash when the async resource handler keeps anrvargas@google.com2009-02-112-1/+8
| | | | | | | | | | | | | | | | IOBuffer after a failed attempt to send the data to a (now gone) renderer. The shared memory section is unmapped so the buffer must not be kept around and possibly re-used. I'm also fixing a leak reported by purify. BUG=7487 BUG=7374 Review URL: http://codereview.chromium.org/21222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9540 0039d316-1c4b-4281-b951-d872f2087c98
* Unittest gardening on MacOS X:shess@chromium.org2009-02-116-33/+34
| | | | | | | | | | | | | | | | | | | | - base/gfx/rect_unittest.cc had a typo - base/waitable_event_watcher_unittest.cc enabled - chrome/common/pref_member_unittest.cc enabled - chrome/common/json_value_serializer_unittest.cc had a Windows-only bit which currently works fine on Mac. - These worked once an anonymous namespace was cleared up: chrome/browser/history/query_parser_unittest.cc chrome/browser/history/url_database_unittest.cc chrome/common/json_value_serializer_unittest.cc Some required minor editting to remove anonymous namespaces for test classes. Review URL: http://codereview.chromium.org/20241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9539 0039d316-1c4b-4281-b951-d872f2087c98
* These tests look to me like they expect the form control metrics from before ↵finnur@google.com2009-02-1113-1439/+1459
| | | | | | | | we removed theform control test_shell hack. Review URL: http://codereview.chromium.org/21239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9538 0039d316-1c4b-4281-b951-d872f2087c98
* * Fix error checking for mmap() for POSIX shared memory.jeremy@chromium.org2009-02-112-15/+25
| | | | | | | | * Make fd-over-IPC test send multiple FDs. Review URL: http://codereview.chromium.org/21238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9537 0039d316-1c4b-4281-b951-d872f2087c98
* Maintain a refcounted AutomationProvider pointer in the ↵ananta@chromium.org2009-02-112-4/+22
| | | | | | | | | | | | | | | | | | ExternalTabContainer. This ensures that we don't crash the browser while trying to dereference a freed AutomationProvider pointer. When a Chrome browser instance starts up, we attempt to locate an already running instance and defer to it to complete the navigation request. However it is quite possible for the running instance to exit while we attempt to send a WM_COPYDATA message to it. This caused a bunch of ASSERTS to fire off in the browser. Fixes as below:- 1. If GetWindowThreadProcessId fails, we bail out and try to launch a new chrome instance 2. If SendMessageTimeout fails, we check if the window is still valid. If not we bail out and try to launch a new chrome instance. 3. We return an error from the WM_COPYDATA handler if the chrome instance is in the process of shutting down. We handle this at the caller end, i.e. in NotifyOtherProcess. Bug=1643310 Review URL: http://codereview.chromium.org/23016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9536 0039d316-1c4b-4281-b951-d872f2087c98
* Looks like some of these tests still fail on Linux.darin@chromium.org2009-02-111-0/+3
| | | | | | | | | | See http://codereview.chromium.org/21226 for the code review. This CL is just a copy of that one. TBR=tony git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9535 0039d316-1c4b-4281-b951-d872f2087c98
* More re-baselining. The image results only differ by a few pixels, presumablydarin@chromium.org2009-02-1123-28/+19
| | | | | | | | | | | caused by rounding differences now that TransformationMatrix uses doubles instead of floats. R=finnur Review URL: http://codereview.chromium.org/20239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9534 0039d316-1c4b-4281-b951-d872f2087c98
* Make browsing_data_remover.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-114-6/+49
| | | | | | Review URL: http://codereview.chromium.org/21232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9533 0039d316-1c4b-4281-b951-d872f2087c98
* Revert cl 9528 to fix mac test_shell_testsrvargas@google.com2009-02-1018-314/+282
| | | | | | Review URL: http://codereview.chromium.org/21236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9532 0039d316-1c4b-4281-b951-d872f2087c98
* Fill in more gtk callbacks in RenderWidgetHostViewGtk.estade@chromium.org2009-02-101-3/+15
| | | | | | | | Mostly ripped directly from WebWidgetHostGtk. Review URL: http://codereview.chromium.org/24009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9531 0039d316-1c4b-4281-b951-d872f2087c98
* Re-revert change 9439. The original change 9439 was revertediposva@google.com2009-02-102-1/+5
| | | | | | | | | | because one of the debugger tests failed. I filed a V8 issue to fix the debugger tests properly: http://code.google.com/p/v8/issues/detail?id=230 Review URL: http://codereview.chromium.org/21235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9530 0039d316-1c4b-4281-b951-d872f2087c98
* Defers LayoutTests/fast/js/pic/cached-prototype-setter.html as it issky@google.com2009-02-101-1/+1
| | | | | | | | | | | was failing before beta. BUG=none TEST=none Review URL: http://codereview.chromium.org/21234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9529 0039d316-1c4b-4281-b951-d872f2087c98
* Extend the IOBuffer to the disk cache.rvargas@google.com2009-02-1018-282/+314
| | | | | | | | This is cleanup from bug 5325. Review URL: http://codereview.chromium.org/20134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9528 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt at preventing a crasher.jcampan@chromium.org2009-02-101-0/+15
| | | | | | | | | | In some cases TaskManagerResource can still be alive and pointing to a deleted WebContents, not sure how it can happen. Now also listening for TabContent destruction notifications in case we are missing the WebContents one for some reason. BUG=7321 Review URL: http://codereview.chromium.org/21233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9527 0039d316-1c4b-4281-b951-d872f2087c98
* Optionally support URLPatterns in standalone useraa@chromium.org2009-02-103-19/+86
| | | | | | | | | | | scripts via the @match declaration. In the future, maybe @include will be deprecated and result in a warning. Review URL: http://codereview.chromium.org/20127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9526 0039d316-1c4b-4281-b951-d872f2087c98
* Marks LayoutTests/http/tests/ssl/verify-ssl-enabled.php as passing (assky@google.com2009-02-101-4/+4
| | | | | | | | | | | | | | | | | | it hasn't failed on the release bot in ages). Defers these two: LayoutTests/fast/js/comparefn-sort-stability.html LayoutTests/fast/js/sort-stability.html as we may never support this behavior. And lastly this defers LayoutTests/http/tests/appcache. BUG=none TEST=none Review URL: http://codereview.chromium.org/20240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9525 0039d316-1c4b-4281-b951-d872f2087c98
* Adds two install strings for translationcpu@google.com2009-02-102-0/+12
| | | | | | | | | | | | - alternate shortcut name for OEM install - tooltips for our shortcuts BUG=b/1640034 BUG=b/1522969 Review URL: http://codereview.chromium.org/20195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9524 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: add missing NOTIMPLEMENTEDagl@chromium.org2009-02-101-0/+1
| | | | | | | | | When I stubbed out IsLinkVisitied, I didn't add a NOTIMPLEMENTED. Review URL: http://codereview.chromium.org/21224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9523 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on Mac cursor support now that we're already linking in the world.avi@chromium.org2009-02-102-8/+19
| | | | | | Review URL: http://codereview.chromium.org/21227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9522 0039d316-1c4b-4281-b951-d872f2087c98
* One more layout test...finnur@google.com2009-02-102-17/+6
| | | | | | | | | | | | WebKit's r40672 merged EventTargetNode up into Node, so the expectations for the test has changed (they output 1 fewer node). This matches WebKit's expected result change. Review URL: http://codereview.chromium.org/20236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9521 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the testsky@google.com2009-02-104-74/+72
| | | | | | | | | | | | | LayoutTests/http/tests/navigation/redirect302-basic.html . As far as I could tell the only difference is form controls. The baseline is likely very old. BUG=none TEST=none Review URL: http://codereview.chromium.org/21230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9520 0039d316-1c4b-4281-b951-d872f2087c98