summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert 237280 "Remove TraceController""wangxianzhu@chromium.org2013-12-0221-1218/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6aa58b8599840160df945afa89e7482d14d1c4d4. Fixed double-close issue when ending recording. > Revert 237280 "Remove TraceController" > > Seems to have broken trace-based telemetry benchmarks on android. > > BUG=323749 > > > Remove TraceController > > > > TraceController is obsoleted by TracingController. > > Changed all remaining clients to use TracingController. > > > > BUG=none > > > > Review URL: https://codereview.chromium.org/67683003 > > TBR=wangxianzhu@chromium.org > > Review URL: https://codereview.chromium.org/89753004 > > git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237452 0039d316-1c4b-4281-b951-d872f2087c98 TBR=wangxianzhu@chromium.org Review URL: https://codereview.chromium.org/99103004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238234 0039d316-1c4b-4281-b951-d872f2087c98
* Restore capacity increase on underflow for MSE playbacks.acolwell@chromium.org2013-12-021-9/+1
| | | | | | | | | | | | | | | | | | | | The "increase preroll capacity on underflow" logic was disabled for MSE playbacks a while ago because it was causing unwanted garbage collections and was allowing the capacity to grow too large. This change restores the capacity increase logic, but restricts the capacity so that it never grows beyond 3 seconds worth of data. This will avoid the GC issues encountered before. This change also resets the capacity on flush so that capacity increases in one playback period don't negatively effect the seek start time. BUG=291726 TEST=AudioRendererImplTest.Underflow, AudioRendererImplTest.Underflow_FollowedByFlush Review URL: https://codereview.chromium.org/88743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238230 0039d316-1c4b-4281-b951-d872f2087c98
* Update OWNERS filesjoth@chromium.org2013-12-029-15/+5
| | | | | | | | | | | joth out Some new folks in TBR=darin@chromium.org Review URL: https://codereview.chromium.org/99653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238224 0039d316-1c4b-4281-b951-d872f2087c98
* events: Remove KeyEvent::Copy().sadrul@chromium.org2013-12-021-1/+1
| | | | | | | | | | | | It is possible to copy a key-event using the copy-constructor, without needing a separate method for it. So remove the redundant code for copying a KeyEvent. BUG=none R=estade@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/97963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238205 0039d316-1c4b-4281-b951-d872f2087c98
* 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
* [Mac] Don't ignore mouse events outside of the view while dragging.dgozman@chromium.org2013-12-021-1/+7
| | | | | | | | | | | | | | Previously, we ignored mouse events atop of another RenderWidgetHostView while dragging, which lead to weird behavior. BUG=319879 TEST=Open DevTools docked to right, scroll page by dragging the thumb, move mouse atop the DevTools. Page should still be scrolled. Observe the same while moving mouse out of the window. Review URL: https://codereview.chromium.org/95113004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238177 0039d316-1c4b-4281-b951-d872f2087c98
* <webview>: Fix crash when hosted in WebUIfsamuel@chromium.org2013-12-021-3/+7
| | | | | | | | | | | The swapped out RenderView for the guest in the embedder's process was hitting a CHECK failure. This change allows swapped out RenderViews for guests to live in WebUI. BUG=324491 Review URL: https://codereview.chromium.org/96523006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238168 0039d316-1c4b-4281-b951-d872f2087c98
* Reword some comments on content::RecordAction().lazyboy@chromium.org2013-12-021-1/+3
| | | | | | | | | | | | | | I found the existing comment's "WARNING" section confusing. This lead me to believe that the call to UserMetricsAction() that doesn't put the string literal on the same line won't get recorded. In fact they do get recorded as hash, but the hash to string mapping would only be broken. BUG=None Test=None Review URL: https://codereview.chromium.org/92183003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238167 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ImmediateInputRouter to InputRouterImpljdduke@chromium.org2013-12-027-131/+120
| | | | | | | | | | | | With but a single implementation of the InputRouter for the forseeable future, the 'Immediate' prefix of the ImmediateInputRouter is both unnecessary and confusing. Rename appropriately to InputRouterImpl. BUG=302663 Review URL: https://codereview.chromium.org/99473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238152 0039d316-1c4b-4281-b951-d872f2087c98
* Move some more file utils to the base namespace.brettw@chromium.org2013-12-023-4/+3
| | | | | | | | | This also swaps the order of the parameters to GetShmemTempDir so the out parameter is last, and enhances some documentation. Review URL: https://codereview.chromium.org/93263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238144 0039d316-1c4b-4281-b951-d872f2087c98
* Don't pull in content_switches.cc to whole chrome code basejam@chromium.org2013-12-021-43/+43
| | | | | | | | | | | | | | | | | | | | | The point of this change is remove compilation of content_switches.cc that was done in installer_util target. This is a static library that other parts of chrome pull in and that makes the Chrome code that references those switches compile even if the switches itself are not exported. Installer_util doesn't even seem to uses those switches AFAIK. Dropped compilation of these files so these problems are actually exposed and addressed by the person adding the switch. The main offender that referenced those switches was chrome's about_flags.cc. This is based off rchlodnicki@opera.com's patch from https://codereview.chromium.org/24994002/ R=rchlodnicki@opera.com, robertshield@chromium.org Review URL: https://codereview.chromium.org/85333008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238139 0039d316-1c4b-4281-b951-d872f2087c98
* Remove device cache for MediaStreamDispatcher::EnumerateDevices and simplify.perkj@chromium.org2013-12-0215-252/+80
| | | | | | | | | | | | | 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
* This cl implement a salt that is being used for obfuscating device ids ↵perkj@chromium.org2013-12-0217-98/+171
| | | | | | | | | | | before a device id is sent to the render process. The purpose of the salt is to make sure that the device ids as seen by the render process are invalidated if cookies are cleared. BUG=269139 TEST= open http://src.chromium.org/chrome/trunk/src/chrome/test/data/webrtc/manual/peerconnection.html using http (not https) note the source ids in the Audio source and Video source dropdown. Restart chrome and notice that the source ids in the dropdown are unchanged. Clear the cookie cache and press the Refresh devices button and notice that the source ids have changed. Review URL: https://codereview.chromium.org/54863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238103 0039d316-1c4b-4281-b951-d872f2087c98
* Unbundle DevTools frontend from Content Shell on Androidmnaganov@chromium.org2013-12-022-5/+30
| | | | | | | | | | | | As per our decision in the bug, there is no reason for bundling DevTools FE with Content Shell on Android. Unbundling it makes Content Shell compatible with chrome://inspect page. BUG=289233 Review URL: https://codereview.chromium.org/96903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238090 0039d316-1c4b-4281-b951-d872f2087c98
* input: Move synthetic web-builder util functions into common/.sadrul@chromium.org2013-12-0213-19/+28
| | | | | | | | | | | This allows writing input-event related tests for the renderer side. BUG=321457 R=jdduke@chromium.org, jochen@chromium.org Review URL: https://codereview.chromium.org/95283004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238082 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-024-9/+9
| | | | | | | | | | | | | | | 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
* Move kFtpScheme into content namespace.tfarina@chromium.org2013-12-017-7/+7
| | | | | | | | | | BUG=None TEST=None, no functional changes. TBR=jam@chromium.org Review URL: https://codereview.chromium.org/97683002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238004 0039d316-1c4b-4281-b951-d872f2087c98
* Enable runtime flag for datalist element on Androidkeishi@chromium.org2013-11-301-2/+0
| | | | | | | | BUG=242455 Review URL: https://codereview.chromium.org/96143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237980 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for CDM_3.jrummell@chromium.org2013-11-3019-457/+541
| | | | | | | | | | | | | | | | | | | | 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
* Support win aura screen reader workarounds on Win 8 too.dmazzoni@chromium.org2013-11-302-5/+19
| | | | | | | | | | | This also fixes a crash on all Win platforms due to incorrect HWND ownership. BUG=227026 Review URL: https://codereview.chromium.org/72863003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237972 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-292-30/+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
* Try to fix the iOS build by not depending on Blink for it.peter@chromium.org2013-11-291-1/+1
| | | | | | | | | | | | | | This could explain the newly introduced dependencies on v8, FFMPEG and Angle, which is causing the iOS bots on the main waterfall to fail. Tentative build-fix, I'll revert if it doesn't solve the problem. See the bug for logs and discussion. BUG=324413 R=jochen@chromium.org Review URL: https://codereview.chromium.org/96913003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237925 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for color input datalist on Androidkeishi@chromium.org2013-11-2912-16/+99
| | | | | | | | | | | | | | 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 237660 "Revert 237558 "Use MIDIMessageQueue/IsValidWebMID..."yukawa@chromium.org2013-11-294-44/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The root cause was fixed as r237778. > Revert 237558 "Use MIDIMessageQueue/IsValidWebMIDIData for MIDI ..." > > Seems to have caused issues running perf tests. > > BUG=324160 > > > Use MIDIMessageQueue/IsValidWebMIDIData for MIDI byte stream validation > > > > WebMIDI spec draft: http://www.w3.org/TR/webmidi/ > > > > WebMIDI API guarantees that MIDIInput::onmessage is called back with a single MIDI message. To guarantee this, this CL introduces MIDIMessageQueue class, which allows you to > > - maintain fragmented MIDI message. > > - Skip any invalid data sequence. > > - Reorder MIDI messages so that "System Real Time Message", which can be inserted at any point of the byte stream, can be placed at the boundary of complete MIDI messages. > > - (Optional) Reconstruct complete MIDI messages from data stream that is compressed with "running status". > > > > This CL also replaces existing System Exclusive message validation logic in MIDIHost::OnSendData with MIDIHost::IsValidWebMIDIData, which can detect SysEx message even when it is concatenated with non-SysEx messages. > > > > With this change, renderer/blink can be much simpler and free from this kind of data validation. > > > > BUG=303599, 317355 > > TEST=media_unittests --gtest_filter=MIDI*, content_unittests --gtest_filter=MIDI* > > > > Review URL: https://codereview.chromium.org/68353002 > > TBR=yukawa@chromium.org > > Review URL: https://codereview.chromium.org/93583002 TBR=isherman@chromium.org, toyoshim@chromium.org, scherkus@chromium.org, jochen@chromium.org BUG=303599,317355,324160 Review URL: https://codereview.chromium.org/96113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237889 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 237857 "Revert 237848 "Use LatencyInfoSwapPromise to trac..."dbeam@chromium.org2013-11-292-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-299-1/+333
| | | | | | | | | | | | | | | | | | | | | | | 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-293-1/+173
| | | | | | | | | | | | | | 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-292-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-292-2/+45
| | | | | | | | | | | 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-2914-31/+178
| | | | | | | | | | | 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-292-3/+10
| | | | | | | | | | | | | | 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
* Fix enable_plugins==0 component build by including content/font_list.ccspang@chromium.org2013-11-281-1/+0
| | | | | | | | | | | | We're using this code even when plugins are disbled (mainly for chrome settings). Include it when enable_plugins==0. TBR=creis@chromium.org TEST=content_unittests embedded=1 component=shared_library Review URL: https://codereview.chromium.org/95553002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237840 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
* Remove InputRouterTestjdduke@chromium.org2013-11-287-269/+158
| | | | | | | | | | | | | | There is and will be but one implementation of InputRouter for the forseeable future. Remove the base InputRouterTest, moving all functionality to ImmediateInputRouterTest. This is prep work for renaming ImmediateInputRouter to InputRouterImpl. BUG=302663 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/89083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237826 0039d316-1c4b-4281-b951-d872f2087c98
* Reland review 34393006: Refactor MediaStreamManager to not output real ↵perkj@chromium.org2013-11-2815-387/+739
| | | | | | | | | | | | | | | | | 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-287-1/+76
| | | | | | | | | | 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
* Android: add unit-tests for BindingManager.ppi@chromium.org2013-11-285-607/+1046
| | | | | | | | | | | | | | | | | | | | | | This patch covers BindingManager with unit-tests. In order to achieve testability: - BindingManager is extracted from ChildProcessLauncher - ChildProcessConnection is split into interface and implementation, so that it can be mocked out in testing The tests cover: - http://crbug.com/289540 - dropping the strong binding when a new connection is added on low-end - http://crbug.com/261339, http://crbug.com/272991 - delayed unbinding (different policies for low-end and high-end) - http://crbug.com/263047 - accounting of the oom bindings - http://crbug.com/317963 - adding and removing the background period binding BUG=294947 Review URL: https://codereview.chromium.org/88823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237818 0039d316-1c4b-4281-b951-d872f2087c98
* android: Trigger vsync immediately when started from idleskyostil@chromium.org2013-11-282-11/+73
| | | | | | | | | | | | | | If the vsync monitor is started from idle, the vsync notification will only get delivered for the upcoming frame instead of the current one. To reduce latency, this patch makes VSyncMonitor synthesize a vsync signal right away. The frame time for the synthesized signal is estimated from previous vsync events. BUG=321245 Review URL: https://codereview.chromium.org/88633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237805 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
* [DevTools] Remove temporary duplicated properties inzvorygin@chromium.org2013-11-281-4/+0
| | | | | | | | | | | | renderer_overrides_handler to finish ScreencastFrameMetadata extraction. Step 3 of 3. BUG=318188 Review URL: https://codereview.chromium.org/64833005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237801 0039d316-1c4b-4281-b951-d872f2087c98
* IPC fuzzer child process componentaedla@chromium.org2013-11-284-2/+18
| | | | | | | | | | | | Fuzzer child process takes messages from a testcase file specified by --ipc-fuzzer-testcase and sends them across IPC. Renderer process is replaced by the fuzzer process using --renderer-cmd-prefix, which is only supported under POSIX. BUG=260848 Review URL: https://codereview.chromium.org/18254010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237795 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
* Check library version and handle library load errorsaberent@chromium.org2013-11-2812-95/+211
| | | | | | | | | | | | | | | This CL modifies the build to incorporate the expected C++ library version in the Java code. This is then checked when the library is loaded, to make sure that the C++ and Java builds match. This CL also implements error handling when library loads fail or the loaded version doesn't match the expected version. BUG=311644 Review URL: https://codereview.chromium.org/59533009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237779 0039d316-1c4b-4281-b951-d872f2087c98
* MediaStream: Futureproof browserteststommyw@chromium.org2013-11-281-3/+8
| | | | | | | | | | Adding support for the new MediaStream.clone API BUG=294145 Review URL: https://codereview.chromium.org/94553002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237776 0039d316-1c4b-4281-b951-d872f2087c98
* Add v8::Isolate parameter to V8ValueConverter::Strategy funcs.marja@chromium.org2013-11-283-18/+26
| | | | | | | | | | | | 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