summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Refactor plugin process code in the browser process so that the ↵jam@chromium.org2009-02-1125-600/+549
| | | | | | | | browser/about:memory/task manager/metrics code doesn't depend on PluginProcessHost pointers. In a future changelist I'll add one central child process registry in the browser process. Review URL: http://codereview.chromium.org/20196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9621 0039d316-1c4b-4281-b951-d872f2087c98
* Remove leaks that are now fixed.rvargas@google.com2009-02-111-112/+0
| | | | | | | | BUG=7374 Review URL: http://codereview.chromium.org/20270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9617 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the ResourceDispatcherHost unittest for Mac and linux.paul@chromium.org2009-02-112-1/+4
| | | | | | Review URL: http://codereview.chromium.org/23017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9615 0039d316-1c4b-4281-b951-d872f2087c98
* Renderer and test shell now handle --enable-video with SetMediaPlayerAvailable.scherkus@chromium.org2009-02-111-0/+5
| | | | | | Review URL: http://codereview.chromium.org/20268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9614 0039d316-1c4b-4281-b951-d872f2087c98
* Port CrossSiteResourceHandler to Mac and Linux.paul@chromium.org2009-02-114-42/+3
| | | | | | | | (Was http://codereview.chromium.org/23019) Review URL: http://codereview.chromium.org/20274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9612 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Change FD passing test to send many messagesagl@chromium.org2009-02-111-17/+26
| | | | | | | | | | | | (This is mostly an adoption of Jeremy's patch.) Also, switch from using /dev/random to /dev/zero. Reading from /dev/random can drain the system entropy pool and block. Review URL: http://codereview.chromium.org/21269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9609 0039d316-1c4b-4281-b951-d872f2087c98
* Make session_service.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-119-28/+105
| | | | | | Review URL: http://codereview.chromium.org/23018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9608 0039d316-1c4b-4281-b951-d872f2087c98
* Make it clear the dictionary .delta files are included under the existing ↵ifette@google.com2009-02-111-1/+1
| | | | | | | | GPL/LGPL/MPL tri-license Review URL: http://codereview.chromium.org/20283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9607 0039d316-1c4b-4281-b951-d872f2087c98
* Implement more of the TabContentsDelegate to hook up loading URLs from the ↵pinkerton@chromium.org2009-02-115-46/+114
| | | | | | | | location bar where there is UI to do so. Review URL: http://codereview.chromium.org/21264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9601 0039d316-1c4b-4281-b951-d872f2087c98
* Call InitWebCoreSystemInterface() on OS X.jeremy@chromium.org2009-02-111-0/+3
| | | | | | Review URL: http://codereview.chromium.org/21266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9600 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9594.thestig@chromium.org2009-02-1112-29/+25
| | | | | | Review URL: http://codereview.chromium.org/20276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9599 0039d316-1c4b-4281-b951-d872f2087c98
* Fetch SDCH dictionary as soon as current URL fetch completesjar@chromium.org2009-02-112-5/+7
| | | | | | | | | | | | | Rather than just waiting for 15 seconds, this patch fetches the "suggested dicitionary" as soon as the current download completes. This avoids stealing bandwidth from the original download, but works as quickly as possible to get the dictionary, so that the user can receive compression results asap. r=wtc Review URL: http://codereview.chromium.org/20254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9597 0039d316-1c4b-4281-b951-d872f2087c98
* Remove final traces of IE from cross-platform password manager.evan@chromium.org2009-02-113-1/+12
| | | | | | | | | (It's still there for Windows, but not on other platforms.) Review URL: http://codereview.chromium.org/21168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9596 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some plugin-related NOTIMPLEMENTED()s in gtk Chrome.evan@chromium.org2009-02-113-20/+10
| | | | | | | | | | | | | | We can sneak around not removing the NOTIMPLEMENTED()s completely by implementing a function halfway -- if a page ends up needing a plugin we'll get the NOTIMPLEMENTED() again. With this change I no longer get repeated NOTIMPLEMENTED spew while running. Review URL: http://codereview.chromium.org/20264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9595 0039d316-1c4b-4281-b951-d872f2087c98
* janitorial: clean up unnecessary includes in src/chrome/renderer.thestig@chromium.org2009-02-1112-25/+29
| | | | | | Review URL: http://codereview.chromium.org/20266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9594 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the AutomationMsg_SavePackageShouldPromptUser message to a sync messageananta@chromium.org2009-02-113-6/+4
| | | | | | | | | | to fix the SavePage tests on Vista. TBR=jam Review URL: http://codereview.chromium.org/21265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9592 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the BrowsersRememberFocus test in interactive ui tests to keepananta@chromium.org2009-02-111-1/+1
| | | | | | | | | | the tree green, while I debug it. TBR=nsylvain Review URL: http://codereview.chromium.org/21260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9591 0039d316-1c4b-4281-b951-d872f2087c98
* Updating reference build to revision 9586 to pick up the latest automationananta@chromium.org2009-02-1185-2211/+5665
| | | | | | | | | | framework changes. TBR=nsylvain Review URL: http://codereview.chromium.org/20272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9587 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: TestVisitedMsg; use valid file descriptor (unit_tests fix)agl@chromium.org2009-02-111-1/+1
| | | | | | | | | | We need to pass a valid file descriptor when sending messages on POSIX, otherwise the send will fail. Use stdin in tests. Review URL: http://codereview.chromium.org/21258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9586 0039d316-1c4b-4281-b951-d872f2087c98
* The Chrome Automation framework is based on a homegrown request response IPC ↵ananta@chromium.org2009-02-1112-2131/+1507
| | | | | | | | | | model and thus ends up duplicating a lot of functionality already available in the SyncChannel. This CL gets the automation framework to use the SyncChannel. The request response IPCs have been changed to sync IPCs. Review URL: http://codereview.chromium.org/20189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9585 0039d316-1c4b-4281-b951-d872f2087c98
* Media player availability now determined by SetMediaPlayerAvailable.scherkus@chromium.org2009-02-111-2/+9
| | | | | | | | Instead of relying on the command line, RenderProcess will attempt to load and enable the media player if possible. This is the first in a few changes where I'll be adding in hooks to load media DLLs at runtime if present. Review URL: http://codereview.chromium.org/20253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9584 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unit test to check that the extension is not repeated in a downloaded ↵sidchat@google.com2009-02-111-0/+3
| | | | | | | | | file name. Issue=1503 Review URL: http://codereview.chromium.org/21257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9583 0039d316-1c4b-4281-b951-d872f2087c98
* Add build flags to chrome.xcodeprojamanda@chromium.org2009-02-111-0/+13
| | | | | | Review URL: http://codereview.chromium.org/21256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9582 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Transfer network data using shared memoryagl@chromium.org2009-02-1114-71/+71
| | | | | | | | | | | | | | | | | | | | | | 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
* Almost complete implementation of the Chrome video renderer. Still needs to ↵ralphl@chromium.org2009-02-112-27/+421
| | | | | | | | 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
* 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-117-21/+98
| | | | | | | | | | 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
* 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-1110-18/+211
| | | | | | | | 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
* 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
* Under the OS X Sandbox, some system calls are blocked.jeremy@chromium.org2009-02-111-0/+6
| | | | | | | | 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-111-1/+6
| | | | | | | | | | | | | | | | 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-114-32/+29
| | | | | | | | | | | | | | | | | | | | - 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
* * Fix error checking for mmap() for POSIX shared memory.jeremy@chromium.org2009-02-111-14/+22
| | | | | | | | * 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
* 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
* 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-101-0/+4
| | | | | | | | | | 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
* 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
* 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