summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Revert 127855 - Revert 127835 - Make sure to add rescheduled message when we ↵jbauman@chromium.org2012-03-222-2/+3
| | | | | | | | | | | | | | | | | | | have unprocessed commands and there's no error. Doing this only when the stub is unscheduled causes dropped commands (and hangs) when it's rescheduled due to a timeout. BUG=119219 TEST= Review URL: https://chromiumcodereview.appspot.com/9726014 TBR=jbauman@chromium.org Review URL: https://chromiumcodereview.appspot.com/9768008 TBR=zmo@google.com Review URL: https://chromiumcodereview.appspot.com/9814032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128145 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DONTUSEME_GetCookieStore().eroman@chromium.org2012-03-222-8/+0
| | | | | | | | BUG=119293 Review URL: https://chromiumcodereview.appspot.com/9810022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128142 0039d316-1c4b-4281-b951-d872f2087c98
* Bug: wrong host ID was used to route SwapBuffers ack back to GPU process.apatrick@chromium.org2012-03-221-1/+1
| | | | | | Review URL: http://codereview.chromium.org/9831002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128134 0039d316-1c4b-4281-b951-d872f2087c98
* PepperPlatformAudioInputImpl: support audio input device selection.yzshen@chromium.org2012-03-217-57/+224
| | | | | | | | | | BUG=None TEST=ppapi/examples/audio_input Review URL: http://codereview.chromium.org/9705056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128110 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug where we'd allow chrome-extension URLs to be loaded in incognito modempcomplete@chromium.org2012-03-212-2/+4
| | | | | | | | | | | | as subresources, even though the extension is not allowed in incognito. BUG=118721 TEST=see bug for repro; try the proof of concept in incognito mode with adblock installed but not allowed in incognito. adblock should not be detected. Review URL: http://codereview.chromium.org/9726025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128097 0039d316-1c4b-4281-b951-d872f2087c98
* Use SSLManager to handle SSL error in SocketStreamDispatcherHosttoyoshim@chromium.org2012-03-216-9/+88
| | | | | | | | | | | | | | | | - Provide render_process_id from RenderProcessHostImpl and WorkerProcessHost to SocketStreamDispatcherHost. - Provide render_view_id from SocketStreamHost to SocketStreamDispatcherHost. - Implement SSLErrorHandler::Delegate in SocketStreamDispatcherHost. - Then use SSLManager in SocketStreamDispatcherHost. BUG=53836 TEST=none Review URL: http://codereview.chromium.org/9704045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128093 0039d316-1c4b-4281-b951-d872f2087c98
* More logs in render_view_impl/render_process_host to troubleshoot 26646oshima@chromium.org2012-03-213-7/+38
| | | | | | | | | | BUG=chromium-os:26646 TEST=none Review URL: http://codereview.chromium.org/9748009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128091 0039d316-1c4b-4281-b951-d872f2087c98
* Make CertVerifier a pure virtual interface.rsleevi@chromium.org2012-03-212-2/+2
| | | | | | | | | | | | | The existing CertVerifier implementation has been renamed to MultiThreadedCertVerifier, consistent with ProxyResolver naming. This is patch 1 of N for http://crbug.com/114343 BUG=114343 TEST=Compiles and existing unittests pass. Review URL: https://chromiumcodereview.appspot.com/9476035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128090 0039d316-1c4b-4281-b951-d872f2087c98
* Moved RenderViewImpl::IsGuest to the right place in render_view_impl.hfsamuel@chromium.org2012-03-214-10/+4
| | | | | | | | | | BUG=none TEST=manually Review URL: http://codereview.chromium.org/9790001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128086 0039d316-1c4b-4281-b951-d872f2087c98
* Keep one copy of the delegate & plugin teardown code.wez@chromium.org2012-03-211-7/+4
| | | | | | Review URL: http://codereview.chromium.org/9826001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128085 0039d316-1c4b-4281-b951-d872f2087c98
* Removing --in-process-gpu from the set of flags that prevents creation of a ↵robertshield@chromium.org2012-03-211-2/+1
| | | | | | | | | | | | | | GpuChildThread. The Android build uses this flag, which assumes that the GPU process host creates the ChildProcess instance. This regressed in r126140. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/9815011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128079 0039d316-1c4b-4281-b951-d872f2087c98
* Warm up advapi32.dll in the GPU sandbox.jschuh@chromium.org2012-03-211-0/+4
| | | | | | | BUG=118850 Review URL: https://chromiumcodereview.appspot.com/9817016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128063 0039d316-1c4b-4281-b951-d872f2087c98
* Use about:blank as the failback URL if the filter denies a navigation.cevans@chromium.org2012-03-214-25/+64
| | | | | | | BUG=117417 Review URL: https://chromiumcodereview.appspot.com/9794009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128057 0039d316-1c4b-4281-b951-d872f2087c98
* Make AudioParameters a class instead of a structvrk@google.com2012-03-2137-321/+382
| | | | | | | | | | | | | Also collapses some long parameter lists into AudioParameters and moves some of the hardcoded values (e.g. 16 bit audio in AudioDevice) to more appropriate locations. BUG=115902 TEST=manually testing everything works out Review URL: https://chromiumcodereview.appspot.com/9655018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128054 0039d316-1c4b-4281-b951-d872f2087c98
* Fix rel=noreferrer popups in Chrome Frame.grt@chromium.org2012-03-211-19/+21
| | | | | | | | | | | | http://crrev.com/125180 regressed this with the introduction of handling to open such links in a new process. The fix is to notify the external tab container that a new WebContents has been created (as was the case before) so that contents' RenderViewHost can be properly wired up to the AutomationResourceMessageFilter. BUG=118403 TEST=covered by chrome_frame_tests.exe --gtest_filter=FullTabNavigationTest.JavascriptWindowOpenNoReferrerOpensInHost R=ananta@chromium.org Review URL: http://codereview.chromium.org/9716036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128050 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 126318: "Aura: sanity check for --enable-partial-swap"backer@chromium.org2012-03-211-10/+1
| | | | | | | | | | | Several canaries have passed with no notable crashes. Lets nuke the extra CHECKs. BUG=117837 TEST=none Review URL: http://codereview.chromium.org/9813006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128023 0039d316-1c4b-4281-b951-d872f2087c98
* Make sandbox explicitly block opening broker and sandboxed processesjschuh@chromium.org2012-03-211-4/+1
| | | | | | | | | | BUG=117627 BUG=119150 TEST=sbox_validation_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127795 Review URL: https://chromiumcodereview.appspot.com/9716027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128016 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix a crash seen on the field in the IDirect3D9Ex::CreateDeviceEx ↵ananta@chromium.org2012-03-211-2/+3
| | | | | | | | | | | | | | | | | | call issued by the DXVA decoder during initialization. The crash occurs in the video driver stack and the theory is that some drivers may crash if they don't like some of the parameters being passed in. The CreateDeviceEx call issued by ANGLE went through without crashing. Attempted fix is to mimic the same parameters. BUG=119226 R=apatrick Review URL: https://chromiumcodereview.appspot.com/9794012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128013 0039d316-1c4b-4281-b951-d872f2087c98
* Use a new scheme for swapping out RenderViews.creis@chromium.org2012-03-217-8/+119
| | | | | | | | | | BUG=118664 TEST=none Review URL: http://codereview.chromium.org/9720004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127986 0039d316-1c4b-4281-b951-d872f2087c98
* DomStorage commit task sequencing. Use two workerpool task sequences ↵michaeln@google.com2012-03-212-11/+24
| | | | | | | | | | | | | (primary vs commit) instead of one to avoid DomStorage access queuing up behind commits. * Initialization, shutdown, and administrative tasks are performed as shutdown-blocking primary sequence tasks. * Methods that return values to the java-scriptable interface are performed as non-shutdown-blocking primary sequence tasks. * Internal tasks related to committing changes to disk are performed as shutdown-blocking commit sequence tasks. BUG=106763 Review URL: https://chromiumcodereview.appspot.com/9718029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127981 0039d316-1c4b-4281-b951-d872f2087c98
* Bind RenderViewImpl routing_id to SocketStreamHosttoyoshim@chromium.org2012-03-2111-12/+118
| | | | | | | | | | | | | | | | | - Set RenderViewImpl's routing_id to WebSocketStresmHandleImpl via dispatchWillOpenSocketStream() - Send the id from WebSocketStreamHandleImpl to SocketStreamHost via IPC SocketStreamHostMsg_Connect This change aim that SocketStreamDispatcher uses SSLManager with routing_id to handle SSL errors. BUG=53836 TEST=none Review URL: http://codereview.chromium.org/9677031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127964 0039d316-1c4b-4281-b951-d872f2087c98
* Speech JavaScript API: add --enable-scripted-speechhans@chromium.org2012-03-214-0/+8
| | | | | | | | | | | | | This flag doesn't do much at the moment, but will be used to enable the new speech API that's being implemented. BUG=116954 TEST=none Review URL: http://codereview.chromium.org/9748020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127947 0039d316-1c4b-4281-b951-d872f2087c98
* Disable RenderViewHostManagerTest.BackForwardNotStal on Win.pastarmovj@chromium.org2012-03-211-1/+7
| | | | | | | | | | BUG=119276 TEST=browser_tests don't fail on windows. TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9811005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127942 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a ShellBrowserMain in content_shell, so we can emulate DRT's ↵jochen@chromium.org2012-03-2111-138/+254
| | | | | | | | | | | | server mode BUG=111316 TEST=run content_shell without parameters, no observable change, run with --dump-render-tree and start typing URLs. Should open the URLs. Type QUIT to exit. Review URL: http://codereview.chromium.org/9699120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127937 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: convert about:workers into about:inspectpfeldman@chromium.org2012-03-211-1/+0
| | | | | | | | BUG=118915 Review URL: https://chromiumcodereview.appspot.com/9724038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127931 0039d316-1c4b-4281-b951-d872f2087c98
* Added C++ wrappers for PPB_HostResolver_Private interface.ygorshenin@chromium.org2012-03-211-2/+1
| | | | | | | | | | BUG=114225 TEST=*HostResolverPrivate Review URL: http://codereview.chromium.org/9701024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127929 0039d316-1c4b-4281-b951-d872f2087c98
* IpcNetworkManager creation moved to worker thread. Libjingle expects to ↵mallinath@chromium.org2012-03-212-2/+18
| | | | | | | | receive network manager interface change callback OnNetworksChanged() on worker thread. Network observer delivers this callback from the thread where it's created. Review URL: http://codereview.chromium.org/9733022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127898 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127835 - Make sure to add rescheduled message when we have ↵zmo@google.com2012-03-212-3/+2
| | | | | | | | | | | | | | | | unprocessed commands and there's no error. Doing this only when the stub is unscheduled causes dropped commands (and hangs) when it's rescheduled due to a timeout. BUG=119219 TEST= Review URL: https://chromiumcodereview.appspot.com/9726014 TBR=jbauman@chromium.org Review URL: https://chromiumcodereview.appspot.com/9768008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127855 0039d316-1c4b-4281-b951-d872f2087c98
* * MultiMonitorManager creates and manages mutliple monitor instanceoshima@chromium.org2012-03-211-1/+2
| | | | | | | | | | | | | * MonitorContrler controls root window <-> monitor mapping and resize/reposition root window to match monitor configuration. * Moved use_fullscreen_host_window to MonitorManager * Moved compositor initialize/terminate to Env as there can be more than one root window. BUG=115510 TEST=none Review URL: https://chromiumcodereview.appspot.com/9701098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127854 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure to add rescheduled message when we have unprocessed commands and ↵jbauman@chromium.org2012-03-202-2/+3
| | | | | | | | | | | | | there's no error. Doing this only when the stub is unscheduled causes dropped commands (and hangs) when it's rescheduled due to a timeout. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9726014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127835 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac_clang build.apatrick@chromium.org2012-03-201-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9768005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127831 0039d316-1c4b-4281-b951-d872f2087c98
* Move extension pop-ups and notifications to the new auto-resize code.levin@chromium.org2012-03-202-1/+27
| | | | | | | | | | | | | | | | | This should fix the "flicker" issues where autosize ends up flipping back and forth between two size in rapid succession. The change in render_widget_host is needed to avoid cases where the OnMsgUpdateRect happens while processing a resize message which may result in recursion back into the resize code which is undesirable. BUG=58816,56693 TEST=Try out auto resize in notifications and extensions. Best to do with windows that change size and hit the maximum as well as minimum sizes on the 3 desktop platforms for pop-ups. Review URL: http://codereview.chromium.org/9702068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127824 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup in content.thestig@chromium.org2012-03-205-70/+45
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9731009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127822 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Added AcceleratedPresenterMap.apatrick@chromium.org2012-03-204-56/+44
| | | | | | | | | | | | | | | This is a thread safe mapping from window handle to the associated AcceleratorPresenter that maintains the window's swap chain. The mapping was previously maintained by the GpuSurfaceTracker (via the surface ID). I changed it because I think is is possible the GpuSurfaceTracker's AcceleratedSurface pointer was going dangling. I made PresentThread reference counted and made each AcceleratedPresenter ref count it's PresentThread so the PresentThread's message loop are always a valid place to post tasks. Since other threads can post tasks to the AcceleratedPresenter at any time, I changed the shutdown of AcceleratedSurface to simply invalidate the presenter rather than waiting for its pending tasks to complete, which probably wasn't sufficient. I renamed surface_id to surface_handle for consistency with the rest of the code. BUG=117453 Review URL: https://chromiumcodereview.appspot.com/9704075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127821 0039d316-1c4b-4281-b951-d872f2087c98
* Change Origin bound certs -> Domain bound certs.mattm@chromium.org2012-03-202-4/+4
| | | | | | | | | | BUG=115348 TEST=unit tests, manually checked 'Origin Bound Certs' contents after browsing TBR=jam@chromium.org,willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/9617039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127817 0039d316-1c4b-4281-b951-d872f2087c98
* Out-of-process implementation of the PPB_NetworkMonitor_Private interface.sergeyu@chromium.org2012-03-203-8/+106
| | | | | | | | | BUG=114808 Review URL: http://codereview.chromium.org/9677060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127762 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing issue with off screen contexts DCHECK(surface_) failing during ↵mmocny@chromium.org2012-03-201-2/+0
| | | | | | | | | | | | | | SetMemoryAllocation. SetMemoryAllocation already early exits if it does not have a surface, and the DCHECK should not have been here. TBR=backer BUG=119100 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9755009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127708 0039d316-1c4b-4281-b951-d872f2087c98
* Removed obsolete CrOS code from content.saintlou@chromium.org2012-03-202-1/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9730024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127704 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle to r126.ronghuawu@chromium.org2012-03-204-5/+7
| | | | | | | | | | | - Implemented ROAP on top of JSEP. - Added a new signal after PortAllocatorSesison discoves all candidates for the channel. TEST=try bots and apprtc.appspot.com Review URL: https://chromiumcodereview.appspot.com/9727011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127702 0039d316-1c4b-4281-b951-d872f2087c98
* Remove debug logs for 26646 that aren't necessary any longer.oshima@chromium.org2012-03-203-28/+0
| | | | | | | | | | | | There are still two, one in RenderViewImpl and RenderViewHostImpl. TBR=jam@chromium.org, sky@chromium.org, nkostylev@chromium.org, BUG=chromium-os:26646 TEST=none Review URL: http://codereview.chromium.org/9748008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127669 0039d316-1c4b-4281-b951-d872f2087c98
* Implement input type=color UIkeishi@chromium.org2012-03-2013-1/+279
| | | | | | | | | | | BUG=92608 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126889 Review URL: https://chromiumcodereview.appspot.com/9203001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127656 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb Guest flag to RenderViewImplfsamuel@chromium.org2012-03-207-8/+42
| | | | | | | | | | | | | This wil be used by a subsequent patch to create a WebGraphicsContext3DGuest instead of a WebGraphicsContext3DCommandBufferImpl in the guest RenderView. BUG=118659 TEST=manually Review URL: http://codereview.chromium.org/9721001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127653 0039d316-1c4b-4281-b951-d872f2087c98
* Copy a shrinked image from the backing store or compositing surface for ↵mazda@chromium.org2012-03-203-43/+27
| | | | | | | | | | | | | | generating thumbnail. Also changed the resize method to Lanczos3 for better quality. This will make RenderWidgetHost::CopyFromBackingStore about 6 times faster on Lumpy while retaining the quality of thumbnail. BUG=96351,118571 TEST=Manually checked the thumbnail generated properly with --enable-in-browser-thumbnailing. Review URL: http://codereview.chromium.org/9703113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127650 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Show dialog box asking user's permisssion for screen sharing for gtalkvarunjain@chromium.org2012-03-202-0/+6
| | | | | | | | | | | | video plugin. BUG=111282 TEST=manual Review URL: http://codereview.chromium.org/9683003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127638 0039d316-1c4b-4281-b951-d872f2087c98
* Send GestureFlingStart and GestureFlingCancel when cmt sends themdavemoore@chromium.org2012-03-204-2/+54
| | | | | | | | | | | BUG=114818 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127606 Review URL: https://chromiumcodereview.appspot.com/9601022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127629 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127606 - Send GestureFlingStart and GestureFlingCancel when cmt sends ↵davemoore@chromium.org2012-03-204-54/+2
| | | | | | | | | | | | | them BUG=114818 TEST=None Review URL: https://chromiumcodereview.appspot.com/9601022 TBR=davemoore@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127616 0039d316-1c4b-4281-b951-d872f2087c98
* P2PSocketHostTcp::Init method calls SetSendBufferSize after ↵mallinath@chromium.org2012-03-201-5/+7
| | | | | | | | net::TCPClientSocket object creation. After the object creation TCPClientSocket::socket_ is pointing to invalid address where as bound_socket_ has the right value. The socket_ will have right value of socket fd once Connect method is called for the socket object. Review URL: http://codereview.chromium.org/9729011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127612 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WebUIMessageHandler unit tests.csilv@chromium.org2012-03-204-7/+51
| | | | | | | | | BUG=110784 TEST=content_unittests --gtest_filter="WebUIMessageHandlerTest.*" Review URL: http://codereview.chromium.org/9732027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127608 0039d316-1c4b-4281-b951-d872f2087c98
* Send GestureFlingStart and GestureFlingCancel when cmt sends themdavemoore@chromium.org2012-03-204-2/+54
| | | | | | | | | BUG=114818 TEST=None Review URL: https://chromiumcodereview.appspot.com/9601022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127606 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127575 - Revert 127573 - DOMStorageContextImpl that's implemented in ↵michaeln@google.com2012-03-209-28/+332
| | | | | | | | | | | | | | | | | terms of the new dom_storage classes. Also compile out existing tests that no longer apply when ENABLE_NEW_DOM_STORAGE_BACKEND is defined. And add the missing #include to fix the compile error. BUG=106763 Review URL: https://chromiumcodereview.appspot.com/9695013 TBR=michaeln@google.com Review URL: https://chromiumcodereview.appspot.com/9726022 TBR=dgrogan@chromium.org Review URL: https://chromiumcodereview.appspot.com/9726023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127604 0039d316-1c4b-4281-b951-d872f2087c98