summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
Commit message (Collapse)AuthorAgeFilesLines
* Update the table of RAM vs number of rendererscpu@google.com2009-02-191-5/+20
| | | | | | | | | | | | - revised my guesstimate of 25 MB per renderer to 40MB, which I think is more appropiate for long lived tabs, since short lived tabs don't really matter here. - the lower end (< 1GB) has less total renderers - the middle has about the same - the upper end (> 2GB) has more renderers - added test to open 34 tabs. Review URL: http://codereview.chromium.org/21484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10024 0039d316-1c4b-4281-b951-d872f2087c98
* Changes line endings from CRLF to LF and add svn:eol-style to LF.hbono@chromium.org2009-02-191-64/+64
| | | | | | | No code changes. This change just changes the CRLF line endings found by your change to make your change work on Mac and Linux trybots. Review URL: http://codereview.chromium.org/21445 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10001 0039d316-1c4b-4281-b951-d872f2087c98
* Bring up save_package, save_item, save_file_manager on posix.estade@chromium.org2009-02-192-7/+2
| | | | | | Review URL: http://codereview.chromium.org/20479 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9999 0039d316-1c4b-4281-b951-d872f2087c98
* Prepare some files for porting:estade@chromium.org2009-02-182-4/+4
| | | | | | | | | - Trade in some old wstrings for FilePaths. - Remove some unnecessary headers. Review URL: http://codereview.chromium.org/21466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9986 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the amount of included header files. Vast change like in "Oh God! ↵maruel@chromium.org2009-02-1812-20/+25
| | | | | | | | This revision changes half of the source files!". Review URL: http://codereview.chromium.org/20378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9958 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9944.yurys@google.com2009-02-182-62/+2
| | | | | | | This change broke ui, interactive and Vista Perf tests. I felt like reverting. Review URL: http://codereview.chromium.org/24020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9947 0039d316-1c4b-4281-b951-d872f2087c98
* Create communication channel between developer tools UI implemented in JS ↵yurys@google.com2009-02-182-2/+62
| | | | | | | | | | | | | and residing in a process different from inspected page renderer process. There is no direct IPC channel between the two processes so all messages are routed through browser process. On the side of inspected page there is ToolsAgent existing in all renderers so that we can start inspecting the page at any moment by talking to this object. On the side of developer tools renderer there is ToolsClient which is created only for RenderView that host developer tools UI. This change is a slightly modified version of http://codereview.chromium.org/20221/show Review URL: http://codereview.chromium.org/20430 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9944 0039d316-1c4b-4281-b951-d872f2087c98
* Take out common functionality from PluginProcessHost and move it to ↵jam@chromium.org2009-02-182-18/+3
| | | | | | | | ChildProcessHost. Review URL: http://codereview.chromium.org/21443 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9935 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak of the renderer thread objects in single process mode.brettw@chromium.org2009-02-171-3/+8
| | | | | | | BUG=6538 Review URL: http://codereview.chromium.org/21432 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9915 0039d316-1c4b-4281-b951-d872f2087c98
* Significantly rework coordinate handling for the Cocoa views. Fixes tons of ↵avi@chromium.org2009-02-172-15/+20
| | | | | | | | redraw and scrolling issues. Review URL: http://codereview.chromium.org/20435 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9905 0039d316-1c4b-4281-b951-d872f2087c98
* Keyboard focus mostly works on Linux.evan@chromium.org2009-02-172-7/+24
| | | | | | | | | | | I added more TODOs than I removed, but they're now for more subtle cases: - the web page didn't handle a keystroke and our accelerators should; - you tab off the end of the list of tabbable things on the page. Review URL: http://codereview.chromium.org/21428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9903 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes resizing. (The content will still be scaled a bit until the roundtrip ↵avi@chromium.org2009-02-171-0/+5
| | | | | | | | happens.) Review URL: http://codereview.chromium.org/21415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9879 0039d316-1c4b-4281-b951-d872f2087c98
* Add render view id to AudioRendererHosthclam@chromium.org2009-02-172-69/+89
| | | | | | | | | | | | | | AudioRendererHost were assigning ids in the browser process, that means CreateStream has to be done in a synchronous IPC call. To avoid that we allow renderer processes to provide the stream id when they do CreateStrea. Then to identify a IPCAudioSource inside AudioRendererHost we need a tuple of (render_view_id, stream_id). By doing this we can create stream asynchronously just like BeginRequest in ResourceDispatcherHost. Review URL: http://codereview.chromium.org/21319 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9872 0039d316-1c4b-4281-b951-d872f2087c98
* IPC messages definitions for audio related requests fromhclam@chromium.org2009-02-162-0/+53
| | | | | | | | | | | | renderer to browser. Defined IPC messages that maps to methods exposed by AudioRendererHost that serves audio related requests. Also with handlers in ResourceMessageFilter for the newly added IPC messages. Review URL: http://codereview.chromium.org/21340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9864 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r9861 to fix buildhclam@chromium.org2009-02-162-53/+0
| | | | | | | | TBR=? Review URL: http://codereview.chromium.org/21399 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9862 0039d316-1c4b-4281-b951-d872f2087c98
* IPC messages definitions for audio related requests fromhclam@chromium.org2009-02-162-0/+53
| | | | | | | | | | | | renderer to browser. Defined IPC messages that maps to methods exposed by AudioRendererHost that serves audio related requests. Also with handlers in ResourceMessageFilter for the newly added IPC messages. Review URL: http://codereview.chromium.org/21340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9861 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9855.maruel@chromium.org2009-02-162-62/+2
| | | | | | | This change didn't have any description and it broke the tree Review URL: http://codereview.chromium.org/21393 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9856 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/20405yurys@google.com2009-02-162-2/+62
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9855 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback my change that seems to break some tests.hclam@chromium.org2009-02-142-89/+69
| | | | | | | | TBR Review URL: http://codereview.chromium.org/21375 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9825 0039d316-1c4b-4281-b951-d872f2087c98
* Add render view id to AudioRendererHosthclam@chromium.org2009-02-142-69/+89
| | | | | | | | | | | | | | AudioRendererHost were assigning ids in the browser process, that means CreateStream has to be done in a synchronous IPC call. To avoid that we allow renderer processes to provide the stream id when they do CreateStrea. Then to identify a IPCAudioSource inside AudioRendererHost we need a tuple of (render_view_id, stream_id). By doing this we can create stream asynchronously just like BeginRequest in ResourceDispatcherHost. Review URL: http://codereview.chromium.org/21319 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9824 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome-extension to the list of "web-safe" schemes foraa@chromium.org2009-02-142-0/+3
| | | | | | | | | resource loading. This makes web pages able to refer to resources inside extensions. Review URL: http://codereview.chromium.org/20371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9821 0039d316-1c4b-4281-b951-d872f2087c98
* Change mime type utils to operate on platform-specific string types for ↵estade@chromium.org2009-02-142-7/+7
| | | | | | | | filenames/file extensions. Review URL: http://codereview.chromium.org/21327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9809 0039d316-1c4b-4281-b951-d872f2087c98
* Have ChildProcessInfo contain a list of all running child processes (i.e. ↵jam@chromium.org2009-02-131-1/+1
| | | | | | | | instead of Service and other child process service maintain it). In a future change I'll start moving some of the code from PluginProcessHost to ChildProcessInfo. Review URL: http://codereview.chromium.org/24017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9804 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash bug in memory_utils.cc caused by assuming that thempcomplete@google.com2009-02-131-0/+3
| | | | | | | RenderViewHost's delegate is a WebContents. Review URL: http://codereview.chromium.org/23025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9789 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up browser cursors on linux.estade@chromium.org2009-02-133-2/+26
| | | | | | Review URL: http://codereview.chromium.org/21358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9785 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an off-by-one error in posix backing store scrolling.estade@chromium.org2009-02-131-1/+1
| | | | | | | | This error (sometimes) caused a crash when scrolling all the way to the bottom of a page and then attempting to scroll back up. Review URL: http://codereview.chromium.org/20361 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9768 0039d316-1c4b-4281-b951-d872f2087c98
* Fewer NOTIMPLEMENTED()s, more comments.evan@chromium.org2009-02-131-1/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9724 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a NOTIMPLEMENTED(). It's obviously wrong and we will be revisitingevan@chromium.org2009-02-131-1/+0
| | | | | | | it with plugins anyway. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9723 0039d316-1c4b-4281-b951-d872f2087c98
* Pump events to the renderer. Doesn't work currently due to activation issues.avi@chromium.org2009-02-122-2/+19
| | | | | | Review URL: http://codereview.chromium.org/21306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9702 0039d316-1c4b-4281-b951-d872f2087c98
* Lots of small nits to help to split off webkit.dll.maruel@chromium.org2009-02-121-0/+1
| | | | | | | | | - Stop directly referencing WebPluginDelegateImpl. - Make the password manager to not allocation the data on heap. - Remove some unneeded includes. Review URL: http://codereview.chromium.org/20208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9692 0039d316-1c4b-4281-b951-d872f2087c98
* Porting in chrome/phajdan.jr@chromium.org2009-02-121-1/+1
| | | | | | | | | | | | | | - make following unit tests compile and pass on Linux: browser/history/expire_history_backend_unittest.cc browser/history/history_backend_unittest.cc browser/history/history_querying_unittest.cc browser/history/starred_url_database_unittest.cc - #include cleanup (less #ifdefs, more explicit deps) Review URL: http://codereview.chromium.org/21247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9671 0039d316-1c4b-4281-b951-d872f2087c98
* This is an attempt at finding the reason for the page_cycler slowness caused bymad@chromium.org2009-02-129-37/+113
| | | | | | | | | | | | | | | the new resize corner. Local experiment led me to believe that it is WebKit that is slower when we specify a resize corner area. To validate this hypothesis, I always return an empty rect to WebKit, but I still compute and push the rect to the render widget and I also draw the bitmap even if this will cause it to be drawn on top of the scroll bars when there is only one. TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9654 0039d316-1c4b-4281-b951-d872f2087c98
* Validate HWNDs that the renderer asks to be moved.deanm@chromium.org2009-02-121-0/+7
| | | | | | | | | | We make sure any window is a child of the render view window before moving it. BUG=7590 Review URL: http://codereview.chromium.org/24012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9651 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak caused by AudioRenedererHost.hclam@chromium.org2009-02-123-5/+10
| | | | | | | | | | | | BUG=7608 AudioManager::CreateAudioManager() saves the instance in a static variable and let it leak, so don't call it until there's a better lifetime management of it. Review URL: http://codereview.chromium.org/21277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9636 0039d316-1c4b-4281-b951-d872f2087c98
* Change url wstrings to GURLSestade@chromium.org2009-02-1210-20/+21
| | | | | | Review URL: http://codereview.chromium.org/20273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9635 0039d316-1c4b-4281-b951-d872f2087c98
* Port CrossSiteResourceHandler to Mac and Linux.paul@chromium.org2009-02-111-1/+1
| | | | | | | | (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
* Fix some plugin-related NOTIMPLEMENTED()s in gtk Chrome.evan@chromium.org2009-02-111-0/+3
| | | | | | | | | | | | | | 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
* POSIX: Transfer network data using shared memoryagl@chromium.org2009-02-111-15/+11
| | | | | | | | | | | | | | | | | | | | | | 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
* 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-117-18/+111
| | | | | | | | 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-112-72/+33
| | | | | | | | 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
* 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
* 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
* 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
* Reverting 9493.kuchhal@chromium.org2009-02-109-113/+37
| | | | | | Review URL: http://codereview.chromium.org/21231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9517 0039d316-1c4b-4281-b951-d872f2087c98
* MovePluginWindows should always be called, even if suppress_view_updating_ ↵jam@chromium.org2009-02-101-4/+6
| | | | | | | | | is true. This fixes a regression when the code got refactored. BUG=7541 Review URL: http://codereview.chromium.org/20211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9512 0039d316-1c4b-4281-b951-d872f2087c98
* Do some more work on RenderWidgetHostViewGtkestade@chromium.org2009-02-102-75/+92
| | | | | | | | | | * hook up mouse presses * hook up resizes * move gtk widget code into a container class (a la WebWidgetHostGtk) Review URL: http://codereview.chromium.org/20230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9506 0039d316-1c4b-4281-b951-d872f2087c98
* Switch the Mac accessor method name to match the GTK one (consistency is good).avi@chromium.org2009-02-102-5/+1
| | | | | | Review URL: http://codereview.chromium.org/21221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9501 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding of http://codereview.chromium.org/16488.mad@chromium.org2009-02-109-37/+113
| | | | | | | | Adding proper project dependency in chrome.sln. Review URL: http://codereview.chromium.org/21188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9493 0039d316-1c4b-4281-b951-d872f2087c98
* Porting unit tests in chrome/phajdan.jr@chromium.org2009-02-102-28/+25
| | | | | | | | | | | | | | | | | | | | | - Make following unit tests compile and pass on Linux: browser/ command_updater_unittest.cc metrics/metrics_log_unittest.cc search_engines/template_url_parser_unittest.cc search_engines/template_url_prepopulate_data_unittest.cc - Add renderer/renderer_main_unittest.cc to list of compiled files (currently stubbed out on Linux) - Remove DebuggerWrapper stubs and make more files from browser/debugger build on Linux. - Sync XCode project file. - Misc cleanups needed for GCC. Review URL: http://codereview.chromium.org/21181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9490 0039d316-1c4b-4281-b951-d872f2087c98