summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Connecting MediaStreamManager and AudioInputRenderHost/AudioInputDeviceManager.mflodman@chromium.org2011-09-305-26/+31
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8065011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103433 0039d316-1c4b-4281-b951-d872f2087c98
* Fix --disable-gpu-vsyncjbauman@chromium.org2011-09-302-0/+18
| | | | | | | | | | | | | Add back code to set the swap interval, and also make sure to reset the swap interval when the surface is recreated on windows. BUG=96415 TEST=--disable-gpu-vsync Review URL: http://codereview.chromium.org/8085011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103410 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move constrained window code from TabContents to TabContentsWrappererg@chromium.org2011-09-307-129/+6
| | | | | | | | | | BUG=95257 TEST=compiles,ConstrainedWindowTabHelperUnit.ConstrainedWindows is green Review URL: http://codereview.chromium.org/7880003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103403 0039d316-1c4b-4281-b951-d872f2087c98
* Here are more exports needed for content_unittests to link in the component ↵dpranke@chromium.org2011-09-3075-138/+208
| | | | | | | | | | | | build. R=jam@chromium.org, darin@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8054037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103394 0039d316-1c4b-4281-b951-d872f2087c98
* Convert all of media/ over to the new base::{Bind,Callback} hotness.fischman@chromium.org2011-09-2912-86/+74
| | | | | | | | | | | | | | | | | | | Mostly this was a rote conversion, replacing: - Pass-by-pointer CallbackN<>'s become pass-by-const-ref Callback<>'s. - scoped_ptr<CallbackN<>> members become Callback<> members. - several dedicated FooCallback typedefs became base::Closure. Because it was only used in a small handful of places and only in one place profitably, I deleted AutoCallbackRunner. Because it tickles a Bind bug I disabled mfdecoder in .gyp (about to get deleted in a scherkus CL). BUG=none TEST=media_tests, trybots Review URL: http://codereview.chromium.org/8071007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103376 0039d316-1c4b-4281-b951-d872f2087c98
* add exports needed for content_shelldpranke@chromium.org2011-09-292-1/+14
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8071017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103344 0039d316-1c4b-4281-b951-d872f2087c98
* fix VideoCaptureImpl to send device info to client when that client is ↵wjia@chromium.org2011-09-292-10/+18
| | | | | | | | | | registered after VideoCaptureImpl has received device info. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/8073006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103336 0039d316-1c4b-4281-b951-d872f2087c98
* Uniquified path needs to be used to rename the file for dangerous types.ncj674@motorola.com2011-09-291-1/+1
| | | | | | | | | | | BUG=98300 TEST=Download a dangerous file (say a.exe). Download the same file again so that it tries to create a (1).exe. Try to open the file downloaded second. Should open a (1).exe. Review URL: http://codereview.chromium.org/8065012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103335 0039d316-1c4b-4281-b951-d872f2087c98
* Add a content_shell specific DownloadManagerDelegate.jam@chromium.org2011-09-299-9/+273
| | | | | | | | | Also fix a race condition that existed in resource dispatching but was never tickled by Chrome. The problem is if in BufferedResourceHandler::OnReadCompleted(), CompleteResponseStarted calls the next handler's OnResponseStarted. If that pauses the request, then the next handler's OnReadCompleted() would still get called which is not correct. BUG=90445 Review URL: http://codereview.chromium.org/8065019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103331 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded calls from the ContentBrowserClient.avi@chromium.org2011-09-295-35/+0
| | | | | | | | | | | Removes one deprecated call, plus one that was added in anticipation of use but was never used. BUG=76788,97742 TEST=no change Review URL: http://codereview.chromium.org/8016004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103327 0039d316-1c4b-4281-b951-d872f2087c98
* Remove AdaptiveDemuxer since it's been replaced with ChunkingDemuxer.fischman@chromium.org2011-09-291-1/+0
| | | | | | | | | | BUG=none TEST=trybots Review URL: http://codereview.chromium.org/8065023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103279 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of default request context and fix use of speech censor flagallanwoj@chromium.org2011-09-2917-26/+129
| | | | | | | | | | | | Now gets the request context and censor preference in BrowserRenderProcessHost and passes them through to the SpeechInputDispatcherHost. Each time a speech request is made, the SpeechInputDispatcherHost passes through these values to the SpeechInputManager. Also each time the censor preference changes, RenderViewContextMenu updates the current profile's SpeechInputPreferences. BUG=92366 TEST=Speech recognition works. Review URL: http://codereview.chromium.org/7989001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103278 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for a few more Mac accessibility attributes.dmazzoni@chromium.org2011-09-291-15/+131
| | | | | | | | | | | | | | | Includes ARIA live regions, required fields, sliders and other range controls, and list subroles. Interestingly, implementing the list subroles causes VoiceOver to stop making lists hierarchical, which is one thing that made Chrome seem weird compared to Safari. BUG=none TEST=manual testing Review URL: http://codereview.chromium.org/8036022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103275 0039d316-1c4b-4281-b951-d872f2087c98
* ImageTransportSurface for OS Xbacker@chromium.org2011-09-2921-417/+868
| | | | | | | | | | | | | | | Moves display path closer to TOUCH_UI where we create an FBO backed GLSurface. It handles IPC via routed messages for less plumbing. The biggest change is that the GPU process renders directly to IOSurface via FBO, saving a glCopyTextImage2D pixel readback. I've implemented a TransportDIB transport path to support 10.5 (this is new). I've tested this on a recent Macbook Pro running 10.5. BUG=58381 TEST=TOUCH_UI and OSX 3D CSS and WebGL Review URL: http://codereview.chromium.org/7809019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103269 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrites renderer accessibility to not use WebAccessibilityCache.dmazzoni@chromium.org2011-09-2911-412/+642
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the primary underlying cause of a number of bugs where the browser's accessibility tree got out of sync with the renderer's accessibility tree, which makes the page seem not functional anymore. Splits renderer accessibility code out of render_view.cc into its own file. All code now uses the axID directly from WebCore::AccessibilityObject rather than WebAccessibilityCache, which can now be deleted. One implication of this is that the top-level node can now change its ID, so we introduce a new role ROLE_ROOT_WEB_AREA to distinguish it from an iframe's ROLE_WEB_AREA node. To solve the problem of getting out of sync, the renderer now maintains a tree of axIDs that reflects the state of the tree as of the most recent message sent to the browser. Whenever a new accessibility notification is posted, it refers to that tree to determine precisely what information needs to be sent to the browser, eliminating problems where the renderer was posting notifications about nodes that the browser didn't know about. BUG=93095,93232,92716,90787,90768 TEST=updated lots of tests Review URL: http://codereview.chromium.org/7966013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103249 0039d316-1c4b-4281-b951-d872f2087c98
* Add UIPI filter for WM_APPCOMMAND messagejschuh@chromium.org2011-09-291-0/+1
| | | | | | | | BUG=91957TEST=Set focus to a Flash instance and change the volume with keyboard media keys. Review URL: http://codereview.chromium.org/8038067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103233 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure WebKit's "canSetValue" attribute is reflected in Chrome's ↵aboxhall@chromium.org2011-09-292-2/+11
| | | | | | | | | | | | accessibility tree. BUG=none TEST=RendererAccessibilityBrowserTest.CrossPlatformWritableElement Review URL: http://codereview.chromium.org/8050003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103217 0039d316-1c4b-4281-b951-d872f2087c98
* Add owners for intents subdir.gbillock@chromium.org2011-09-281-0/+4
| | | | | | | | | | | R=jam@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/8072005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103196 0039d316-1c4b-4281-b951-d872f2087c98
* Re-re-reland r99689: Refactor the ContextInfo struct from bindings_utils into aaa@chromium.org2011-09-281-26/+6
| | | | | | | | | | | | | | | | | | | | | | | | real class. In this iteration, I have made the following changes to protect against various crashes: * In ExtensionProcessBindings::HandleResponse(), null check ExtensionBindingsContext before using. It can legitimately be NULL in the case where a frame is removed before a response comes back. We see crashes here in the canary. * Delete ExtensionBindingsContext asynchronously. I haven't seen any crashes related to this, but it seems like a call to CallChromeHiddenMethod() could end up immediately deleting any other ExtensionBindingsContext. That would be super hard to reason about, so deleting asynchronously makes more sense. See ExtensionBindingsContext::HandleV8ContextReleased(). BUG=97929 Review URL: http://codereview.chromium.org/8068004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103175 0039d316-1c4b-4281-b951-d872f2087c98
* Recover from bad proxy settings pointing to non-proxy servers that reply anyway.joaodasilva@chromium.org2011-09-284-0/+29
| | | | | | | | | | | | Added tests for proxy error recovery. BUG=chromium-os:20775 TEST=DeviceManagementServiceTest.*. Steps described in the bug now work as expected. Review URL: http://codereview.chromium.org/8054013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103172 0039d316-1c4b-4281-b951-d872f2087c98
* Pass intent data through to the picker and launch a new tabgbillock@chromium.org2011-09-282-14/+6
| | | | | | | | | | | | | on service selection. R=jhawkins@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/7978014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103171 0039d316-1c4b-4281-b951-d872f2087c98
* Enable low-latency audio by default.enal@chromium.org2011-09-284-7/+7
| | | | | | | | | | | | | | | | | | | | | Still keep old high-latency code, but it works only when "--disable-low-latency-audio" flag specified. Rename command-line flag. BUG=http://code.google.com/p/chromium/issues/detail?id=61022 Review URL: http://codereview.chromium.org/7827016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103143 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Move plugin probing back in-process. This temporarily undoes r102971.rsesek@chromium.org2011-09-281-2/+9
| | | | | | | | | | BUG=17863,98294 TEST=With the Totem plugin installed, launch Chromium and go to about:plugins. You have plugins. Review URL: http://codereview.chromium.org/8059039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103142 0039d316-1c4b-4281-b951-d872f2087c98
* More aura changesoshima@google.com2011-09-284-38/+39
| | | | | | | | | | | | backing_store_x.cc -> gtk webplugin_delegate_impl.h : USE_X11 -> TOOLKIT_USES_GTK BUG=none TEST=none Review URL: http://codereview.chromium.org/8043017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103127 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dead macros after updating _WIN32_WINNT and WINVERjschuh@chromium.org2011-09-281-13/+0
| | | | | | | | BUG=92941 Review URL: http://codereview.chromium.org/8038027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103120 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderWidgetHostViewMac to content.avi@chromium.org2011-09-2812-0/+4331
| | | | | | | | | | | | | BUG=95573 TEST=no visible change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103113 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=103117 Review URL: http://codereview.chromium.org/8052026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103118 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 103113 - Move RenderWidgetHostViewMac to content.torne@chromium.org2011-09-2812-4331/+0
| | | | | | | | | | | | BUG=95573 TEST=no visible change Review URL: http://codereview.chromium.org/8052026 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/8066010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103117 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderWidgetHostViewMac to content.avi@chromium.org2011-09-2812-0/+4331
| | | | | | | | | BUG=95573 TEST=no visible change Review URL: http://codereview.chromium.org/8052026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103113 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: don't send Detach followed by Attach message on navigation if ↵yurys@chromium.org2011-09-281-0/+2
| | | | | | | | | | | inspected RVH doesn't change BUG=98210 TEST=DevToolsSanityTest.TestConsoleOnNavigateBack Review URL: http://codereview.chromium.org/8050011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103092 0039d316-1c4b-4281-b951-d872f2087c98
* + Adding new stub methods to chrome/browser/ui/views/aura/aura_init.cc since ↵saintlou@chromium.org2011-09-281-0/+2
| | | | | | | | | | | | | | window_delegate.h has 3 new pure virtual functions. + Adding missing #include <cairo/cairo.h> to content/renderer/webplugin_delegate_proxy.cc so that WebPluginDelegateProxy::BackgroundChanged() can compile. BUG=97131 TEST=none Review URL: http://codereview.chromium.org/8051023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103088 0039d316-1c4b-4281-b951-d872f2087c98
* Delegate decision what site instances can be rendered in what process to chromejochen@chromium.org2011-09-2711-88/+103
| | | | | | | | | | BUG=89642, 90443 TEST=nothing breaks Review URL: http://codereview.chromium.org/8033001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103041 0039d316-1c4b-4281-b951-d872f2087c98
* Fix broken RAF on Mac due to early Echo reply message.jbates@chromium.org2011-09-271-2/+8
| | | | | | | | | BUG=98284 TEST=verify simple WebGL content runs at smooth 60fps on mac. Review URL: http://codereview.chromium.org/8055023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103031 0039d316-1c4b-4281-b951-d872f2087c98
* Move Leopard compatible block code to content/.avi@chromium.org2011-09-275-0/+409
| | | | | | | | | BUG=95573 TEST=no change Review URL: http://codereview.chromium.org/8060022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103017 0039d316-1c4b-4281-b951-d872f2087c98
* Add OnRemoved() in VideoCapture::EventHandler APIwjia@chromium.org2011-09-276-1/+21
| | | | | | | | | | This is to allow client to know when the event handler can be deleted. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/8037055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103016 0039d316-1c4b-4281-b951-d872f2087c98
* Add Cambridge downloads team to OWNERS files.rdsmith@chromium.org2011-09-271-1/+4
| | | | | | Review URL: http://codereview.chromium.org/8038031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103000 0039d316-1c4b-4281-b951-d872f2087c98
* net: make HSTS hosts use the normal SSL interstitialsagl@chromium.org2011-09-277-27/+30
| | | | | | | | | | | | | | | | | | | | | | | (Reland of r102947, which was reverted in r102950.) SSL interstitials have better translations for the error messages and this returns us to the point where we have only a single UI for SSL errors, which will make some future changes easier. First, this change changes the SSL error callbacks to take an SSLInfo& rather than a X509Certificate* (which was already a TODO(wtc) in the code). Most of this change is the resulting plumbing. It also adds a |is_hsts_host| flag to the callbacks to denote an HSTS host. Finally, in ssl_policy.cc the |is_hsts_host| flag causes any error to be fatal. BUG=93527 http://codereview.chromium.org/7976036/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102994 0039d316-1c4b-4281-b951-d872f2087c98
* Split RenderWidgetHostViewMac.avi@chromium.org2011-09-272-0/+48
| | | | | | | | | | | It now is in two pieces: RenderWidgetHostViewMac which is moving to content/, and the delegate which will remain in chrome/. BUG=95573 TEST=no change to spell checking or swiping to go back/forward Review URL: http://codereview.chromium.org/8055014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102992 0039d316-1c4b-4281-b951-d872f2087c98
* Implement --use-gl=anyzmo@google.com2011-09-275-223/+250
| | | | | | | | | | | | | | The behavior is this: if --use-gl=any passes in, and the default GL binding causes GPU features to be blacklisted, fallback to osmesa. Also, in GPU process, if the default binding fails, fallback to osmesa. This option will be used in testing to make sure accelerated path is always tested, if not on GPU, then on top of osmesa. This CL also moves certain functions out of GpuBlacklist to GpuDataManager so we could manage the special cases when --use-gl=osmesa or --use-gl=any is passed. BUG=97675 TEST=bots green Review URL: http://codereview.chromium.org/7967020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102973 0039d316-1c4b-4281-b951-d872f2087c98
* Move plugin loading out of process on Mac and Linux.rsesek@chromium.org2011-09-276-9/+178
| | | | | | | | | | | | | | This creates a new set of IPC messages for the utility process to load plugins to get the WebPluginInfo data in a separate process. Previously this was done in the browser process, but that involves loading arbitrary third-party code into the address space and then executing it. BUG=17863,95114 TEST=Plugins work as before. Review URL: http://codereview.chromium.org/7889025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102971 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix uninitialized member variables.kmadhusu@chromium.org2011-09-272-4/+8
| | | | | | | | | | | CID_COUNT=12 CID=100727, 100582, 100851, 100854, 100904, 101224, 101533, 101534, 101535, 101615, 101631, 101647 BUG=none TEST=none Review URL: http://codereview.chromium.org/7983053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102953 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "net: make HSTS hosts use the normal SSL interstitials"agl@chromium.org2011-09-277-30/+27
| | | | | | | This reverts commit r102947. It broke the shared build, probably because of a missing NET_EXPORT. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102950 0039d316-1c4b-4281-b951-d872f2087c98
* net: make HSTS hosts use the normal SSL interstitialsagl@chromium.org2011-09-277-27/+30
| | | | | | | | | | | | | | | | | | | | | SSL interstitials have better translations for the error messages and this returns us to the point where we have only a single UI for SSL errors, which will make some future changes easier. First, this change changes the SSL error callbacks to take an SSLInfo& rather than a X509Certificate* (which was already a TODO(wtc) in the code). Most of this change is the resulting plumbing. It also adds a |is_hsts_host| flag to the callbacks to denote an HSTS host. Finally, in ssl_policy.cc the |is_hsts_host| flag causes any error to be fatal. BUG=93527 http://codereview.chromium.org/7976036/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102947 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_Fullscreen_Dev;0.5. Keep 0.4 for backwards compatiblity and point itpolina@google.com2011-09-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to PPB_FlashFullscreen. The new implementation is based on http://codereview.chromium.org/7714017/ with some bug fixes. Update header comments. Main API differences between the old and the new implementation: - transition from fullscreen is now asynchronous and ends at DidChangeView just like transition to fullscreen; graphics devices cannot be bound during the transition. - when switching to/from fullscreen 3D resources no longer need to be re-created. - transitions to fullscreen are only possible when processing user user gestures. - transition to fullscreen results in 2 DidChangeViews, one for moving the plugin to the middle of the window and one for stretching the window and placing the plugin in the middle of the screen. - the size of the plugin is not changed when going to/from fullscreen. Testing: - Mapped ppapi_tests:test_fullscreen to ppapi_tests:test_flash_fullscreen. - Updated test_fullscreen to work with the new implementation. To be testable automatically this needs enhancements to the testing infrastructure for generating user gestures. For now marked the test as DISABLED. - Disabled NaCl's ppapi_ppb_fullscreen_browser_test for the same reasons as above. - To re-enable both tests, we will first need to add user gesture capabilites to PPB_Testing. - Build 0.4 ppapi_test:test_fullscreen and ran this out of process and in process with the newly build revision of chrome to verify backwards compatability. - In a separate CL, will update NaCl's ppapi_ppb_fullscreen_browser_test to work with the new implementation, for now only manually. BUG=41780 TEST=see above Review URL: http://codereview.chromium.org/7826017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102888 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the bug that the ESC key is mistakenly absorbed.yzshen@chromium.org2011-09-271-4/+11
| | | | | | | | | | | | | BUG=97568 TEST= 1. go to chrome://settings/languages 2. change language 3. press ESC 4. the popup dialog should close Review URL: http://codereview.chromium.org/8038029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102887 0039d316-1c4b-4281-b951-d872f2087c98
* Set focus to content area after navigating so that it has focus (matches ↵jam@chromium.org2011-09-271-0/+4
| | | | | | | | | what chrome does). BUG=90445 Review URL: http://codereview.chromium.org/8052004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102872 0039d316-1c4b-4281-b951-d872f2087c98
* Adding dbus,x11,fontconfig for use_aura==1 (because on Linux these libraries ↵saintlou@chromium.org2011-09-271-0/+8
| | | | | | | | | | | | | | were previsouly included with toolkit_uses_gtk==1, which is now always ==0 under Aura) Also fixed return value in browser/ui/panels/panel_browser_frame_view.cc BUG= 97131 TEST=none Review URL: http://codereview.chromium.org/8044028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102864 0039d316-1c4b-4281-b951-d872f2087c98
* Add yet more CONTENT_EXPORTed symbols for the content component build.dpranke@chromium.org2011-09-273-5/+8
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST=none Review URL: http://codereview.chromium.org/8037041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102852 0039d316-1c4b-4281-b951-d872f2087c98
* Split off content_shell's ResourceContext and URLRequestContextGetter ↵jam@chromium.org2011-09-276-163/+276
| | | | | | | | implementations into separate files to improve readability.BUG=90445 Review URL: http://codereview.chromium.org/8037037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102851 0039d316-1c4b-4281-b951-d872f2087c98
* Provide implementations of NPChannelBase to allow script to use NPAPI ↵steveblock@chromium.org2011-09-271-2/+2
| | | | | | | | | | | | | | | | objects in the browser process This functionality is required to implement the Java Bridge on Android. JavaBridgeChannel is used with NPObjectProxy in the renderer and JavaBridgeChannelHost is used with NPObjectStub in the browser. Note that this requires a minor change to NPChannelBase to allow JavaBridgeChannelHost to finish setting up the channel handle. BUG=96703 Review URL: http://codereview.chromium.org/7906005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102842 0039d316-1c4b-4281-b951-d872f2087c98
* Add Pepper API to use UDP mtilburg@adobe.com2011-09-263-44/+373
| | | | | | | | | | | | author: mtilburg@adobe.com BUG=none TEST=tested with pepper flash Review URL: http://codereview.chromium.org/8036036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102817 0039d316-1c4b-4281-b951-d872f2087c98