summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Move SpawnedTestServer to its own subdirectory.phajdan.jr@chromium.org2013-05-0713-13/+13
| | | | | | | | | | | | This is a part of replacing most usages of the Python test server with an in-process C++ test server that should be easier to debug. BUG=96594 R=rch@chromium.org Review URL: https://codereview.chromium.org/14691006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198783 0039d316-1c4b-4281-b951-d872f2087c98
* Disable RenderViewImplTest.OnHandleKeyboardEventdewittj@chromium.org2013-05-071-1/+8
| | | | | | | | | | | WinXP has had flakiness with this one. TBR=hbono@chromium.org,jamesr@chromium.org BUG=238750 Review URL: https://codereview.chromium.org/14631010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198776 0039d316-1c4b-4281-b951-d872f2087c98
* Removes jknotten from OWNERS.bulach@chromium.org2013-05-072-2/+0
| | | | | | | | | BUG= TBR=joi@chromium.org,jam@chromium.org,digit@chromium.org Review URL: https://chromiumcodereview.appspot.com/14636005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198755 0039d316-1c4b-4281-b951-d872f2087c98
* Expose GeolocationProvider in Content API. This removes the recently ↵jam@chromium.org2013-05-0717-531/+432
| | | | | | | | | | | | | introduced usage of internal content classes from chrome. I simplified things a bit in the process. I removed GeolocationObserverOptions since all we need is a boolean (it's been like that for a long time). I also switched from the one-method GeolocationObserver to a callback. This also means that there's one way to get location info, compared to before when there were two ways (interface+callback). BUG=237552 R=bulach@chromium.org, joth@chromium.org Review URL: https://codereview.chromium.org/14688015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198751 0039d316-1c4b-4281-b951-d872f2087c98
* Deleted obsolete setMinimumTimerInterval and related constants.kbr@chromium.org2013-05-071-12/+2
| | | | | | | | BUG=234840 Review URL: https://chromiumcodereview.appspot.com/14764005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198729 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] move code common to several processes to a common dirjochen@chromium.org2013-05-0738-75/+75
| | | | | | | | | BUG=180021 TBR=marja@chromium.org Review URL: https://codereview.chromium.org/14767019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198723 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the crash when the WebRtcAudioCapturer::|buffer_| is NULL, this can ↵xians@chromium.org2013-05-072-2/+17
| | | | | | | | | | | | happen when the capturer is not correctly initialized. BUG=238388 TEST=http://simpl.info/webaudio R=henrika@chromium.org Review URL: https://codereview.chromium.org/15031003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198717 0039d316-1c4b-4281-b951-d872f2087c98
* Fix usage of MessageLoopProxy in PepperPlatformAudioInputImpl.bbudge@chromium.org2013-05-071-1/+2
| | | | | | | | BUG=NONE Review URL: https://chromiumcodereview.appspot.com/15019004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198715 0039d316-1c4b-4281-b951-d872f2087c98
* <webview>: Add name field to 'newwindow' event.fsamuel@chromium.org2013-05-072-18/+24
| | | | | | | | | BUG=237979 Test=WebViewInteractiveTest.NewWindow Review URL: https://chromiumcodereview.appspot.com/15015002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198713 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] when creating a new shell window, set the initial size correctlyjochen@chromium.org2013-05-072-5/+7
| | | | | | | | | | BUG=111316 TEST=running a single W3C-SVG-1.1-SE test doesn't fail R=marja@chromium.org Review URL: https://codereview.chromium.org/14767018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198696 0039d316-1c4b-4281-b951-d872f2087c98
* Libjingle log message delegation.grunell@chromium.org2013-05-074-19/+33
| | | | | | | | | | | | | | - Adding libjingle log message delegate interface. - Implementation of it in Chrome. - Adding registration of delegate to libjingle. - Adding macro to direct logs in libjingle to the delegate. BUG=229829 R=sergeyu@chromium.org, tommi@chromium.org Review URL: https://codereview.chromium.org/13824003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198695 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 198495 for Windows.tommi@chromium.org2013-05-072-1/+7
| | | | | | | | | | | | | | | | | | > Build libpeerconnection as a loadable module for win, mac and linux by default. Also remove the allocator shim variable since it's no longer needed. > > This requires updating .isolate files for some try bots. > In practice, I've only seen failures in interactive_ui_tests because of this change, but I'm being a bit proactive here and making sure that libpeerconnection.so exists with test hosts that have tests that depend on it. > > BUG=238207 > R=csharp@chromium.org, ronghuawu@chromium.org > > Review URL: https://codereview.chromium.org/14907003 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/14767016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198675 0039d316-1c4b-4281-b951-d872f2087c98
* Notify geometry when requesting for external surfacewonsik@chromium.org2013-05-0711-70/+44
| | | | | | | | | | | | | The browser process may not be aware of geometry of the requesting media player, so notify the browser processs when requesting for an external surface. BUG=236363 R=qinmin@chromium.org,scherkus@chromium.org Review URL: https://chromiumcodereview.appspot.com/14650003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198668 0039d316-1c4b-4281-b951-d872f2087c98
* Replace send packet throttling with a scheme based on number of in-flight ↵miu@chromium.org2013-05-071-18/+48
| | | | | | | | | | | | | | bytes in IpcPacketSocket. This allows short bursts of high-rate sending without dropping packets, but quickly restricts the client to a sustainable steady-state rate. Added two debug trace counters for visibility under the "p2p" category: P2PSendBytesAvailable and P2PSendPacketsInFlight. BUG=237960 Review URL: https://chromiumcodereview.appspot.com/14559005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198662 0039d316-1c4b-4281-b951-d872f2087c98
* Allow extra codec data to be passed to AudioCodecBridgeqinmin@chromium.org2013-05-071-0/+2
| | | | | | | | | | | Android MediaCodec needs vorbis codec data to work properly. Passing the extra codec data from ChunkDemuxer should fix the problem. BUG=233420 Review URL: https://chromiumcodereview.appspot.com/14957003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198650 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Clang warnings in .cc files for Linux+[Aura/ChromeOS]rsleevi@chromium.org2013-05-071-3/+3
| | | | | | | | | BUG=115047 R=darin Review URL: https://chromiumcodereview.appspot.com/14890005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198649 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle r313.ronghuawu@chromium.org2013-05-072-11/+13
| | | | | | | | | | | Reviewed and tried here: https://chromiumcodereview.appspot.com/15021002/ TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/14781007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198614 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WebKit Assertion error about ScrollBegin at Chrome sidewangxianzhu@chromium.org2013-05-072-27/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | After the WebKit bug causing the assertion error is fixed, in occasional cases the assertion error still occurs because the Java code sometimes sends ScrollBegin when a fling is active: 1. When fling without an organic ScrollBegin, our synthetic ScrollBegin should be sent after the flingCancel; 2. I did observe that sometimes an organic ScrollBegin is not associated with a dedicated touch down event. If the ScrollBegin occurs when a fling is active, it'll cause WebKit assertion failure. Changes: 1. Send synthetic ScrollBegin after flingCancel in fling(). 2. Call flingCancel when sending the organic ScrollBegin. To reduce unnecessarily repeated flingCancel events, added mFlingMayBeActive to control if GESTURE_FLING_CANCEL should be sent in flingCancel(). BUG=237926 TEST=ContentViewGestureHandlerTest#testFlingEventSequence Review URL: https://chromiumcodereview.appspot.com/14564012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198612 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile on 'official' Linux builder after r198570thestig@chromium.org2013-05-071-1/+1
| | | | | | | | TBR=zmo Review URL: https://codereview.chromium.org/14778004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198603 0039d316-1c4b-4281-b951-d872f2087c98
* Enable a few gpu tests on Android.zmo@chromium.org2013-05-072-4/+0
| | | | | | | | | | | | Originally we disabled these tests due to failure to locate the related json files on Android. However, we should figure out how to fix the issue and run the tests on Android, especially the driver_bug_workaround tests, as they are part of Android now. BUG= TEST=content_unittests on ANDROID bots R=gman@chromium.org Review URL: https://codereview.chromium.org/14560007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198586 0039d316-1c4b-4281-b951-d872f2087c98
* Adding TCP packet support for STUN/TURN packets.ronghuawu@chromium.org2013-05-079-76/+411
| | | | | | | | | | | | | | | The frame of these packets is different from ICE TCP. These packets doesn't carry the length of the packet at the head. Length will be present in packet it self at offset 2. This has been reviewed and tried here: https://codereview.chromium.org/14882003/ TBR=mallinath@chromium.org, sergeyu@chromium.org Review URL: https://codereview.chromium.org/14580006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198584 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mouse locking in Chrome AURA Windows and ASH.ananta@chromium.org2013-05-072-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mouse locking is used for e.g. by WebGL and is implemented in the browser by entering a state in the web view where in we ensure that the mouse stays within the boundaries of the view and we send only mouse increment/decrement information to the renderer. We had support for this in Chrome AURA which did not work correctly due to a number of bugs. 1. We need to implement the MoveCursorTo override in the DesktopRootWindowHostWin, DesktopRootWindowHostX11 and RemoteRootWindowHostWin classes which implement the aura RootWindowHost interface. In desktop Chrome windows we invoke the SetCursorPos API to ensure that the cursor is set to the position specified. In desktop Chrome linux we invoke the XWarpPointer API to achieve this. In ASH chrome on Windows we cannot call SetCursorPos in the RemoteRootWindowHostWin class's implementation of the MoveCursorTo function. As mouse input is received by the viewer process and sent to the browser, we have scenarios wherein we receive stale mouse input from the viewer after invoking the SetCursorPos API in the browser. To workaround this we call SetCursorPos API in the viewer process from an IPC MetroViewerHostMsg_SetCursorPos which is sent from the RemoteRootWindowHostWin::MoveCursorTo function. We send out an ACK from the viewer process when the call finishes and in the meantime we ignore any mouse messages coming from the viewer while we wait for the ACK. If we don't do this then we have issues with the image locking up on screen in ASH. In the viewer process we also send out a fake mousemove IPC after the SetCursorPos API as we don't receive the corresponding real mouse move for some reason. This is needed as RVHAura class sets a flag which is reset when it receives the mousemove corresponding to the cursor pos. 2. The RenderWidgetHostViewAura::ShouldMoveToCenter function which checks if the mouse cursor has moved beyond the window bounds needs to convert the window rect to screen. 3. The MakeWebMouseEvent function in the web_input_Event_aura.cc file should use not set the globalX and globalY members in the WebMouseEvent structure from the root coordinates if we have a native mouse event for Windows. This breaks the lock mouse coordinate calculations. I also fixed the implementation of the RootWindowHost::QueryMouseLocation function in the RemoteRootWindowHostWin class and the DesktopRootWindowHostWin class. We can now safely enable the AshNativeCursorManagerTest.DisabledQueryMouseLocation test with some windows specific fixes. BUG=222497 R=cpu@chromium.org, palmer@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/14574010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198582 0039d316-1c4b-4281-b951-d872f2087c98
* Glue code to connect PPAPI proxy to MediaStream sources and destinations.bbudge@chromium.org2013-05-074-32/+173
| | | | | | | | | | | This is a bit rough but putting it up for review to make schedule. BUG=230980 R=ronghuawu@chromium.org, tsepez@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/14968002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198576 0039d316-1c4b-4281-b951-d872f2087c98
* disable IndexedDBDispatcherTest.ValueSizeTestestade@chromium.org2013-05-071-1/+1
| | | | | | | | BUG=238514 Review URL: https://codereview.chromium.org/14655011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198573 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a reason why GPU access is blocked.zmo@chromium.org2013-05-078-36/+108
| | | | | | | | | | | | | | This provides better information in about:gpu, which helps us to better diagnose GPU feature failures. Also, move the gpu access blocked message to the top as this is the most important message as compared with individual blacklist entry messages. BUG=237393 TEST=about:gpu shows gpu process fails to launch because of settings where gpu is turned off R=joi@chromium.org, kbr@chromium.org, sky@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/14697014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198570 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198565 "Adding TCP packet support for STUN/TURN packets."ronghuawu@chromium.org2013-05-079-410/+76
| | | | | | | | | | | | | | | | | | | | > Adding TCP packet support for STUN/TURN packets. > The frame of these packets is different from ICE TCP. These > packets doesn't carry the length of the packet at the head. > Length will be present in packet it self at offset 2. > > This has been reviewed and tried here: > https://codereview.chromium.org/14882003/ > > TBR=mallinath@chromium.org, sergeyu@chromium.org > > Review URL: https://codereview.chromium.org/14580006 TBR=ronghuawu@chromium.org Review URL: https://codereview.chromium.org/15020005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198569 0039d316-1c4b-4281-b951-d872f2087c98
* Adding TCP packet support for STUN/TURN packets.ronghuawu@chromium.org2013-05-069-76/+410
| | | | | | | | | | | | | | | The frame of these packets is different from ICE TCP. These packets doesn't carry the length of the packet at the head. Length will be present in packet it self at offset 2. This has been reviewed and tried here: https://codereview.chromium.org/14882003/ TBR=mallinath@chromium.org, sergeyu@chromium.org Review URL: https://codereview.chromium.org/14580006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198565 0039d316-1c4b-4281-b951-d872f2087c98
* Notify all visible renderers when the visibility of the mouse cursor changestdanderson@google.com2013-05-067-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blink side patch: https://codereview.chromium.org/14047016/ The ultimate goal of both patches is to disallow new hover effects from being invoked in web contents when the mouse cursor is not visible to the user (i.e., while touch scrolling). The job of this patch is to communicate the cursor visibility state to all visible renderers using the new IPC InputMsg_CursorVisibilityChange whenever the visibility state changes. Added the new observer type CursorClientObserver. Subscribers (instances of RenderWidgetHostViewAura) are notified whenever the cursor visibility changes, at which point the IPC is sent to the renderer. I have also removed the code in ash_native_cursor_manager.cc that sets the mouse cursor location to the bogus value of (-10000,-10000) when mouse events are disabled; afaik this was originally added as a way to prevent unwanted hover effects in web contents but it does not work in all cases and causes other problems (see crbug.com/174358). BUG=153784,174358 R=jamesr@chromium.org, kenrb@chromium.org, oshima@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198519 Review URL: https://codereview.chromium.org/14047015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198563 0039d316-1c4b-4281-b951-d872f2087c98
* Remove function level static initializers media library initialization.dalecurtis@chromium.org2013-05-061-0/+2
| | | | | | | | | | | | | Moves media library initialization into a lazy initializer and dedups a bunch of code. This will also be the eventual home for global media initialization routines (YUV and VectorMath). BUG=224662 TEST=compiles, media library works. Review URL: https://chromiumcodereview.appspot.com/14891002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198559 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198507 "Revert 198503 "Revert 198495 "Build libpeerconnec..."tommi@chromium.org2013-05-062-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Perf bots broke due to not being able to find libpeerconnection.so > Revert 198503 "Revert 198495 "Build libpeerconnection as a loada..." > (was a false positive revert) > > > Revert 198495 "Build libpeerconnection as a loadable module for ..." > > > > > Build libpeerconnection as a loadable module for win, mac and linux by default. Also remove the allocator shim variable since it's no longer needed. > > > > > > This requires updating .isolate files for some try bots. > > > In practice, I've only seen failures in interactive_ui_tests because of this change, but I'm being a bit proactive here and making sure that libpeerconnection.so exists with test hosts that have tests that depend on it. > > > > > > BUG=238207 > > > R=csharp@chromium.org, ronghuawu@chromium.org > > > > > > Review URL: https://codereview.chromium.org/14907003 > > > > TBR=tommi@chromium.org > > > > Review URL: https://codereview.chromium.org/15005004 > > TBR=tommi@chromium.org > > Review URL: https://codereview.chromium.org/14919005 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/14670014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198538 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid crash when changing sample-rates using live audio inputcrogers@google.com2013-05-061-2/+10
| | | | | | | | | BUG=155940 R=dalecurtis@chromium.org Review URL: https://codereview.chromium.org/14682018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198535 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198519 "Notify all visible renderers when the visibility ..."skaslev@chromium.org2013-05-067-74/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Notify all visible renderers when the visibility of the mouse cursor changes > > Blink side patch: > https://codereview.chromium.org/14047016/ > > The ultimate goal of both patches is to disallow new hover > effects from being invoked in web contents when the mouse > cursor is not visible to the user (i.e., while touch > scrolling). The job of this patch is to communicate the > cursor visibility state to all visible renderers using > the new IPC InputMsg_CursorVisibilityChange whenever the > visibility state changes. > > Added the new observer type CursorClientObserver. > Subscribers (instances of RenderWidgetHostViewAura) are > notified whenever the cursor visibility changes, at which > point the IPC is sent to the renderer. > > I have also removed the code in ash_native_cursor_manager.cc > that sets the mouse cursor location to the bogus value > of (-10000,-10000) when mouse events are disabled; afaik > this was originally added as a way to prevent unwanted > hover effects in web contents but it does not work in all > cases and causes other problems (see crbug.com/174358). > > BUG=153784,174358 > R=jamesr@chromium.org, kenrb@chromium.org, oshima@chromium.org, sky@chromium.org > > Review URL: https://codereview.chromium.org/14047015 TBR=tdanderson@google.com Review URL: https://codereview.chromium.org/14975004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198526 0039d316-1c4b-4281-b951-d872f2087c98
* Notify all visible renderers when the visibility of the mouse cursor changestdanderson@google.com2013-05-067-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blink side patch: https://codereview.chromium.org/14047016/ The ultimate goal of both patches is to disallow new hover effects from being invoked in web contents when the mouse cursor is not visible to the user (i.e., while touch scrolling). The job of this patch is to communicate the cursor visibility state to all visible renderers using the new IPC InputMsg_CursorVisibilityChange whenever the visibility state changes. Added the new observer type CursorClientObserver. Subscribers (instances of RenderWidgetHostViewAura) are notified whenever the cursor visibility changes, at which point the IPC is sent to the renderer. I have also removed the code in ash_native_cursor_manager.cc that sets the mouse cursor location to the bogus value of (-10000,-10000) when mouse events are disabled; afaik this was originally added as a way to prevent unwanted hover effects in web contents but it does not work in all cases and causes other problems (see crbug.com/174358). BUG=153784,174358 R=jamesr@chromium.org, kenrb@chromium.org, oshima@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/14047015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198519 0039d316-1c4b-4281-b951-d872f2087c98
* Add cc option to non-lazily disable vsync notificationboliu@chromium.org2013-05-063-0/+12
| | | | | | | | | | | The option will be used by Android WebView using synchronous compositor which requires this behavior that conflicts with other platforms. BUG= Review URL: https://chromiumcodereview.appspot.com/14898002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198510 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198503 "Revert 198495 "Build libpeerconnection as a loada..."tommi@chromium.org2013-05-062-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | (was a false positive revert) > Revert 198495 "Build libpeerconnection as a loadable module for ..." > > > Build libpeerconnection as a loadable module for win, mac and linux by default. Also remove the allocator shim variable since it's no longer needed. > > > > This requires updating .isolate files for some try bots. > > In practice, I've only seen failures in interactive_ui_tests because of this change, but I'm being a bit proactive here and making sure that libpeerconnection.so exists with test hosts that have tests that depend on it. > > > > BUG=238207 > > R=csharp@chromium.org, ronghuawu@chromium.org > > > > Review URL: https://codereview.chromium.org/14907003 > > TBR=tommi@chromium.org > > Review URL: https://codereview.chromium.org/15005004 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/14919005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198507 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198495 "Build libpeerconnection as a loadable module for ..."tommi@chromium.org2013-05-062-7/+1
| | | | | | | | | | | | | | | | | | > Build libpeerconnection as a loadable module for win, mac and linux by default. Also remove the allocator shim variable since it's no longer needed. > > This requires updating .isolate files for some try bots. > In practice, I've only seen failures in interactive_ui_tests because of this change, but I'm being a bit proactive here and making sure that libpeerconnection.so exists with test hosts that have tests that depend on it. > > BUG=238207 > R=csharp@chromium.org, ronghuawu@chromium.org > > Review URL: https://codereview.chromium.org/14907003 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/15005004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198503 0039d316-1c4b-4281-b951-d872f2087c98
* Build libpeerconnection as a loadable module for win, mac and linux by ↵tommi@chromium.org2013-05-062-1/+7
| | | | | | | | | | | | | | default. Also remove the allocator shim variable since it's no longer needed. This requires updating .isolate files for some try bots. In practice, I've only seen failures in interactive_ui_tests because of this change, but I'm being a bit proactive here and making sure that libpeerconnection.so exists with test hosts that have tests that depend on it. BUG=238207 R=csharp@chromium.org, ronghuawu@chromium.org Review URL: https://codereview.chromium.org/14907003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198495 0039d316-1c4b-4281-b951-d872f2087c98
* Close camera when tab is closed.wjia@chromium.org2013-05-064-0/+19
| | | | | | | | | | | | | | | Reland https://src.chromium.org/viewvc/chrome?view=rev&revision=198386 A tab can be opened by calling window.open(). In this case, RenderViewImpl receives frameDetached signal when the tab is closed. Therefore, MediaStreamImpl needs to listen to frameDetached signal in order to close all opened media stream. When a tab (opened by window.open) is closed, RenderWidget will not send message to browser process. MediaStreamDispatcher needs to have its own Send() method in order to notify browser process to close the opened media streams (i.e., devices). BUG=235126 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/15004002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198485 0039d316-1c4b-4281-b951-d872f2087c98
* Implement download link in chrome://indexeddb-internals/alecflett@chromium.org2013-05-068-43/+302
| | | | | | | | | | | | | | This closes all IDB connections for the given origin, zips up the files and "downloads" them by initiating the download manager. This must bounce events through a number of threads to manage temporary files, callbacks into JavaScript, etc. BUG=174188 TBR=jsbell@chromium.org Review URL: https://codereview.chromium.org/13949013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198469 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebRTC logging files to media/grunell@chromium.org2013-05-0611-24/+24
| | | | | | | | | | | | | | Original CL for adding these files: https://chromiumcodereview.appspot.com/13119009/ BUG=229829 TBR=cevans@chromium.org (for content/common/content_message_generator.h) The TBR is for a single include file path change after moving a file. Chris reviewed the original CL above. Review URL: https://chromiumcodereview.appspot.com/14751014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198459 0039d316-1c4b-4281-b951-d872f2087c98
* Rename new-run-webkit-httpd to run-blink-httpd, chromium side.thakis@chromium.org2013-05-061-1/+1
| | | | | | | | | | | | Now that Blink https://chromiumcodereview.appspot.com/14842006 is rolled into chromium, the downstream reference to the script can be updated. BUG=none TBR=kinuko@chromium.org Review URL: https://codereview.chromium.org/14664008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198457 0039d316-1c4b-4281-b951-d872f2087c98
* Replace deprecated WebRtc_Word16 with int16_t.pbos@chromium.org2013-05-061-1/+1
| | | | | | | | | | | Required for rolling any release of webrtc after r3948 where these old types were removed. BUG= Review URL: https://chromiumcodereview.appspot.com/14796011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198453 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle r312.tommi@chromium.org2013-05-061-0/+1
| | | | | | | | R=wjia@chromium.org Review URL: https://codereview.chromium.org/14762005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198451 0039d316-1c4b-4281-b951-d872f2087c98
* Use new new enable*Features APIs added in Blink r149671.eseidel@chromium.org2013-05-061-40/+4
| | | | | | | | | | | | | | https://src.chromium.org/viewvc/blink?view=revision&revision=149671 This completes the transition of these flags from Content to Blink. The next stage of work will be making these controlled by RuntimeEnabledFeatures.in via autogeneration. BUG=237740 Review URL: https://chromiumcodereview.appspot.com/14955006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198418 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198386 "Close camera when tab is closed."tommyw@chromium.org2013-05-065-19/+6
| | | | | | | | | | | | | | | | | | | > Close camera when tab is closed. > > A tab can be opened by calling window.open(). In this case, RenderViewImpl receives frameDetached signal when the tab is closed. Therefore, MediaStreamImpl needs to listen to frameDetached signal in order to close all opened media stream. > > When a tab (opened by window.open) is closed, RenderWidget will not send message to browser process. MediaStreamDispatcher needs to have its own Send() method in order to notify browser process to close the opened media streams (i.e., devices). > > BUG=235126 > R=tommi@chromium.org > > Review URL: https://codereview.chromium.org/14645027 TBR=wjia@chromium.org Review URL: https://codereview.chromium.org/14809005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198416 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary Skia include from favicon_status.hstuartmorgan@chromium.org2013-05-061-1/+0
| | | | | | | | | | Skia is no longer used in the file. BUG=None Review URL: https://chromiumcodereview.appspot.com/14818004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198407 0039d316-1c4b-4281-b951-d872f2087c98
* Disable incoming TCP connections on windows so that we don't get "block by ↵ronghuawu@chromium.org2013-05-061-0/+3
| | | | | | | | | | | Windows firewall" problem on windows. BUG=138185 TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/14686004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198387 0039d316-1c4b-4281-b951-d872f2087c98
* Close camera when tab is closed.wjia@chromium.org2013-05-065-6/+19
| | | | | | | | | | | | | A tab can be opened by calling window.open(). In this case, RenderViewImpl receives frameDetached signal when the tab is closed. Therefore, MediaStreamImpl needs to listen to frameDetached signal in order to close all opened media stream. When a tab (opened by window.open) is closed, RenderWidget will not send message to browser process. MediaStreamDispatcher needs to have its own Send() method in order to notify browser process to close the opened media streams (i.e., devices). BUG=235126 R=tommi@chromium.org Review URL: https://codereview.chromium.org/14645027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198386 0039d316-1c4b-4281-b951-d872f2087c98
* Effects Pepper Plugin and MediaStream Glue.ronghuawu@chromium.org2013-05-0616-14/+952
| | | | | | | | Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198312 Review URL: https://chromiumcodereview.appspot.com/14312015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198377 0039d316-1c4b-4281-b951-d872f2087c98
* Keep accessible bounding box rects in sync.dmazzoni@chromium.org2013-05-069-2/+91
| | | | | | | | | | | Keep track of accessible bounding boxes in the renderer, and send location changes to the browser process when there's a change. BUG=222636 Review URL: https://chromiumcodereview.appspot.com/12465021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198373 0039d316-1c4b-4281-b951-d872f2087c98