summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
Commit message (Collapse)AuthorAgeFilesLines
* Fire the document load complete and focus event on the root document object.ctguil@chromium.org2010-06-241-4/+8
| | | | | | | | | BUG=47084,47208 TEST=none Review URL: http://codereview.chromium.org/2822027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50732 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a potential crash issue.suzhe@chromium.org2010-06-241-13/+17
| | | | | | | | | BUG=47376 TEST=none Review URL: http://codereview.chromium.org/2868033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50697 0039d316-1c4b-4281-b951-d872f2087c98
* Canvas refactoring part 2.ben@chromium.org2010-06-231-5/+6
| | | | | | | | | | | | - Rename Canvas to CanvasSkia. - Create a subclass Canvas that inherits from CanvasSkia for compatibility. BUG=none TEST=none Review URL: http://codereview.chromium.org/2862025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50664 0039d316-1c4b-4281-b951-d872f2087c98
* Improve input method support.suzhe@chromium.org2010-06-2313-262/+735
| | | | | | | | | | | | | | | This CL fixes following issues: BUG=23219 IME should be disabled in password box. BUG=41876 Chinese IME is still active when current focus is not a text input control BUG=44529 Clause segmentation information of composition text is not honored when using CJK input methods. BUG=46326 Clicking during a composition cancels it TEST=See individual bug report. This CL is blocked on webkit bug: https://bugs.webkit.org/show_bug.cgi?id=40608 Review URL: http://codereview.chromium.org/2824015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50622 0039d316-1c4b-4281-b951-d872f2087c98
* Fix files with svn:executable permissions.thestig@chromium.org2010-06-232-0/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50566 0039d316-1c4b-4281-b951-d872f2087c98
* Clang: Do not ignore result of HANDLE_EINTR.thakis@chromium.org2010-06-231-2/+4
| | | | | | Review URL: http://codereview.chromium.org/2805026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50556 0039d316-1c4b-4281-b951-d872f2087c98
* Fix renderer accessibility for BrowserBubble objects.ctguil@chromium.org2010-06-222-8/+11
| | | | | | | | | | | Move RenderWidgetHost::SetDocumentLoaded calls from TabContents to RenderViewHost so that renderer acessibility is requested on render views that don't have a TabContents delegate. BUG=none TEST=none Review URL: http://codereview.chromium.org/2853009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50490 0039d316-1c4b-4281-b951-d872f2087c98
* Don't reverse left and right scrolling in GTKdavidben@chromium.org2010-06-221-4/+4
| | | | | | | | | | R=wtc,davemoore BUG=47076 TEST=horizontal scroll (or shift + vertical) in Linux, left/right should not be reversed Review URL: http://codereview.chromium.org/2860011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50471 0039d316-1c4b-4281-b951-d872f2087c98
* Send a focus notification in addition to a document load complete notification.dmazzoni@chromium.org2010-06-221-0/+2
| | | | | | | | | BUG=47084 TEST=none Review URL: http://codereview.chromium.org/2840014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50469 0039d316-1c4b-4281-b951-d872f2087c98
* Move content settings related events into their own delegate.jochen@chromium.org2010-06-226-8/+83
| | | | | | | | | | | This will allow for implementing content settings related handlers outside of the tab contents object. BUG=45230 TEST=none Review URL: http://codereview.chromium.org/2870015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50440 0039d316-1c4b-4281-b951-d872f2087c98
* Re-commit r50321 after rollback.jeremy@chromium.org2010-06-202-5/+37
| | | | | | | | Mac: Infrastructure for serialization of OS fonts over IPC. Renderer & Browser bits to send and receive IPC message for OOP font loading. Review URL: http://codereview.chromium.org/2841019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50323 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Mac: Infrastructure for serialization of OS fonts over IPC."jeremy@chromium.org2010-06-202-37/+5
| | | | | | Review URL: http://codereview.chromium.org/2846018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50322 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Infrastructure for serialization of OS fonts over IPC.jeremy@chromium.org2010-06-202-5/+37
| | | | | | | | | | | Renderer & Browser bits to send and receive IPC message for OOP font loading. BUG=29729 TEST=All unit tests should pass. Review URL: http://codereview.chromium.org/2811013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50321 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mouse handling extension-hosted plugins on the Macstuartmorgan@chromium.org2010-06-181-18/+25
| | | | | | | | | BUG=42032 TEST=Flash-hosting extensions should respond to clicks. Review URL: http://codereview.chromium.org/2873004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50272 0039d316-1c4b-4281-b951-d872f2087c98
* Don't allow more than one pending print dialog per browser instance.estade@chromium.org2010-06-181-1/+8
| | | | | | | | | | | As a future TODO, it might be nice to limit it per-tab instead of per-app. BUG=46575 TEST=manual Review URL: http://codereview.chromium.org/2848011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50203 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] more -Wextra support:thomasvl@chromium.org2010-06-171-17/+17
| | | | | | | | | | | | - autofill: explicitly initialize in the copy constructor - make some loops clearly use {} for empty bodies - bump up app mode version number to 1.0 so we don't check for < 0 on the unsigned version number. BUG=34160 TEST=none Review URL: http://codereview.chromium.org/2856006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50095 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 49984 - patch from issue 2762014thakis@chromium.org2010-06-161-4/+2
| | | | | | | TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/2835007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50000 0039d316-1c4b-4281-b951-d872f2087c98
* Allow POST requests made from an extension process to reuse the same process,mpcomplete@chromium.org2010-06-161-8/+4
| | | | | | | | | | even when navigating to an external URL. See bug for details. BUG=39025 Review URL: http://codereview.chromium.org/2800005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49993 0039d316-1c4b-4281-b951-d872f2087c98
* patch from issue 2762014thakis@chromium.org2010-06-161-2/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49984 0039d316-1c4b-4281-b951-d872f2087c98
* Fix argument to glTexEnvi in accelerated Mac surfacestuartmorgan@chromium.org2010-06-161-2/+2
| | | | | | | | | BUG=None TEST=Core Animation plugins still work. Review URL: http://codereview.chromium.org/2805010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49973 0039d316-1c4b-4281-b951-d872f2087c98
* Rename browser_accessibility to browser_accessibility_win, and same fordmazzoni@chromium.org2010-06-163-4/+4
| | | | | | | | | | | | browser_accessibility_manager, to make it more clear that these are Windows-only source files. BUG=none TEST=none Review URL: http://codereview.chromium.org/2830005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49947 0039d316-1c4b-4281-b951-d872f2087c98
* Peek at the event queue for wheel events for crosdavemoore@chromium.org2010-06-163-58/+81
| | | | | | | | | BUG=NONE Test=RenderWidgetHostTest.CoalescesWheelEvents (existing) Review URL: http://codereview.chromium.org/2679003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49938 0039d316-1c4b-4281-b951-d872f2087c98
* Support WebSQLDatabases in incognito mode.dumi@chromium.org2010-06-131-6/+38
| | | | | | | | | BUG=43232 TEST=none Review URL: http://codereview.chromium.org/2746003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49644 0039d316-1c4b-4281-b951-d872f2087c98
* Added plumbing to transport the frame name between RenderViewHost and the ↵atwilson@chromium.org2010-06-129-24/+37
| | | | | | | | | | | | | Webkit layer. Extended ViewMsg_New and ViewHostMsg_CreateWindow to have a new frame_name parameter. This allows the RVH to know the initial name of the frame associated with its RenderView, and also to set the name of the frame when creating a new RenderView. Review URL: http://codereview.chromium.org/2775003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49622 0039d316-1c4b-4281-b951-d872f2087c98
* Add a font API to Pepper and implement on Linux based on agl's code from ↵jam@chromium.org2010-06-111-0/+223
| | | | | | | | http://codereview.chromium.org/2673003. Review URL: http://codereview.chromium.org/2794004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49599 0039d316-1c4b-4281-b951-d872f2087c98
* Convert page contents grabbing from wide to UTF16. The current code is a bitbrettw@chromium.org2010-06-113-3/+3
| | | | | | | | | | | silly because it would capture it in UTF16, then convert to wide, send it to the browser, then convert it to UTF-8 for FTS. TEST=none BUG=none Review URL: http://codereview.chromium.org/2714012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49594 0039d316-1c4b-4281-b951-d872f2087c98
* Mac/clang: Uncontentious fixes.thakis@chromium.org2010-06-111-2/+2
| | | | | | | | | | | | | * Remove unused variables * Make types in h and cc files agree * Use subclasses if we call subclass methods * Fix one real bug (`if (a); a->foo()`) * Fix forward declarations to be correct * Don't mark some definitions with "extern" Review URL: http://codereview.chromium.org/2730015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49570 0039d316-1c4b-4281-b951-d872f2087c98
* Add enable-video-fullscreen switch.boliu@google.com2010-06-111-0/+1
| | | | | | | | | | | | | Corresponding Webkit patch to make this work is here: https://bugs.webkit.org/show_bug.cgi?id=40317 BUG=16735 TEST=webkitSupportsFullscreen() js call should return true with switch. (Requires webkit patch) Review URL: http://codereview.chromium.org/2775001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49539 0039d316-1c4b-4281-b951-d872f2087c98
* Merge DidPaintBackingStoreRects and DidScrollBackingStoreRectdarin@chromium.org2010-06-119-79/+67
| | | | | | | | | | | | | | | | | | | | | | | | into a single DidUpdateBackingStore method so that I can move the call to ScrollWindowEx closer to the RedrawWindow call. This is done to minimize the opportunity for a v-sync of the display happening between the ScrollWindowEx call and the RedrawWindow call, which gives the appearance of tearing or flicker in some cases. RenderWidgetHostViewMac now just treats the scroll rect as an additional paint rect. Since RenderWidgetHostViewGtk was just repainting the scroll rect, I took this opportunity to avoid double painting if a paint rect happened to intersect the scroll rect. R=brettw,rohitrao BUG=none TEST=none Review URL: http://codereview.chromium.org/2733010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49532 0039d316-1c4b-4281-b951-d872f2087c98
* Track whether a page was loaded via a proxy so that we canmbelshe@chromium.org2010-06-101-0/+2
| | | | | | | | | | | evaluate performance. BUG=none TEST=none Review URL: http://codereview.chromium.org/2764004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49468 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Implement the 'AutoFill Options...' entry in the AutoFill suggestionsjhawkins@chromium.org2010-06-103-15/+29
| | | | | | | | | | | popup. BUG=45144 TEST=none Review URL: http://codereview.chromium.org/2773005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49463 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Fix a bug that caused AutoFill to not fill the field the user isjhawkins@chromium.org2010-06-102-8/+0
| | | | | | | | | | | | typing in. This change also conveniently removes filling the default profile, since this feature has been removed from AutoFill. BUG=46219 TEST=FormManagerTest.FillFormNonEmptyField Review URL: http://codereview.chromium.org/2766005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49454 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: make sure that we never pass directory descriptors into the sandbox.agl@chromium.org2010-06-101-1/+10
| | | | | | | | BUG=43304 http://codereview.chromium.org/2733011/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49446 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Faster scrolling on 10.6.thakis@chromium.org2010-06-101-15/+36
| | | | | | | | | BUG=45553 TEST=Scrolling up and down still works on 10.5 and 10.6. It uses less %cpu on 10.6. Review URL: http://codereview.chromium.org/2771010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49442 0039d316-1c4b-4281-b951-d872f2087c98
* Rip out the multiprofile implementation.erg@chromium.org2010-06-102-5/+0
| | | | | | | | | | | Requested by Ben. Never worked on linux or OSX and apparently broken on Windows. Removal of the multiprofile code will make switching out the old AppMenuModel with the new WrenchMenuModel trivial. BUG=27177 TEST=none Review URL: http://codereview.chromium.org/2736001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49440 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms for web cache manager.mbelshe@chromium.org2010-06-101-0/+19
| | | | | | | | | BUG=none TEST=na Review URL: http://codereview.chromium.org/2762005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49436 0039d316-1c4b-4281-b951-d872f2087c98
* Silently discard invalid OnFollowDeferredRedirect requests sent by the ↵eroman@chromium.org2010-06-101-1/+1
| | | | | | | | | | | | | | renderer to the browser. It is a bug if the renderer sends these, but this check prevents the browser from crashing as a consequence of it. One situation where this can happen today (and needs to be fixed renderer-side), is when the renderer cancel's a request in response to IGNORE policy, but then later tries to follow the redirect on the cancelled request. BUG=20470 Review URL: http://codereview.chromium.org/2793001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49421 0039d316-1c4b-4281-b951-d872f2087c98
* UseAlternateResourceHandler should set the non-owning pointerwtc@chromium.org2010-06-101-1/+5
| | | | | | | | | | | | to the CrossSiteResourceHandler in the extra request info to NULL when it deletes the original ResourceHandler chain. R=brettw,jschuh BUG=46126 TEST=See bug report. Review URL: http://codereview.chromium.org/2787005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49411 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding 49339 jcivelli@chromium.org2010-06-104-14/+103
| | | | | | | | | | | | | It was unjustly reverted due to flaky unit-test failure. Original review: http://codereview.chromium.org/2358003 TBR=ctguil@chromium.org Review URL: http://codereview.chromium.org/2720003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49344 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 49339 - Enable renderer accessibility by default.jcivelli@chromium.org2010-06-104-103/+14
| | | | | | | | | | | | | | It seems to be breaking the ExtensionAPIClientTest.CreateWindowW unit-test. BUG=25564 TEST=none Review URL: http://codereview.chromium.org/2358003 TBR=ctguil@chromium.org Review URL: http://codereview.chromium.org/2782003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49343 0039d316-1c4b-4281-b951-d872f2087c98
* Enable renderer accessibility by default.ctguil@chromium.org2010-06-094-14/+103
| | | | | | | | | BUG=25564 TEST=none Review URL: http://codereview.chromium.org/2358003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49339 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up geolocation_dispatcher_host.hjoth@chromium.org2010-06-091-1/+1
| | | | | | | | | | | It was pulling internal geolocation headers into resource_message_filter.cc BUG=none TEST=none Review URL: http://codereview.chromium.org/2742002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49271 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line switch to enable the pepper testing interface. This moves ↵brettw@chromium.org2010-06-091-0/+2
| | | | | | | | | | the other switch we were using in the plugins directory to the new file as well. TEST=covered by UI test BUG=none Review URL: http://codereview.chromium.org/2716002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49269 0039d316-1c4b-4281-b951-d872f2087c98
* Add rgb_frame size tracking and resizing to fix security issue with changing ↵scherkus@chromium.org2010-06-083-17/+44
| | | | | | | | | | | | | | sizes. Added negative checks on signed heights and widths, added negative check for signed heights and widths in backing store for video layering. Patch by cdn@chromium.org: http://codereview.chromium.org/2449006/show BUG=45267 TEST=Run on linux with --enable-video-layering and use <video> tag git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49131 0039d316-1c4b-4281-b951-d872f2087c98
* AudioController to perform audio operations on a separate threadhclam@chromium.org2010-06-071-3/+5
| | | | | | | | | | | | | | | Added AudioController as a wrapper over AudioOutputStream to operate methods of AudioOutputStream on a separate thread managed by AudioController. This way most of the audio operations will be non-blocking. Next step is to modify AudioRendererHost to use AudioController. TEST=media_unittests --gtest_filter=AudioControllerTest.* BUG=39885 Review URL: http://codereview.chromium.org/2477005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49079 0039d316-1c4b-4281-b951-d872f2087c98
* Fix audio "clicking" for strongbad demohclam@chromium.org2010-06-073-44/+49
| | | | | | | | | | | | | | | | | | | | The strongbad demo plays an audio file of 11kHz. However we hardcoded in the AudioRendererHost to always open an audio device of 8k samples which happens to be too big for streams of 11khz. This makes the IPC transport packet size much smaller than the hardware buffer size and hardware packet is always partially filled. This change allow the AudioRendererHost to designate the transport packet size based on the hardware packet size. The hardware packet size is now adjusted based on the sample rate. BUG=46007 TEST=http://smokescreen.us/demos/sb45demo.html The above audio plays fine. Review URL: http://codereview.chromium.org/2651001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49078 0039d316-1c4b-4281-b951-d872f2087c98
* Inspector settings are now cleared before ↵yurys@chromium.org2010-06-071-0/+2
| | | | | | | | testScriptsTabIsPopulatedOnInspectedPageRefresh. Review URL: http://codereview.chromium.org/2420003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49053 0039d316-1c4b-4281-b951-d872f2087c98
* Actually clear the disk cache, and keep it enabled, between benchmark runs.mlloyd@chromium.org2010-06-052-2/+48
| | | | | | | | | | | | | Fixes a small TODO in the benchmarking extension. Keep the disk cache turned on during benchmarking, and doom all entries between benchmark runs, rather than disabling it entirely. BUG=none TEST=All tests pass. Review URL: http://codereview.chromium.org/669115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48994 0039d316-1c4b-4281-b951-d872f2087c98
* A very basic fix that prevents experimental popups from living longer than ↵twiz@google.com2010-06-031-0/+5
| | | | | | | | | | | | | the ExtensionFunctionDispatcher/RenderViewHost that launched the popup. This is a problem, for example, when Chrome is closed while a popup is still displayed. I also removed the code that delayed sending the onClosed popup notification. I modified the ExtensionPopup::Obeserver interface to add methods for about-to-close, and fully-closed notifications. BUG=None TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/2092020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48841 0039d316-1c4b-4281-b951-d872f2087c98
* Add IDBIndex support + various cleanup.jorlow@chromium.org2010-06-031-1/+1
| | | | | | | | This adds IDBIndex support. The majority of this CL was boilerplate type code in indexed_db_dispatcher_host so I did my best to factor it into template functions and split things into multiple sub-dispatcher hosts. Review URL: http://codereview.chromium.org/2449005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48822 0039d316-1c4b-4281-b951-d872f2087c98