summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Revert 131949 (multiple memory leaks) - Adding JSEP PeerConnection glue.eugenis@google.com2012-04-1228-1391/+228
| | | | | | | | | | | | | | | | | This adds glue for JSEP PeerConnection. PeerConnectionHandler is split in two classes and a base class. The class name is kept for the old ROAP PeerConnection to be aligned with WebKit naming. ROAP is planned to be removed pretty soon, then the classes can be refactored. See also main WebKit bug https://bugs.webkit.org/show_bug.cgi?id=80589 (In particular https://bugs.webkit.org/show_bug.cgi?id=82450) TEST=content_unittests and manual webrtc test. Review URL: http://codereview.chromium.org/9699069 TBR=grunell@chromium.org Review URL: https://chromiumcodereview.appspot.com/10038009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131961 0039d316-1c4b-4281-b951-d872f2087c98
* Adding JSEP PeerConnection glue.grunell@chromium.org2012-04-1228-228/+1391
| | | | | | | | | | | | | | This adds glue for JSEP PeerConnection. PeerConnectionHandler is split in two classes and a base class. The class name is kept for the old ROAP PeerConnection to be aligned with WebKit naming. ROAP is planned to be removed pretty soon, then the classes can be refactored. See also main WebKit bug https://bugs.webkit.org/show_bug.cgi?id=80589 (In particular https://bugs.webkit.org/show_bug.cgi?id=82450) TEST=content_unittests and manual webrtc test. Review URL: http://codereview.chromium.org/9699069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131949 0039d316-1c4b-4281-b951-d872f2087c98
* Field Trials choices can now be forced from a command line argument, and yet ↵mad@chromium.org2012-04-124-14/+12
| | | | | | | | | | | | | | | | | still behave as if a coin was tossed, except the coin is tricked :-). To do this, we needed to change the usage from a regular constructor (which is not private) to a static CreateInstance method (which is why there is a bunch of TBR'd owners, those changes were trivial to existing users of FieldTrials). OWNERs of trivially changed files: TBR=sky,jamesr,cpu,joi, BUG=119726 TEST=base_unittests.exe --gtest_filter=FieldTrialTest.* You can also find an active field trial name and force it to a given group by passing the following command line argument "--force-fieldtest=<trial_name>/<default_group_name>/<group_name>/" Review URL: http://codereview.chromium.org/9705074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131948 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build with -Dselinux=1phajdan.jr@chromium.org2012-04-121-1/+2
| | | | | | | | This is upstreaming a Gentoo Linux patch. Review URL: http://codereview.chromium.org/10027030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131942 0039d316-1c4b-4281-b951-d872f2087c98
* Blaclisting easyhook, interferes with renderercpu@chromium.org2012-04-121-0/+1
| | | | | | | | | | | See bug for details. BUG=122741 TEST=see bug Review URL: http://codereview.chromium.org/10034027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131935 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Change tab discard code to use CopyStateFrom, add testsjamescook@chromium.org2012-04-121-0/+35
| | | | | | | | | | | | | | | | * Use NavigationController::CopyStateFrom() to preserve the back/forward history of discarded tabs. * Extend browser_test to ensure back/forward history is preserved. * Change browser_test to wait for NAV_ENTRY_COMMITTED notification, which eliminates a source of flake in the test. * Wrote small unit test for NavigationController::CopyStateFrom() - strangely it didn't have one. * Added scaffolding and TODO for using SuddenTerminationAllowed() in the scoring system for discard. BUG=121453 TEST=content_unittests NavigationControllerTest and browser_tests OomPriorityManagerTest Review URL: http://codereview.chromium.org/10052017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131931 0039d316-1c4b-4281-b951-d872f2087c98
* This adds the following to functions to the ppapi TCPSocket interface:raymes@chromium.org2012-04-126-21/+60
| | | | | | | | | | | | | 1) GetServer certificate, which returns the server X509Certificate if an SSL connection has been established. 2) AddChainBuilding certificate. This is currently unimplemented in Chrome but the interface and plumbing has been added so it can easily be hooked up. This should add a trusted/untrusted chain building certificate to be used by the client for a particular connection when performing the SSL handshake. BUG=114626 TEST=out/Release/browser_tests --gtest_filter=*PPAPITest.*TCP*Trusted* Review URL: http://codereview.chromium.org/9699100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131918 0039d316-1c4b-4281-b951-d872f2087c98
* C++ Readability Review for thestig.thestig@chromium.org2012-04-123-181/+269
| | | | | | | | | | Original review: https://chromiumcodereview.appspot.com/9560008/ BUG=none TEST=none Review URL: http://codereview.chromium.org/9622020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131917 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid sending DidChangeView notification if the plugin rect is too big.yzshen@chromium.org2012-04-121-4/+6
| | | | | | | | | | | | This mirrors the behavior of NPAPI-handling code. BUG=122657 TEST=None Review URL: http://codereview.chromium.org/10053006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131891 0039d316-1c4b-4281-b951-d872f2087c98
* Beginnings of a WebView.ben@chromium.org2012-04-113-8/+3
| | | | | | | | | http://crbug.com/105557 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=131837 Review URL: https://chromiumcodereview.appspot.com/10024081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131863 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 7.avi@chromium.org2012-04-1148-55/+53
| | | | | | | | | | | | Move the WebContentsImpl class to files in web_contents. BUG=105875 TEST=no change Review URL: http://codereview.chromium.org/10054012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131845 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid touching url_request_ in OnResponseCompletedInternalrdsmith@chromium.org2012-04-112-5/+9
| | | | | | | | | | | | (It's a potential dangling reference.) BUG=122854 TEST=Unfortunately, none; I've seen it but I don't have a reliable way to repro. Review URL: http://codereview.chromium.org/10038005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131839 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131837 - Beginnings of a WebView.ben@chromium.org2012-04-113-3/+8
| | | | | | | | | | | http://crbug.com/105557 TEST=none Review URL: https://chromiumcodereview.appspot.com/10024081 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10054030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131838 0039d316-1c4b-4281-b951-d872f2087c98
* Beginnings of a WebView.ben@chromium.org2012-04-113-8/+3
| | | | | | | | http://crbug.com/105557 TEST=none Review URL: https://chromiumcodereview.appspot.com/10024081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131837 0039d316-1c4b-4281-b951-d872f2087c98
* Use gdk_init() instead of gtk_init() to open the display. It's much lighter andcevans@chromium.org2012-04-111-1/+1
| | | | | | | doesn't create wasteful threads (which get in the way of sandboxing). Review URL: https://chromiumcodereview.appspot.com/10051009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131821 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 6.avi@chromium.org2012-04-112-81/+84
| | | | | | | | | | | | TabContents Unittest -> WebContentsImpl Unittest BUG=105875 TEST=no change Review URL: http://codereview.chromium.org/10051008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131812 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131808 - Redirect fopen("/dev/urandom") so that NSS can properly seed ↵sergeyu@chromium.org2012-04-111-128/+2
| | | | | | | | | | | | | its RNG. BUG=122169 Review URL: https://chromiumcodereview.appspot.com/10031027 TBR=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10050024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131810 0039d316-1c4b-4281-b951-d872f2087c98
* Redirect fopen("/dev/urandom") so that NSS can properly seed its RNG.sergeyu@chromium.org2012-04-111-2/+128
| | | | | | | | BUG=122169 Review URL: https://chromiumcodereview.appspot.com/10031027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131808 0039d316-1c4b-4281-b951-d872f2087c98
* RenderWidgetHostImpl::AcknowledgePostSubBuffer called where ↵mmocny@chromium.org2012-04-111-1/+1
| | | | | | | | | | | | RenderWidgetHostImpl::AcknowledgeSwapBuffers intended. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/9950058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131797 0039d316-1c4b-4281-b951-d872f2087c98
* Comments for RenderWidgetHostView Class Hierarchyscheib@chromium.org2012-04-116-0/+12
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9960078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131788 0039d316-1c4b-4281-b951-d872f2087c98
* Expose Mouse Lock and Fullscreen automation hooks to pyauto.scheib@chromium.org2012-04-112-5/+6
| | | | | | | | BUG=122479 Review URL: https://chromiumcodereview.appspot.com/10022010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131787 0039d316-1c4b-4281-b951-d872f2087c98
* Lie to WebKit about the screen DPI for testing purposes.fsamuel@chromium.org2012-04-111-2/+15
| | | | | | | | | | BUG=none TEST=manually Review URL: http://codereview.chromium.org/10024082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131785 0039d316-1c4b-4281-b951-d872f2087c98
* Mouse events, touch events, or both can be locked to a target.tdresser@chromium.org2012-04-111-2/+2
| | | | | | | | | | | | | | | | NativeWidgetPrivate and Window event capture related commands now take a set of flags, indicating what event types to lock. Current options are CW_LOCK_MOUSE and CW_LOCK_TOUCH. BUG=117554 TEST=WindowTest.TouchCaptureTests, WindowTest.CaptureTests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131761 Review URL: http://codereview.chromium.org/9838011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131783 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 5.avi@chromium.org2012-04-1115-248/+247
| | | | | | | | | | | | | | TabContentsViewAura -> WebContentsViewAura TabContentsViewGtk -> WebContentsViewGtk TabContentsViewHelper -> WebContentsViewHelper TabContentsViewWin -> WebContentsViewWin BUG=105875 TEST=no change Review URL: https://chromiumcodereview.appspot.com/10031044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131779 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 4.avi@chromium.org2012-04-1131-60/+60
| | | | | | | | | BUG=105875 TEST=no change Review URL: https://chromiumcodereview.appspot.com/10024066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131770 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131761 - Mouse events, touch events, or both can be locked to a target.rsesek@chromium.org2012-04-111-2/+2
| | | | | | | | | | | | | | | | | | | Broke Win-Aura compile. NativeWidgetPrivate and Window event capture related commands now take a set of flags, indicating what event types to lock. Current options are CW_LOCK_MOUSE and CW_LOCK_TOUCH. BUG=117554 TEST=WindowTest.TouchCaptureTests, WindowTest.CaptureTests Review URL: http://codereview.chromium.org/9838011 TBR=tdresser@chromium.org Review URL: https://chromiumcodereview.appspot.com/10052012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131762 0039d316-1c4b-4281-b951-d872f2087c98
* Mouse events, touch events, or both can be locked to a target.tdresser@chromium.org2012-04-111-2/+2
| | | | | | | | | | | | | | NativeWidgetPrivate and Window event capture related commands now take a set of flags, indicating what event types to lock. Current options are CW_LOCK_MOUSE and CW_LOCK_TOUCH. BUG=117554 TEST=WindowTest.TouchCaptureTests, WindowTest.CaptureTests Review URL: http://codereview.chromium.org/9838011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131761 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the webrtc audio tests on the build bots that have audio hardware.tommi@chromium.org2012-04-113-14/+23
| | | | | | | | | | | BUG=none TEST=This enables the audio tests in content_unittests on bots with audio hardware. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130019 Review URL: https://chromiumcodereview.appspot.com/9921035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131757 0039d316-1c4b-4281-b951-d872f2087c98
* Adds WebRTC histogram data to be uploaded as part of UMA logging events.henrika@chromium.org2012-04-112-8/+131
| | | | | | | | | | | The plan is to start adding "audio-related" histograms on the WebRTC side first. I will add more on the media side in upcoming CLs as well. BUG=114702 TEST=manual inspection of chrome://histograms/WebRTC and chrome://histograms/Media Review URL: http://codereview.chromium.org/9963046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131751 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up TabContents::OnDidFailLoadWithError to IPC message.mkosiba@chromium.org2012-04-111-0/+2
| | | | | | | | | | | | | | | | The TabContents::OnDidFailLoadWithError method was added in revision @111912 but not hooked up to the IPC message. This change adds the missing line. This shouldn't introduce any functional changes as currently no Chromium code uses the WebContentsObserver::DidFailLoad method. BUG=none TEST=base_unittests,content_unittests,browser_tests Review URL: http://codereview.chromium.org/9999027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131747 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash when removing a MediaStream from a PeerConnection.perkj@chromium.org2012-04-113-14/+20
| | | | | | | | | | BUG= 121083 TEST= unit test Review URL: http://codereview.chromium.org/9968077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131735 0039d316-1c4b-4281-b951-d872f2087c98
* Make FileStream::Seek async and add FileStream::SeekSync for sync operationkinuko@chromium.org2012-04-111-1/+1
| | | | | | | | | BUG=75548,113300 TEST=existing tests should pass Review URL: https://chromiumcodereview.appspot.com/9949011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131732 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some constant spew in unit test logserg@chromium.org2012-04-115-13/+19
| | | | | | | | | | BUG=44565 TEST=none Review URL: http://codereview.chromium.org/9960073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131729 0039d316-1c4b-4281-b951-d872f2087c98
* Add roleDescription to DumpAccessibilityTree for mac.aboxhall@chromium.org2012-04-113-14/+19
| | | | | | | | | | BUG= TEST=Rebaselined test expectations for DumpAccessibilityTreeTest tests. Review URL: http://codereview.chromium.org/9835038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131719 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of TimeDelta in geolocation code.tedvessenes@gmail.com2012-04-112-4/+6
| | | | | | | | | | R=bulach@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/10027012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131718 0039d316-1c4b-4281-b951-d872f2087c98
* Implement RenderWidgetHostViewMac::CopyFromCompositingSurface.mazda@chromium.org2012-04-115-23/+116
| | | | | | | | | | | | This adds the support of the browser side thumbailing to Mac Chrome. BUG=120001 TEST=Manually tested that thumbnails are properly generated on GPU composited pages with --enable-in-browser-thumbnailing. Review URL: http://codereview.chromium.org/10022007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131710 0039d316-1c4b-4281-b951-d872f2087c98
* Log GPU process launch time to UMA.fischman@chromium.org2012-04-112-0/+9
| | | | | | | | | | BUG=106509 TEST=manually checked chrome://histograms/GPU.GPUPro Review URL: http://codereview.chromium.org/10037025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131691 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131679 - Add DCHECK to ensure IndexedDBDispatcher doesn't get re-created.rsesek@chromium.org2012-04-111-8/+1
| | | | | | | | | | | | | | | | | | Broke content_unittests WebRTCAudioDeviceTest.TestValidOutputRates This could happen if there are IDB objects that survive the call to didStopWorkerRunLoop. BUG=121734 TEST= Review URL: http://codereview.chromium.org/9999035 TBR=dgrogan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10014040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131683 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the base::JSONReader interface to take a set of options rather than a ↵rsesek@chromium.org2012-04-112-2/+2
| | | | | | | | | | | | | | boolean flag. This is just prep work for a large CL that rewrites the JSON parser. Splitting out this interface change will make it easier to review the other CL. BUG=121469 TEST=No functional change. Review URL: https://chromiumcodereview.appspot.com/9960077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131680 0039d316-1c4b-4281-b951-d872f2087c98
* Add DCHECK to ensure IndexedDBDispatcher doesn't get re-created.dgrogan@chromium.org2012-04-111-1/+8
| | | | | | | | | | | | | This could happen if there are IDB objects that survive the call to didStopWorkerRunLoop. BUG=121734 TEST= Review URL: http://codereview.chromium.org/9999035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131679 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the BrowserMainParts::GetMainMessageLoop method. Change ↵marshall@chromium.org2012-04-104-17/+4
| | | | | | | | | | | BrowserMainLoop::MainMessageLoopStart to only create the default MessageLoop if one does not already exist for the current thread. If a custom MessageLoop is desired it can be created in BrowserMainParts::PreMainMessageLoopStart. BUG=122829 TEST=none Review URL: http://codereview.chromium.org/10024065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131674 0039d316-1c4b-4281-b951-d872f2087c98
* Convert BrowserAccessibilityStateImpl to LeakySingletonTraits.marshall@chromium.org2012-04-102-7/+5
| | | | | | | | | BUG=122856 TEST=none Review URL: http://codereview.chromium.org/10024071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131672 0039d316-1c4b-4281-b951-d872f2087c98
* gl_implementation_win includes d3d9.h, so add the dx sdk to include_dirsthakis@chromium.org2012-04-101-0/+1
| | | | | | | | | | BUG=none TEST=Install the dx sdk from microsoft instead of going the src-internal route, build with msvc2010. No error messages about d3d9.h or d3d9x.lib. TBR=avi Review URL: http://codereview.chromium.org/10033003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131663 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Reduce GPU process sandbox to XP level on Windows Server 2003.apatrick@chromium.org2012-04-101-1/+1
| | | | | | | | | | It seems to have the same issues as XP. BUG=121809 Review URL: http://codereview.chromium.org/10012029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131655 0039d316-1c4b-4281-b951-d872f2087c98
* Properly set drag image offset in aura's drag drop controller. Currently thevarunjain@chromium.org2012-04-101-2/+3
| | | | | | | | | | | | drag image is always positioned at the mouse cursor. BUG=118024 TEST=none Review URL: http://codereview.chromium.org/10044002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131648 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 3.avi@chromium.org2012-04-1033-67/+67
| | | | | | | | | | BUG=105875 TEST=no change Review URL: http://codereview.chromium.org/9960071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131634 0039d316-1c4b-4281-b951-d872f2087c98
* Added code so renderer would cleanly exit.asharif@chromium.org2012-04-105-4/+29
| | | | | | | | | | | | | | | | | | | | | | | This code is only invoked when --renderer-clean-exit is passed to Chrome. It does the following: 1. Makes the browser process not send a SIGTERM to its children. 2. Makes the renderer process not call _exit() in OnChannelError(). Why is this needed? The renderer process in Chrome does not exit cleanly currently so when Chrome is profiled for optimization we do not get representative data and miss out on optimization opportunities. This CL addresses that problem by ensuring that exit handlers including profile dumpers get run before the renderer exits. BUG=107584 TEST=Rebuilt Chrome with -fprofile-generate. Verified that the renderer process' profile is included when Chrome is closed. Review URL: http://codereview.chromium.org/9936002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131625 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 2.avi@chromium.org2012-04-1021-52/+52
| | | | | | | | | BUG=105875 TEST=no change Review URL: https://chromiumcodereview.appspot.com/10014024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131599 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 1.avi@chromium.org2012-04-1037-510/+512
| | | | | | | | | | BUG=105875 TEST=no change Review URL: http://codereview.chromium.org/10024034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131571 0039d316-1c4b-4281-b951-d872f2087c98
* Removing all reference to deprecated switch --enable-accelerated-2d-canvas ↵junov@chromium.org2012-04-102-4/+0
| | | | | | | | | | | (code cleanup) BUG=102899 TEST-None Review URL: http://codereview.chromium.org/10007019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131560 0039d316-1c4b-4281-b951-d872f2087c98