summaryrefslogtreecommitdiffstats
path: root/content/renderer
Commit message (Collapse)AuthorAgeFilesLines
* Start transitioning Pepper plugin code to using RenderFrame instead of ↵jam@chromium.org2013-12-0214-412/+561
| | | | | | | | | | | | | | | RenderView. This is part of the work in getting rid of RenderView. Since a lot of the code is tightly coupled, I'm added temporary getters on RenderFrame and RenderView to each other. This allows the work to be done in smaller steps. This is also the proper fix for htt://crbug.com/275447. BUG=275447, 245126 R=nasko@chromium.org Review URL: https://codereview.chromium.org/93333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238191 0039d316-1c4b-4281-b951-d872f2087c98
* Remove device cache for MediaStreamDispatcher::EnumerateDevices and simplify.perkj@chromium.org2013-12-0211-231/+54
| | | | | | | | | | | | | Remove unused callback EnumerationFailed. The device cache was not used by anyone- pepper call StopEnumerateDevice after each call to EnumerateDevices. Also the cache will be invalid as soon as the patch for creating device ids base on the security origin is relanded. (https://codereview.chromium.org/66803007/) TEST= Make sure (on Crome build, not Chromium) youtube.com/my_webcam?privacy=public can acces webcam and microphone. Test in multiple tabs. BUG=269139 Review URL: https://codereview.chromium.org/72603004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238116 0039d316-1c4b-4281-b951-d872f2087c98
* Fix JS interface for synthetic smooth scroll.dominikg@chromium.org2013-12-021-4/+4
| | | | | | | | | | | | We recently renamed the starting coordinates of a synthetic smooth scroll from mouse_event_{x,y} to start_{x,y}. However, some uses of these variables have not been renamed accordingly. This patch fixes that. BUG=297980 Review URL: https://codereview.chromium.org/96743003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238076 0039d316-1c4b-4281-b951-d872f2087c98
* Remove usage of deprecated V8 APIs from content unittestsjochen@chromium.org2013-12-022-69/+104
| | | | | | | | | R=marja@chromium.org BUG=324225 Review URL: https://codereview.chromium.org/98583005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238074 0039d316-1c4b-4281-b951-d872f2087c98
* Move EmptyString, kWhitespace and the BOM to base.brettw@chromium.org2013-12-021-1/+1
| | | | | | | | | | | | | | | This moves EmptyString*, kWhitespace*, and the UTF 8 Byte Order Marker to the base:: namespace. Many of them just got changed to a default-constructed string when a reference was not required. I qualified some string16s with base:: when I was changing adjacent code. I need to do another pass to finish these up. BUG= TBR=sky@chromium.org Review URL: https://codereview.chromium.org/89243003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238032 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for CDM_3.jrummell@chromium.org2013-11-3017-419/+492
| | | | | | | | | | | | | | | | | | | | Changes for CDM_3: - CreateSession() replaces GenerateKeyRequest() - UpdateSession/1 replaces AddKey/2 - ReleaseSession() replaces CancelKeyRequest() - closed event (OnSessionClosed) added. - callbacks renamed (SetSessionId -> OnSessionCreated, SendMessage -> OnSessionMessage, SendReady -> OnSessionReady, SendError -> OnSessionError) Android function names still need to be updated in a separate CL. BUG=224786 TEST=encrypted-media layout tests and browser_tests for encrypted media pass TBR=dmichael Review URL: https://codereview.chromium.org/81803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237973 0039d316-1c4b-4281-b951-d872f2087c98
* Remove usage of deprecated V8 APIs from content/rendererjochen@chromium.org2013-11-296-32/+49
| | | | | | | | | BUG=324225 R=dcarney@chromium.org Review URL: https://codereview.chromium.org/96653006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237948 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the valgrind warning in webrtc_audio_capturerer_unittests about using ↵xians@chromium.org2013-11-291-0/+1
| | | | | | | | | | | of uninitialized value in media::ToInterleavedInternal. BUG=324420 TEST=content_unittests --gtest_filter="*WebRtcAudioCapturer*" with valgrind Review URL: https://codereview.chromium.org/96673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237933 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete --low-resolution-contents-scale-factor command line switchskyostil@chromium.org2013-11-291-29/+0
| | | | | | | | | | | | This switch was used to control the scale of low resolution tiles on specific Android devices, but since we do not do that anymore, we can remove this switch. BUG=177027 Review URL: https://codereview.chromium.org/95623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237927 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for color input datalist on Androidkeishi@chromium.org2013-11-294-7/+23
| | | | | | | | | | | | | | We pass the list of suggestions when opening the color chooser. We also pass the suggestion labels but we aren't using them yet. We should use them in the future to improve accessibility. The suggestions are arranged in a grid with four columns. BUG=242455 NOTRY=true Review URL: https://codereview.chromium.org/23026006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237890 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 237857 "Revert 237848 "Use LatencyInfoSwapPromise to trac..."dbeam@chromium.org2013-11-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guess win8_aura is just really flaky... > Revert 237848 "Use LatencyInfoSwapPromise to track LatencyInfo t..." > > Speculative revert to see if this broke views_unittests, event_unittests, and > aura_unittests to be crashed or hung. Example: > > E:\b\build\slave\Win8_Aura\build\src\out\Debug\events_unittests.exe --brave-new-test-launcher --test-launcher-bot-mode --gtest_print_time --gtest_output=xml:E:\b\build\slave\Win8_Aura\build\gtest-results\events_unittests\events_unittests.xml > IMPORTANT DEBUGGING NOTE: batches of tests are run inside their > own process. For debugging a test inside a debugger, use the > --gtest_filter=<your_test_name> flag along with > --single-process-tests. > Enabling defaults optimized for continuous integration bots. > Using sharding settings from environment. This is shard 0/1 > Using 8 parallel jobs. > [1128/165136:ERROR:launch_win.cc(166)] : Access is denied. > [1128/165136:ERROR:launch_win.cc(166)] : Access is denied. > Failed to get out-of-band test success data, dumping full stdio below: > > [1/29] EventDispatcherTest.EventDispatchOrder (UNKNOWN) > [2/29] EventDispatcherTest.EventDispatchPhase (UNKNOWN) > [3/29] EventDispatcherTest.EventDispatcherDestroyedDuringDispatch (UNKNOWN) > [4/29] EventDispatcherTest.EventDispatcherInvalidateTarget (UNKNOWN) > [5/29] EventDispatcherTest.EventHandlerDestroyedDuringDispatch (UNKNOWN) > [6/29] EventDispatcherTest.EventHandlerAndDispatcherDestroyedDuringDispatch (UNKNOWN) > [7/29] LatencyInfoTest.AddTwoSeparateEvent (UNKNOWN) > [8/29] LatencyInfoTest.AddTwoSameEvent (UNKNOWN) > [9/29] LatencyInfoTest.MergeTwoSeparateEvent (UNKNOWN) > [10/29] LatencyInfoTest.MergeTwoSameEvent (UNKNOWN) > Too many badly broken tests (10), exiting now. > [1128/165136:ERROR:launch_win.cc(166)] : Access is denied. > Error: no element found: line 1, column 0 > No data was available to update the JSON results > exit code (as seen by runtest.py): 1 > @@@STEP_FAILURE@@@ > @@@STEP_TEXT@events_unittests@@@ > @@@STEP_TEXT@crashed or hung@@@ > > > Use LatencyInfoSwapPromise to track LatencyInfo through compositor > > > > Originally we cache LatencyInfo directly in compositor. Now that > > with the support of SwapPromise, we can use LatencyInfoSwapPromise > > to track the LatencyInfo. > > > > BUG=246034 > > TEST=Input LatencyInfo are still correctly passed to output surface > > through LatencyInfoSwapPromise. > > > > Review URL: https://codereview.chromium.org/81533002 > > TBR=miletus@chromium.org > > Review URL: https://codereview.chromium.org/96073002 TBR=dbeam@chromium.org Review URL: https://codereview.chromium.org/96363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237887 0039d316-1c4b-4281-b951-d872f2087c98
* Initial child-process side plumbing for starting an embedded ServiceWorker ↵kinuko@chromium.org2013-11-297-1/+317
| | | | | | | | | | | | | | | | | | | | | | | context Design assumptions (some assumptions can be tentative) for this CL: * ServiceWorkerProvider is going to be embedded in all frame/document * Browser process can tell which SWP is associated to which SW (if any), via SWP registration process that is not added yet * A newly created embedded worker context will always create its own shadow page for its loading context * A newly created embedded worker context stub will keep a ref to the embedding process No browser-side implementation / blink plumbing yet. This adds a new tiny dispatcher which listens messages solely on the renderer thread. BUG=313530 Review URL: https://codereview.chromium.org/54573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237873 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the problem where audio processing is disabled when video effect is ↵xians@chromium.org2013-11-292-1/+172
| | | | | | | | | | | | | | enabled. And added unittest to prevent such problems happening again. BUG=324293 TEST=content_unittests --gtest_filter="*WebRtcAudioCapturer*" Review URL: https://codereview.chromium.org/95083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237861 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 237848 "Use LatencyInfoSwapPromise to track LatencyInfo t..."dbeam@chromium.org2013-11-291-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Speculative revert to see if this broke views_unittests, event_unittests, and aura_unittests to be crashed or hung. Example: E:\b\build\slave\Win8_Aura\build\src\out\Debug\events_unittests.exe --brave-new-test-launcher --test-launcher-bot-mode --gtest_print_time --gtest_output=xml:E:\b\build\slave\Win8_Aura\build\gtest-results\events_unittests\events_unittests.xml IMPORTANT DEBUGGING NOTE: batches of tests are run inside their own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with --single-process-tests. Enabling defaults optimized for continuous integration bots. Using sharding settings from environment. This is shard 0/1 Using 8 parallel jobs. [1128/165136:ERROR:launch_win.cc(166)] : Access is denied. [1128/165136:ERROR:launch_win.cc(166)] : Access is denied. Failed to get out-of-band test success data, dumping full stdio below: [1/29] EventDispatcherTest.EventDispatchOrder (UNKNOWN) [2/29] EventDispatcherTest.EventDispatchPhase (UNKNOWN) [3/29] EventDispatcherTest.EventDispatcherDestroyedDuringDispatch (UNKNOWN) [4/29] EventDispatcherTest.EventDispatcherInvalidateTarget (UNKNOWN) [5/29] EventDispatcherTest.EventHandlerDestroyedDuringDispatch (UNKNOWN) [6/29] EventDispatcherTest.EventHandlerAndDispatcherDestroyedDuringDispatch (UNKNOWN) [7/29] LatencyInfoTest.AddTwoSeparateEvent (UNKNOWN) [8/29] LatencyInfoTest.AddTwoSameEvent (UNKNOWN) [9/29] LatencyInfoTest.MergeTwoSeparateEvent (UNKNOWN) [10/29] LatencyInfoTest.MergeTwoSameEvent (UNKNOWN) Too many badly broken tests (10), exiting now. [1128/165136:ERROR:launch_win.cc(166)] : Access is denied. Error: no element found: line 1, column 0 No data was available to update the JSON results exit code (as seen by runtest.py): 1 @@@STEP_FAILURE@@@ @@@STEP_TEXT@events_unittests@@@ @@@STEP_TEXT@crashed or hung@@@ > Use LatencyInfoSwapPromise to track LatencyInfo through compositor > > Originally we cache LatencyInfo directly in compositor. Now that > with the support of SwapPromise, we can use LatencyInfoSwapPromise > to track the LatencyInfo. > > BUG=246034 > TEST=Input LatencyInfo are still correctly passed to output surface > through LatencyInfoSwapPromise. > > Review URL: https://codereview.chromium.org/81533002 TBR=miletus@chromium.org Review URL: https://codereview.chromium.org/96073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237857 0039d316-1c4b-4281-b951-d872f2087c98
* Fix RenderViewImplTest on Ozone builddnicoara@chromium.org2013-11-291-1/+38
| | | | | | | | | | | 1) RenderViewImplTest::SendKeyEvent fabricates native events for each platform, creates a NativeWebKeyboardEvent and sends it. Running the tests with Ozone would fall through to the NOTIMPLEMENTED case. Added an Ozone implementation to process these events. 2) MakeWebKeyboardEventFromAuraEvent for Ozone did not process the character passed in. This would result in passing the raw character rather than processing any control keys (such as shift). BUG=315392 Review URL: https://codereview.chromium.org/92693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237851 0039d316-1c4b-4281-b951-d872f2087c98
* SignedCertificateTimestamp storing & serialization code.alcutter@google.com2013-11-293-6/+8
| | | | | | | | | | | This patch builds on Eran's CT wiring patch: https://codereview.chromium.org/76443006/ BUG=309578 Review URL: https://codereview.chromium.org/88643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237849 0039d316-1c4b-4281-b951-d872f2087c98
* Use LatencyInfoSwapPromise to track LatencyInfo through compositormiletus@chromium.org2013-11-291-1/+4
| | | | | | | | | | | | | | Originally we cache LatencyInfo directly in compositor. Now that with the support of SwapPromise, we can use LatencyInfoSwapPromise to track the LatencyInfo. BUG=246034 TEST=Input LatencyInfo are still correctly passed to output surface through LatencyInfoSwapPromise. Review URL: https://codereview.chromium.org/81533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237848 0039d316-1c4b-4281-b951-d872f2087c98
* BrowserPlugin: Cleanupfsamuel@chromium.org2013-11-281-3/+0
| | | | | | | | | BUG=none TBR=fsamuel@chromium.org Review URL: https://codereview.chromium.org/95393003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237831 0039d316-1c4b-4281-b951-d872f2087c98
* Reland review 34393006: Refactor MediaStreamManager to not output real ↵perkj@chromium.org2013-11-282-11/+5
| | | | | | | | | | | | | | | | | device id. https://src.chromium.org/viewvc/chrome?revision=232766&view=revision Refactor MediaStreamManager to never output physical device ids. It now output sourceId in the form of a HMAC. DeviceMessageFilter now don't need to create a source id. This also fix a bug that made the source ids useless unless you have called gum once. Note that the sourceIds are still just using the security origin as salt. Next step is to add a random number that is stored in the profile. BUG= 269139,313192 Review URL: https://codereview.chromium.org/88283002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237825 0039d316-1c4b-4281-b951-d872f2087c98
* Add diagnostic WebRTC logging.grunell@chromium.org2013-11-286-1/+71
| | | | | | | | | | This is a batch of additional log messages to the WebRTC log. TBR=jamesr@chromium.org (for gypi file) Review URL: https://codereview.chromium.org/77823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237820 0039d316-1c4b-4281-b951-d872f2087c98
* Remove usages of deprecated v8 apis in extensions in content/rendererdcarney@google.com2013-11-284-101/+133
| | | | | | | | | | TBR=jochen@chromium.org BUG=324225 Review URL: https://codereview.chromium.org/95533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237804 0039d316-1c4b-4281-b951-d872f2087c98
* Remove usage of deprecated V8 API from pepper.svenpanne@chromium.org2013-11-282-13/+24
| | | | | | | | | R=jochen@chromium.org BUG=324225 Review URL: https://codereview.chromium.org/94993003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237781 0039d316-1c4b-4281-b951-d872f2087c98
* Add v8::Isolate parameter to V8ValueConverter::Strategy funcs.marja@chromium.org2013-11-282-16/+22
| | | | | | | | | | | | It'll be needed for calling the new v8::String::New* functions (the new, non-deprecated versions). BUG=324225 R=jochen@chromium.org Review URL: https://codereview.chromium.org/94623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237761 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a problem with no video with chromecasthclam@chromium.org2013-11-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | This patch is to fix a regression in M32 for chromecast. When calling tabCapture() to create a MediaStream the bug caused a video stream to not be created. This is due to the fast that device id is empty for tab capture streams. This led the code in MediaStreamImpl::FindLocalSource() to think that the new video device is already created. The consequence is there's no video device added and a duplicated audio stream is added to PeerConnection. The solution to this problem is simple: add device type to the check. This should ensure that audio and video devices do not match. BUG=324174 Review URL: https://codereview.chromium.org/93823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237757 0039d316-1c4b-4281-b951-d872f2087c98
* [webcrypto] Add RSAES-PKCS1-v1_5 encrypt and decrypt for NSS.padolph@netflix.com2013-11-282-22/+359
| | | | | | | | | BUG=245025 TEST=content_unittests --gtest_filter="WebCryptoImpl*" Review URL: https://codereview.chromium.org/75653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237746 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RenderViewHostManager to RenderFrameHostManager.creis@chromium.org2013-11-281-1/+1
| | | | | | | | | | BUG=314791 TEST=No behavior change. TBR=nduca@chromium.org Review URL: https://codereview.chromium.org/92153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237714 0039d316-1c4b-4281-b951-d872f2087c98
* Transition to HAVE_METADATA when seeking.acolwell@chromium.org2013-11-281-0/+3
| | | | | | | | | | | | | | | | | Updating WebMediaPlayerImpl to transition to HAVE_METADATA when a seek is requested. This is the first in a series of changes that will allow the actual buffering state to be properly communicated to JavaScript. This change properly reflects that we are not ready to immediately play when a seek is requested. BUG=144683 TESTS=All existing LayoutTests still pass. New Blink LayoutTests will be landed once this change lands to verify that the new readyState transitions. Review URL: https://codereview.chromium.org/90283002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237701 0039d316-1c4b-4281-b951-d872f2087c98
* <webview> Add ability to make guest renderer background transparent from the ↵alexst@chromium.org2013-11-282-0/+27
| | | | | | | | | | embedder. BUG=157628 Review URL: https://codereview.chromium.org/88403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237692 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that the OSK on Windows 8 shows up when we tap on an editable field ↵ananta@chromium.org2013-11-271-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | in any WebContents. The current implementation was displaying the OSK only when we tapped on a WebContents hosted by a Browser window. This relied on the ChromeRenderViewObserver object in the renderer sending an IPC message ChromeViewHostMsg_FocusedNodeTouched which is handled by the Chrome browser code via a WebContentsObserver implementation. Based on discussions with jam and comments from avi in the review, we decided to implement this functionality in content. Fixes are as below:- 1. We have a new IPc message ViewHostMsg_FocusedNodeTouched which is defined in the view_messages.h file. 2. This IPC is sent by the RenderViewImpl::didHandleGestureEvent method if we tapped on an editable field. 3, This IPC is handled by the RenderViewHostImpl class. We display the OSK on Windows 8 Aura if a focused editable node was tapped. 4. The ChromeViewHostMsg_FocusedNodeTouched IPC has been deleted along with the didHandleGestureEvent method in the RenderViewObserver interface. BUG=321576, 319219 R=jam@chromium.org, palmer@chromium.org, jam TBR=jschuh Review URL: https://codereview.chromium.org/89873002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237646 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Refactor trusted plugin properties.teravest@chromium.org2013-11-276-0/+43
| | | | | | | | | | | | | | | | | As part of the "trusted plugin refactor", we need to change properties on the plugin's embed element to be set through an interface instead of PPAPI scripting. This is one of a series of changes to carve up functionality in the trusted plugin and move it elsewhere. After this change, ScriptablePlugin doesn't seem very useful, but I'm not completely sure if it (and PPP_Instance_Private) can be removed. I'll look at that separately. BUG=239656 Review URL: https://codereview.chromium.org/84773004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237604 0039d316-1c4b-4281-b951-d872f2087c98
* Allow BrowserPlugins when ENABLE_PLUGINS=0dnicoara@chromium.org2013-11-271-1/+1
| | | | | | | | | | | Currently, when building with ENABLE_PLUGINS=0, BrowserPlugins are not created. BrowserPlugins should not depend on ENABLE_PLUGINS. BUG=315392 Review URL: https://codereview.chromium.org/88963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237581 0039d316-1c4b-4281-b951-d872f2087c98
* Fix style nits in file-local TextInputModeMapSingletonkochi@chromium.org2013-11-271-22/+19
| | | | | | | | | | TBR=jamesr R=yoichio BUG=none Review URL: https://codereview.chromium.org/90603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237539 0039d316-1c4b-4281-b951-d872f2087c98
* [webcrypto] Add RSA private key PKCS#8 import for NSS.padolph@netflix.com2013-11-272-40/+175
| | | | | | | | | | | Depends on Issue 62633004. BUG=245025 TEST=content_unittests --gtest_filter="WebCryptoImpl*" Review URL: https://codereview.chromium.org/83483012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237523 0039d316-1c4b-4281-b951-d872f2087c98
* Allowing the audio track to pass a buffer size smaller than 10ms when it is ↵xians@chromium.org2013-11-274-35/+106
| | | | | | | | | | | | | | not connected to PC. Before this CL, the track can only output data with 10ms buffer size, which introduced a regression from https://codereview.chromium.org/48993002/ which moves the webaudio source provider from the source to the track. BUG=322538,322958 TEST=modify http://webrtc.googlecode.com/svn/trunk/samples/js/demos/html/webaudio-and-webrtc.html and do not connect to a peer connection, the webaudio works with a small delay. content_unittests -gtest_filter="*WebRtcLocalAudioTrack*" Review URL: https://codereview.chromium.org/83643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237511 0039d316-1c4b-4281-b951-d872f2087c98
* Do not call moveCaretSelectionTowardsWindowPoint() (deprecated).tfarina@chromium.org2013-11-271-1/+1
| | | | | | | | | | | | | Instead just call moveCaretSelection() which seems to be the recommended, non-deprecated version. BUG=None TEST=content_unittests --gtest_filter=RenderViewImplTest.* R=jamesr@chromium.org Review URL: https://codereview.chromium.org/84523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237476 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 237119 "Always create FrameTreeNodes and RenderFrameHosts..."creis@chromium.org2013-11-272-40/+43
| | | | | | | | | | | | | | | | | > Always create FrameTreeNodes and RenderFrameHosts for every frame. > > This allows us to run the FrameTreeShape tests without a flag. > > BUG=245126 > TEST=FrameTreeBrowserTest.FrameTreeShape* > > Review URL: https://codereview.chromium.org/82033002 TBR=creis@chromium.org Review URL: https://codereview.chromium.org/90213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237469 0039d316-1c4b-4281-b951-d872f2087c98
* Add TextTrack.id and TextTrackList.getTrackById().self@brendanlong.com2013-11-263-1/+12
| | | | | | | | | | Contributed by self@brendanlong.com BUG=313601 Review URL: https://codereview.chromium.org/85693006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237438 0039d316-1c4b-4281-b951-d872f2087c98
* Net: Standardize HttpByteRange printingtommycli@chromium.org2013-11-262-34/+3
| | | | | | | | | BUG=318450 TBR=benm@chromium.org,sky@chromium.org Review URL: https://codereview.chromium.org/78343004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237400 0039d316-1c4b-4281-b951-d872f2087c98
* Do not leak tree nodes on destruction of content::RendererAccessibilityComplete.earthdok@chromium.org2013-11-261-0/+6
| | | | | | | | | | | Fixes memory leaks in content_browsertests. BUG=322704 R=dmazzoni@chromium.org Review URL: https://codereview.chromium.org/88683002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237398 0039d316-1c4b-4281-b951-d872f2087c98
* Added an "enable-audio-processor" flag and WebRtcAudioProcessor class.xians@chromium.org2013-11-265-0/+814
| | | | | | | | | | | | | | This CL is a break-down CL from https://codereview.chromium.org/37793005. As the first step to move WebRtc APM to Chrome, it adds a enable-audio-processor command line flag, the WebRtcAudioProcessor class and its unittest. WebRtcAudioProcessor is not hooked up the any of the code in Chrome yet, but it will be exercised and tested by its unittest. TBR=tommi@chromium.org BUG=264611 TEST=content_unittest Review URL: https://codereview.chromium.org/88513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237360 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 237311 "Added an "enable-audio-processor" flag and WebRtc..."xians@chromium.org2013-11-265-814/+0
| | | | | | | | | | | | | | | | | | | | > Added an "enable-audio-processor" flag and WebRtcAudioProcessor class. > > > This CL is a break-down CL from https://codereview.chromium.org/37793005. As the first step to move WebRtc APM to Chrome, it adds a enable-audio-processor command line flag, the WebRtcAudioProcessor class and its unittest. > WebRtcAudioProcessor is not hooked up the any of the code in Chrome yet, but it will be exercised and tested by its unittest. > > > BUG=264611 > TEST=content_unittest > > Review URL: https://codereview.chromium.org/54383003 TBR=xians@chromium.org Review URL: https://codereview.chromium.org/88283003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237334 0039d316-1c4b-4281-b951-d872f2087c98
* Added an "enable-audio-processor" flag and WebRtcAudioProcessor class.xians@chromium.org2013-11-265-0/+814
| | | | | | | | | | | | | This CL is a break-down CL from https://codereview.chromium.org/37793005. As the first step to move WebRtc APM to Chrome, it adds a enable-audio-processor command line flag, the WebRtcAudioProcessor class and its unittest. WebRtcAudioProcessor is not hooked up the any of the code in Chrome yet, but it will be exercised and tested by its unittest. BUG=264611 TEST=content_unittest Review URL: https://codereview.chromium.org/54383003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237311 0039d316-1c4b-4281-b951-d872f2087c98
* Remove implementation of deprecated WebLayerTreeView::setNeedsRedrawtrchen@chromium.org2013-11-262-5/+0
| | | | | | | | | | | | Remove the following functions: RenderWidgetCompositor::setNeedsRedraw() WebLayerTreeViewImplForTesting::setNeedsRedraw() TBR=piman@chromium.org Review URL: https://codereview.chromium.org/87053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237282 0039d316-1c4b-4281-b951-d872f2087c98
* x11: Clean up XEvent construction code for tests.sadrul@chromium.org2013-11-261-18/+13
| | | | | | | | | | | | | | | | | | | There were subtle differences between the event construction code for various types. So put them all in one place to avoid confusion. The main changes in this patch are in events_x_utils, where various Init*EventForTest() functions get replaced by corresponding ScopedXI2Event::Init*Event() methods. This makes it easier to manage the lifetime of the created events. BUG=none R=jochen@chromium.org, sky@chromium.org Previously committed in 237199, and reverted in 237246 because it introduced an uninitialized memory read. Review URL: https://codereview.chromium.org/82763010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237275 0039d316-1c4b-4281-b951-d872f2087c98
* [webcrypto] Add RSA public key SPKI import/export for NSS.padolph@netflix.com2013-11-265-80/+369
| | | | | | | | | BUG=245025 TEST=content_unittests --gtest_filter="WebCryptoImpl*" Review URL: https://codereview.chromium.org/62633004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237255 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of https://codereview.chromium.org/82763010/benwells@chromium.org2013-11-261-13/+18
| | | | | | | | | | | | | Reason for revert: Unitialized memory access (see issue 323372) ISSUE=323372 TBR=sky@chromium.org,jochen@chromium.org,sadrul@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/86903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237246 0039d316-1c4b-4281-b951-d872f2087c98
* Rename VideoRendererBase to VideoRendererImplacolwell@chromium.org2013-11-262-3/+3
| | | | | | Review URL: https://codereview.chromium.org/86603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237245 0039d316-1c4b-4281-b951-d872f2087c98
* Fix GTV build.ycheo@chromium.org2013-11-262-3/+5
| | | | | | | | | | - Reflect the added argument per: https://codereview.chromium.org/23702007 BUG=230708 Review URL: https://codereview.chromium.org/84413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237218 0039d316-1c4b-4281-b951-d872f2087c98
* When there is a session storage namespace mismatch during prerender swap-in, ↵tburkard@chromium.org2013-11-261-2/+1
| | | | | | | | | | attempt merging namespaces. Re-submission of https://codereview.chromium.org/59823003/ see other lgtm's there Review URL: https://codereview.chromium.org/86593004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237203 0039d316-1c4b-4281-b951-d872f2087c98
* x11: Clean up XEvent construction code for tests.sadrul@chromium.org2013-11-261-18/+13
| | | | | | | | | | | | | | | | There were subtle differences between the event construction code for various types. So put them all in one place to avoid confusion. The main changes in this patch are in events_x_utils, where various Init*EventForTest() functions get replaced by corresponding ScopedXI2Event::Init*Event() methods. This makes it easier to manage the lifetime of the created events. BUG=none R=jochen@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/82763010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237199 0039d316-1c4b-4281-b951-d872f2087c98