summaryrefslogtreecommitdiffstats
path: root/content/renderer
Commit message (Collapse)AuthorAgeFilesLines
* Merge 209773 "android: Do not SetNeedsBeginFrame(true) multiple ..."brianderson@chromium.org2013-07-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | > android: Do not SetNeedsBeginFrame(true) multiple times > > Doing so makes the Browser think that there are more listeners > for BeginFrame than there actually are. > > This fix removes redundant SetNeedsBeginFrame messages from the > Renderer to the Browser. > > As an additional safeguard, RenderWidgetHostViewAndroid also > avoids making redundant calls to ContentViewCoreImpl's > SetNeedsBeginFrame on the Browser side. > > BUG=253799 > > Review URL: https://chromiumcodereview.appspot.com/18196003 TBR=brianderson@chromium.org Review URL: https://codereview.chromium.org/18579002 git-svn-id: svn://svn.chromium.org/chrome/branches/1547/src@209788 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 208767 "Replace RenderThread::Get() with thread_safe_sender_"rtoy@google.com2013-06-273-24/+10
| | | | | | | | | | | | | | | | > Replace RenderThread::Get() with thread_safe_sender_ > > BUG=250805 > > Also removes RunWebAudioMediaCodec and WebAudioMediaCodecRunner. > > Review URL: https://chromiumcodereview.appspot.com/17699003 TBR=rtoy@google.com Review URL: https://codereview.chromium.org/18088003 git-svn-id: svn://svn.chromium.org/chrome/branches/1547/src@208938 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: Plumb extra arguments on ContentRendererClient.fsamuel@chromium.org2013-06-253-13/+34
| | | | | | | | | | | | | | | This plumbs extra parameters from BrowserPlugin::Attach all the way to the ContentBrowserClient. This will permit identifying whether to attach an adview API or webview API to BrowserPlugin in the chrome layer. NOTRY=true BUG=166165 Review URL: https://chromiumcodereview.appspot.com/17514002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208312 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef.thakis@chromium.org2013-06-242-30/+27
| | | | | | | | | | | | | | | | | This CL was created fully mechanically by running git grep -l base::mac::ScopedCFTypeRef | xargs sed -i -e 's/base::mac::ScopedCFTypeRef/base::ScopedCFTypeRef/g' git commit -a -m. git clang-format HEAD^ --style=Chromium git commit -a -m. git cl upload -t $TITLE BUG=251957 TBR=mark@chromium.org Review URL: https://codereview.chromium.org/16917011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208245 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build for TVycheo@chromium.org2013-06-242-13/+13
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/17582005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208159 0039d316-1c4b-4281-b951-d872f2087c98
* When using the week-of-year syntax, don't construct an intermediate time ↵senorblanco@chromium.org2013-06-242-5/+3
| | | | | | | | | | | value when formatting; use the calendar directly. Otherwise the default calendar constructed for formatting will use the wrong week-of-year rules. BUG=253231 TBR=keishi Review URL: https://chromiumcodereview.appspot.com/17574002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208155 0039d316-1c4b-4281-b951-d872f2087c98
* Defer stream texture creation on TV casewonsik@chromium.org2013-06-232-20/+36
| | | | | | | | | | | | | EstablishSurfaceTexturePeer() is called even if external surface is used. Defer stream texture creation altogether until it is certain that external surface is not used. BUG=248886 R=qinmin@chromium.org Review URL: https://chromiumcodereview.appspot.com/17530003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208126 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing week-of-year test in ↵senorblanco@chromium.org2013-06-231-2/+3
| | | | | | | | | | | RendererDateTimePickerTest.TestParserValidDateInputs. BUG=253231 TBR=keishi Review URL: https://codereview.chromium.org/17573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208122 0039d316-1c4b-4281-b951-d872f2087c98
* Move PPB_TCPSocket out of dev.yzshen@chromium.org2013-06-222-2/+2
| | | | | | | | | BUG=247225 TEST=None Review URL: https://chromiumcodereview.appspot.com/17314012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208094 0039d316-1c4b-4281-b951-d872f2087c98
* Shuffle media-related WebMimeRegistry code from webkit/ to content/.scherkus@chromium.org2013-06-221-7/+93
| | | | | | | | | | TestShellWebMimeRegistryImpl has been replaced in lieu of content_shell calling net::RemoveProprietaryMediaTypesAndCodecsForTests(). BUG=251306 Review URL: https://chromiumcodereview.appspot.com/17447011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208045 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkit/renderer/media/android/ to content/renderer/media/android/.scherkus@chromium.org2013-06-2224-439/+3646
| | | | | | | | | | | | | | | In addition: - MediaInfoLoader was moved to the android subdirectory as its only used on Android. - ProxyDecryptor was modified to accept a MediaKeys object instead of creating one itself. - StreamTexture{Factory,Proxy}Impl was folded into StreamTexture{Factory,Proxy}. - WebMediaPlayerProxyAndroidImpl was folded into WebMediaPlayerProxyAndroid. BUG=251306 TBR=jochen Review URL: https://chromiumcodereview.appspot.com/17502007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208040 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land 16025005 with tiny fix for statics perf issuecrogers@google.com2013-06-228-0/+420
| | | | | | | | | | | 16025005 had review from: palmer@chromium.org, piman@chromium.org, scherkus@chromium.org BUG=163795 TBR=scherkus@chromium.org Review URL: https://codereview.chromium.org/17288018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208003 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207992: This looks like a reland of r207983, which was reverted insadrul@chromium.org2013-06-228-420/+0
| | | | | | | | | | r207989. But it looks more like an accidental commit. TBR=crogers@google.com Review URL: https://codereview.chromium.org/17176031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207996 0039d316-1c4b-4281-b951-d872f2087c98
* don't include iostream.hcrogers@google.com2013-06-228-0/+420
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use ChildThread for main loop - fix Android build whitespace fix minor style fix last minute compile fixes address Antoine's comments minor changes to reflect latest Blink API -- address palmer comments last minute include order fix address last minute style nits stub out other OSes support Takashi's MIDIAccessor fix minor build err undo param traits changes get rid of param_traits - other minor style nits address scherkus comments use int64 for ParamTraits WIP fix white-space issues more style basically working some cleanup -- support for multiple clients forgot midi_manager.cc Get MIDI port information sent to renderer formatting fixes lots of cleanup - added RequestAccess and Send style more style only bother sending received messages to renderer if approval was asked early steps to granting permission to Blink some progress to sending port info to Blink send client_id when requesting access fix minor style issues in .gyp files fix context/browser DEPS fix include paths git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207992 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207983 "Implement Web MIDI API back-end"crogers@google.com2013-06-228-420/+0
| | | | | | | | | | | | | | | | | | > Implement Web MIDI API back-end > > This involves browser-side support and IPC for sending and receiving > MIDI messages. Initially support for OSX is included. > > BUG=163795 > R=palmer@chromium.org, piman@chromium.org, scherkus@chromium.org > > Review URL: https://codereview.chromium.org/16025005 TBR=crogers@google.com Review URL: https://codereview.chromium.org/17334006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207989 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Web MIDI API back-endcrogers@google.com2013-06-228-0/+420
| | | | | | | | | | | | This involves browser-side support and IPC for sending and receiving MIDI messages. Initially support for OSX is included. BUG=163795 R=palmer@chromium.org, piman@chromium.org, scherkus@chromium.org Review URL: https://codereview.chromium.org/16025005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207983 0039d316-1c4b-4281-b951-d872f2087c98
* Add the P2P_SOCKET_STUN_TCP_CLIENT and P2P_SOCKET_STUN_SSLTCP_CLIENT to ↵ronghuawu@chromium.org2013-06-221-1/+3
| | | | | | | | | | | IsTcpClientSocket. BUG=133742 R=sergeyu@chromium.org Review URL: https://codereview.chromium.org/17068014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207967 0039d316-1c4b-4281-b951-d872f2087c98
* Apply artificial memory pressure when backgrounded.vollick@chromium.org2013-06-214-0/+83
| | | | | | | | | | | | | | | | | | In https://codereview.chromium.org/17106004/, I am adding discardable memory emulation for platforms that do not support it natively. The emulation works by listening for memory pressure notifications and purging memory in response. But we don't yet provide memory pressure notifications on any platform other than android. In future, we'll periodically poll system memory usage, and send memory pressure notifications as appropriate, but as a first step, we will artificially apply memory pressure when tabs are backgrounded. BUG=237681 Review URL: https://chromiumcodereview.appspot.com/17355004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207947 0039d316-1c4b-4281-b951-d872f2087c98
* Replace content::ContextMenuSourceType with ui::MenuSourceType.varunjain@chromium.org2013-06-212-8/+8
| | | | | | | | BUG=239110 Review URL: https://chromiumcodereview.appspot.com/17432002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207946 0039d316-1c4b-4281-b951-d872f2087c98
* Add dmichael to pepper host OWNERS files.raymes@chromium.org2013-06-211-0/+1
| | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/17410009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207908 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Implement WebFrameClient in RenderFrame and proxy all calls to ↵senorblanco@chromium.org2013-06-214-51/+14
| | | | | | | | | | | | | RenderView (for now)." (r207825). Many failures on layout tests, e.g., fast/animation/request-animation-frame-during-modal.html BUG=245126 TBR=nasko Review URL: https://codereview.chromium.org/17068011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207857 0039d316-1c4b-4281-b951-d872f2087c98
* Track NPObject ownership by the originating plugins' NPP identifier. [4/6] ↵wez@chromium.org2013-06-211-1/+10
| | | | | | | | | | | | | | | | | | | | | | (Chrome) This CL makes Chrome-side changes necessary for tracking of NPObject ownership to out-of-process NPAPI plugin instances. Ownership information is now included whenever an NPObject is marshalled across IPC, to be passed when instantiating NPObjectProxy instances for objects. In the plugin process each NPObject is tracked to its owning plugin instance, and browser-owned objects are tracked to a dummy NPP identifier. This depends upon crrev.com/17220002 and is a prerequisite for crrev.com/17208003. BUG=152006 Review URL: https://chromiumcodereview.appspot.com/17208003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207840 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebFrameClient in RenderFrame and proxy all calls to RenderView ↵nasko@chromium.org2013-06-214-14/+51
| | | | | | | | | | | | (for now). This is continuation of the original CL (https://codereview.chromium.org/16223006/), which didn't account for Blink tests using WebTestProxy. BUG=245126 Review URL: https://chromiumcodereview.appspot.com/17114006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207825 0039d316-1c4b-4281-b951-d872f2087c98
* SSLTCP (pseudo-SSL with fake handshake and unencrypted data) support for p2p ↵ronghuawu@chromium.org2013-06-211-6/+8
| | | | | | | | | | socket. BUG=133742 Review URL: https://chromiumcodereview.appspot.com/16516003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207810 0039d316-1c4b-4281-b951-d872f2087c98
* Pass InitializeCDM() call through IPC to the browser.xhwang@chromium.org2013-06-212-26/+37
| | | | | | | | | | TBR=yfriedman@chromium.org BUG=252042 TEST=none Review URL: https://chromiumcodereview.appspot.com/17022008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207757 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded gurl.h includes.thestig@chromium.org2013-06-211-3/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/15600006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207739 0039d316-1c4b-4281-b951-d872f2087c98
* Allow AccessibilityHostMsg_Notifications messages to be sent from the ↵dmazzoni@google.com2013-06-214-0/+55
| | | | | | | | | | | renderer while it is swapped out, to prevent getting stuck BUG=243847 R=creis@chromium.org Review URL: https://codereview.chromium.org/16903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207738 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome-native:// scheme.tedchoc@chromium.org2013-06-213-0/+39
| | | | | | | | | | | | | | | | | | | The new scheme will be used to show pages rendered by the native platform widgets (Android's view system in particular). Decoupling the need for a renderer from WebContents was deemed to be too drastic and risky, so we plan on using a new scheme that is renderered as about:blank in the renderer and does not force a new renderer to be created on the next navigation (see SetSite in DidNavigate). This will allow us to use the same navigation handling/ site instance security already in place without a bunch of special handling. BUG=178915 Review URL: https://chromiumcodereview.appspot.com/15675024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207702 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207676 "Add skiaBenchmarking.getOps()"scottmg@chromium.org2013-06-212-174/+16
| | | | | | | | | | | | | | | | | | | | Caused linux x64 sizes regression due to static initializers in SkDebugCanvas. > Add skiaBenchmarking.getOps() > > Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. > > Depends on https://codereview.chromium.org/16638014/. > > R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org > > Review URL: https://codereview.chromium.org/15967010 TBR=fmalita@google.com Review URL: https://codereview.chromium.org/17514008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207682 0039d316-1c4b-4281-b951-d872f2087c98
* Add skiaBenchmarking.getOps()fmalita@google.com2013-06-212-16/+174
| | | | | | | | | | | | Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. Depends on https://codereview.chromium.org/16638014/. R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org Review URL: https://codereview.chromium.org/15967010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207676 0039d316-1c4b-4281-b951-d872f2087c98
* Libjingle roll 342:347sergeyu@chromium.org2013-06-211-0/+5
| | | | | | | | R=ronghuawu@chromium.org, wjia@chromium.org Review URL: https://codereview.chromium.org/16983015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207658 0039d316-1c4b-4281-b951-d872f2087c98
* Move the following clipboard files from webkit\glue to content\renderer. ↵ananta@chromium.org2013-06-219-15/+475
| | | | | | | | | | | | | | | | | | | | | | | | | These files now live in the content_renderer target. 1. scoped_clipboard_writer_glue.h 2. scoped_clipboard_writer_glue.cc 3. webclipboard_impl.cc 4. webclipboard_impl.h 5. clipboard_client.h I moved the static functions URLToMarkup and URLToImageMarkup out of the WebClipboardImpl class to the newly added webkit\renderer\clipboard_utils.cc/.h files as these functions are used by the MockWebClipboardImpl class which lives in webkit\support. This class is eventually used by the webkit_unit_tests target. Moving these functions out avoids the dependency on content in webkit_unit_tests. This is continuation of the ongoing work for bug https://code.google.com/p/chromium/issues/detail?can=2&q=237249 which is splitting chrome.dll into a browser and renderer component due to build issues on Windows. BUG=237249 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/17420005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207657 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning away unused WebRTC blink APIstommyw@chromium.org2013-06-205-52/+22
| | | | | | | | | | No more extra roundtrip for a getUserMedia call. BUG= Review URL: https://chromiumcodereview.appspot.com/17467002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207642 0039d316-1c4b-4281-b951-d872f2087c98
* Remove duplicate UpdateCompositionInfo calls.aurimas@chromium.org2013-06-204-58/+46
| | | | | | | | | | | | | With the addition of ime_event_guard UpdateSelectionBounds() gets called after every IME event which in turn calls UpdateCompositionInfo(). This was added in: https://chromiumcodereview.appspot.com/14757009 BUG=238444 Review URL: https://chromiumcodereview.appspot.com/15917002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207634 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate media-related platform support code from webkit/ to content/.scherkus@chromium.org2013-06-202-0/+34
| | | | | | | | | | | | | In addition: - TestStreamTextureFactoryAndroid was deleted as it is no longer used. - One copy of TestMediaStreamClient was deleted as it is no longer used. - The loadAudioResource() implementation was consolidated in RendererWebKitPlatformSupportImpl. BUG=251306 Review URL: https://chromiumcodereview.appspot.com/17428002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207625 0039d316-1c4b-4281-b951-d872f2087c98
* Hookup android_webview scroll offset delegation to Java side.mkosiba@chromium.org2013-06-201-4/+1
| | | | | | | | | | | | This connects the scroll offset that is delegated from the CC all the way up to the Java android.view.View class. BUG=b/6029133 TEST=AndroidWebViewTest Review URL: https://chromiumcodereview.appspot.com/16255010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207614 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Delete LayerTreeAsText / ShowPlatformLayerTreeenne@chromium.org2013-06-201-2/+0
| | | | | | | | | | | | | | | | | CC currently has three (3) ways to dump layers: LayerTreeAsText, LayerTreeAsJSON, and AsValue. LayerTreeAsText is the least useful due to the fact that if you have more than a few layers it falls off the bottom of the screen. Its layer printing abilities have been entirely replaced (in my opinion) with TraceViewer's ability to capture frames. R=nduca@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/17351009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207596 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkit/glue/webcookie.{h,cc} to content/common/cookie_data.{h,cc}.darin@chromium.org2013-06-201-13/+12
| | | | | | | | R=cevans@chromium.org, michaeln@chromium.org Review URL: https://codereview.chromium.org/17484002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207570 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PPB_TCPSocket_Dev: part 2yzshen@chromium.org2013-06-202-28/+31
| | | | | | | | | | | | | | This CL: - adds apps permission check; - supports TCP socket options that PPB_TCPSocket_Private doesn't support; - map net::Error to PP_Error. BUG=247225 TEST=None Review URL: https://chromiumcodereview.appspot.com/17291003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207567 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the UMA for webrtc sample rates. We need to map the sample rate to ↵xians@chromium.org2013-06-202-4/+14
| | | | | | | | | | | media::AudioSampleRate before we add the stat to the history. How the old ADM did, please look at AddHistogramSampleRate() in https://chromiumcodereview.appspot.com/11270012/diff/34001/content/renderer/media/webrtc_audio_device_impl.cc Review URL: https://chromiumcodereview.appspot.com/17465009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207534 0039d316-1c4b-4281-b951-d872f2087c98
* Add a switch to retain video playback on lost focuswonsik@chromium.org2013-06-201-2/+4
| | | | | | | | | | | | | | In Android, default behavior is to pause video playback when the app goes background. However, in some apps, it is preferable to retain video playback even when the app lost the focus. Add a switch for this behavior so that apps can choose whether to use this behavior or not. BUG=249985 R=qinmin@chromium.org,ycheo@chromium.org,jochen@chromium.org,joi@chromium.org Review URL: https://chromiumcodereview.appspot.com/16914005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207517 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Remove cc::Thread and cc::ThreadImpl.danakj@chromium.org2013-06-201-8/+1
| | | | | | | | | | | | | These classes are replaced by using base::SingleThreadTaskRunner directly. R=piman,jamesr BUG=251134 Depends on: https://codereview.chromium.org/17362002/ Review URL: https://chromiumcodereview.appspot.com/17114008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207491 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of WebWidget::textInputType()aurimas@chromium.org2013-06-201-1/+1
| | | | | | | | | | Remove the last uses of WebWidget::textInputType() so that this function can be removed. BUG=251815 Review URL: https://chromiumcodereview.appspot.com/16922013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207451 0039d316-1c4b-4281-b951-d872f2087c98
* Week picker for androidkeishi@chromium.org2013-06-204-24/+90
| | | | | | | | | | | | | This adds support for <input type=week> on Android. ViewHostMsg_DateTimeDialogValue_Params: Adding members for week_year and week. Adding week_year separately from year to avoid confusion. WeekPicker.getWeekYearForDate(): Calendar.get(Calendar.YEAR) returns the year for the day and not the ISO week year. This returns the ISO week year. BUG=135938 Review URL: https://chromiumcodereview.appspot.com/15057004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207444 0039d316-1c4b-4281-b951-d872f2087c98
* Add NaCl proxies for Pepper Video Source and Destination resources.bbudge@chromium.org2013-06-203-47/+47
| | | | | | | | | | | I need to add whitelist testing to prevent arbitrary NaCl apps from using these resources. BUG=230980 TEST=browser_tests, --gtest_filter="PPAPINaClPNaClTest.Video*" Review URL: https://chromiumcodereview.appspot.com/16335018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207348 0039d316-1c4b-4281-b951-d872f2087c98
* Provide all supplied turn ports to PortAllocator.mallinath@chromium.org2013-06-203-82/+145
| | | | | | | | | | | | | | | Currently we use only the first given turn server information to PortAllocator. The changes also resolves all the address provided before pushing these to the allocator. R=sergeyu@chromium.org, wjia@chromium.org BUG=https://code.google.com/p/webrtc/issues/detail?id=1578 Review URL: https://chromiumcodereview.appspot.com/16127004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207347 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the new FrameInput() interface in AudioTrackInterface, so that the ↵xians@chromium.org2013-06-202-0/+9
| | | | | | | | | | | | | | | | interface in AudioTrackInterface can be changed to pure virtual. The interface in libjingle: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/libjingle/source/talk/app/webrtc/audiotrack.h&q=FrameInput&sq=package:chromium&type=cs&l=49 BUG=234580 Review URL: https://chromiumcodereview.appspot.com/17264002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207318 0039d316-1c4b-4281-b951-d872f2087c98
* Resizing huge favicons when retrieving those.qsr@chromium.org2013-06-202-17/+85
| | | | | | | | | | | | | | | Favicons and touch icons have no reason to ever be larger than 114 pixels. As we need to re-encode those on the browser process, very large favicon have an impact on the CPU used on the browser process. It also means bigger messages passed from a process to the other. This CL add a parameter so that the browser process can specify the maximal size of the images it is interested in, so that the renderer can resize the images if none match the criteria. BUG=248561 Review URL: https://chromiumcodereview.appspot.com/17069002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207303 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WebRTC audio processing on WebAudio inputs.bemasc@chromium.org2013-06-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | When a microphone input is routed through WebAudio, the constraints that were supplied when opening the device are lost. Without these constraints, we cannot determine whether the user requested to disable AEC, AGC, etc. Currently, all these audio processing functions are enabled by default for microphone inputs, but are always disabled for WebAudio inputs. They were disabled in Revision 182669 (https://codereview.chromium.org/12220121), in order to serve the needs of a loopback demo (http://simpl.info/webrtcwebaudio/). However, these settings break any actual WebRTC use (i.e. peer-to-peer). This CL changes the settings to favor the actual use case, by using settings that match the default microphone behavior, at the expense of the loopback (demo) case. BUG=none TEST=Fixes audio quality problem (echo) in p2p tests. Review URL: https://chromiumcodereview.appspot.com/16879009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207224 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid compiling RendererAccessibilityFocusOnly on Android.dmazzoni@chromium.org2013-06-191-0/+7
| | | | | | | | | | | | | We're compiling in more accessibility code on Android now, but this file is never needed, so this cuts down on the binary size a bit. BUG=242953 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/17419003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207189 0039d316-1c4b-4281-b951-d872f2087c98