summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
...
* aura: Use async compositor readback for reading to VideoFramedanakj@chromium.org2013-07-148-75/+390
| | | | | | | | | | | | | | | | | | Instead of reading the surface texture directly (which will not exist with ubercomp), read the RWHV's layer contents by posting a CopyOutputRequest to the browser compositor and reading its result back into a VideoFrame. Tests: CompositingRenderWidgetHostViewBrowserTestTabCapture.CopyFromCompositingSurface_ForVideoFrame CompositingRenderWidgetHostViewBrowserTestTabCapture.CopyFromCompositingSurface_ForVideoFrame_Scaled R=piman BUG=162291 Review URL: https://chromiumcodereview.appspot.com/18977005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211581 0039d316-1c4b-4281-b951-d872f2087c98
* Move key_systems* from webkit/ to content/.ddorwin@chromium.org2013-07-1412-15/+1252
| | | | | | | | BUG=251306 Review URL: https://chromiumcodereview.appspot.com/17526004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211579 0039d316-1c4b-4281-b951-d872f2087c98
* Allow MultiResolutionImageFetcher to fetch image from file scheme URLhongbo.min@intel.com2013-07-131-1/+2
| | | | | | | | | | | | This fix is to also check the scheme of image url for fetching image from file scheme since there is no http status code for file scheme URL. BUG=246511 TEST=Follow the description of http://crbug.com/246511 Review URL: https://chromiumcodereview.appspot.com/16358002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211568 0039d316-1c4b-4281-b951-d872f2087c98
* Use a mock WebAudioDevice for layout testscrogers@google.com2013-07-135-0/+29
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/19023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211563 0039d316-1c4b-4281-b951-d872f2087c98
* A UaF problem has been fixed. This problem is caused by dependencies between ↵dsjang@chromium.org2013-07-133-2/+79
| | | | | | | | | | RenderWidgetHostsImpl::GetAllRenderWidgetHosts() while cleaning up RVHs in them. This fixes the problem by gathering RVHS directly to be deleted, and iterating through them to avoid touching a previously deleted one. BUG=259859 Review URL: https://chromiumcodereview.appspot.com/18060009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211557 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Coding conventions and cleanupjsbell@chromium.org2013-07-1317-218/+110
| | | | | | | | | | | | Various nits, no behavior change: * Drop trivial Foo::Create() static methods for refcounted types ported from Blink. * Remove WebKit:: prefixes where we have using statements * Remove some useless use of copy constructors where there used to be a type conversion. * Apply clang-format here and there. Review URL: https://chromiumcodereview.appspot.com/19117005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211553 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Convert more test targets to use isolate.frankf@chromium.org2013-07-132-38/+73
| | | | | | | | | BUG=249870 TBR=ben@chromium.org, acolwell@chromium.org, joi@chromium.org, enne@chromium.org, mark@chromium.org, jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/19040002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211547 0039d316-1c4b-4281-b951-d872f2087c98
* add missing headers in components/tracing/child_trace_message_filter.h and mostynb@opera.com2013-07-131-1/+3
| | | | | | | | | | content/child/child_resource_message_filter.cc BUG=259043 Review URL: https://chromiumcodereview.appspot.com/18863004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211542 0039d316-1c4b-4281-b951-d872f2087c98
* [OSX] Cleanup - Use NSZeroPoint if possible.groby@chromium.org2013-07-135-7/+7
| | | | | | | | | | | | | | | By convention, we prefer NSZeroPoint over an explicit invocation of NSMakePoint(0, 0). Minor cleanup, using a script: find . -name '*.mm' -exec sed -i'' -e 's/NSMakePoint(0,[[:space:]]*0)/NSZeroPoint/g' {} \; TBR=darin@chromium.org R=shess@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/18856016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211541 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Android shared memory data fetcher for Device Motion.timvolodine@chromium.org2013-07-1314-54/+456
| | | | | | | | | | | | | | | | | This CL implements the shared memory data fetcher for devices running on Android. The data fetchers acquires data from sensors (e.g. accelerometer, gyroscope) and puts it into a shared memory buffer. Because the sensor data is push-based on Android there is no need for an extra polling thread to fetch the data at regular intervals. This CL features: - interface for shared memory data fetchers for Device Motion. - implementation of the Android shared memory data fetcher. - unit tests for the Android shared memory data fetcher. - implementation of the empty data fetcher for other platforms. - modification of the existing Android data fetcher to be a singleton, such that it is compatible with the current Device Orientation implementation. BUG=135804 Review URL: https://chromiumcodereview.appspot.com/18572014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211539 0039d316-1c4b-4281-b951-d872f2087c98
* Histogram detailed errors for IndexedDB reads.dgrogan@chromium.org2013-07-131-0/+1
| | | | | | | | | | | | | | | | We previously had great detailed logging for database opens and writes but nothing for reads. Docs recently revealed that they are frequently getting read errors. While fixing these is less of a priority than errors on open and write, we should start collecting the data now so that we'll have it when it is a priority. BUG=225051 Review URL: https://chromiumcodereview.appspot.com/18560011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211535 0039d316-1c4b-4281-b951-d872f2087c98
* Enable drag and drop for windows too (behind flag).lazyboy@chromium.org2013-07-131-6/+2
| | | | | | | | | | | | | BUG=161112 Test=windows: An app with drag src and drop destination. Same within two <webview>s. Tested: a. dragging within one <webview>. b. dragging from one <webview> to another <webview> c. dragging between app (embedder) and <webview>. d. dragging from <webview> to regular input box (chrome omnibox or google search input box). Review URL: https://chromiumcodereview.appspot.com/18560010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211533 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebGraphicsContext::readBackFramebuffer implementation.jbauman@chromium.org2013-07-132-90/+1
| | | | | | | | | | This isn't used anymore. BUG= Review URL: https://chromiumcodereview.appspot.com/18464007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211528 0039d316-1c4b-4281-b951-d872f2087c98
* content: Multiply tile size by 2 when MapImage API is being used to reduce ↵kaanb@chromium.org2013-07-131-0/+5
| | | | | | | | | | the number of zero-copy buffers being allocated. BUG=b/9760370 Review URL: https://chromiumcodereview.appspot.com/18546006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211526 0039d316-1c4b-4281-b951-d872f2087c98
* RenderWidgetHostImpl's resize_ack_pending_ should set to true only whenkkimlabs@chromium.org2013-07-133-30/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RenderWidget::Resize(...) is expected to send ack. But resize_ack_pending_ could be false positive or false negative. It caused crbug.com/246154 and this CL fixes the both false cases by setting resize_ack_pending_ correctly. Example false positive: Let's say RenderWidget::Resize(...) is called twice by RenderWidgetHostImpl::WasResized(), with the following arguments. #1 new_size : 100x100 physical_backing_size : 0x0 #2 new_size : 100x100 physical_backing_size : 200x200 Then it doesn't send ack for the both cases because #1 has an empty physical_backing_size and #2 doesn't change new_size from the previous call. However, RenderWidgetHostImpl::WasResized() sets resize_ack_pending_ true #2, because current_size_ is updated only when we have ack back, so current_size_ wasn't updated for #1 and RenderWidget can think the current_size_ is about to change to 100x100 at #2. Example false negative: Again, consider this sequence of arguments: #1 new_size : 100x100 #2 new_size : 0x0 #3 new_size : 100x100 RenderWidget sends acks at #1 and #3. Then RenderWidget's current_size_ is not updated at #2 so RenderWidget thinks current_size_ is not changed for #3, thus does not expect ack. BUG=246154 Review URL: https://chromiumcodereview.appspot.com/18413004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211524 0039d316-1c4b-4281-b951-d872f2087c98
* OutputSurfaceClient::ReleaseGLboliu@chromium.org2013-07-135-2/+21
| | | | | | | | | | | | | For Android WebView, when the webview is detached from the view tree, it is the last chance we have of releasing all GL resources. This is essentially the reverse of DeferredInitialize, synchronously releasing GL resources and reverting back to software mode and zero-budget. BUG=256276 Review URL: https://chromiumcodereview.appspot.com/18279003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211523 0039d316-1c4b-4281-b951-d872f2087c98
* Better size formatting for indexeddb-internalsalecflett@chromium.org2013-07-132-2/+3
| | | | | | | | | | | I just discovered FormatBytesUnlocalized - as this is for an internal tool, I believe this use is ok. This is just something that's bugged me about chrome://indexeddb-internals BUG= Review URL: https://chromiumcodereview.appspot.com/18051019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211518 0039d316-1c4b-4281-b951-d872f2087c98
* Add device motion enable switch to about:flags in Chrome for Android.timvolodine@chromium.org2013-07-131-0/+1
| | | | | | | | BUG=135804 Review URL: https://chromiumcodereview.appspot.com/17370006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211516 0039d316-1c4b-4281-b951-d872f2087c98
* Rename media player managers.xhwang@chromium.org2013-07-1315-135/+143
| | | | | | | | | | | | MediaPlayerManagerImpl -> BrowserMediaPlayerManager WebMediaPlayerManagerAndroid -> RendererMediaPlayerManager TBR=jochen@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/18704007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211512 0039d316-1c4b-4281-b951-d872f2087c98
* Do not call PlatformThread::CurrentHandle on windowsjochen@chromium.org2013-07-121-1/+7
| | | | | | | | | | | It's not implemented and spams the console BUG=none R=epenner@chromium.org Review URL: https://chromiumcodereview.appspot.com/18562012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211477 0039d316-1c4b-4281-b951-d872f2087c98
* <webview>: Back & forward key navigate webview if unhandled.fsamuel@chromium.org2013-07-124-1/+24
| | | | | | | | | BUG=248307 Test=WebViewInteractiveTest.Navigation Review URL: https://chromiumcodereview.appspot.com/17296002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211470 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to keep selection on confirmCompositionaurimas@chromium.org2013-07-1217-67/+92
| | | | | | | | | | Start using selectionBehavior flag in confirmComposition to allow for correct Android IME finishComposingText() implementation. BUG=239923 Review URL: https://chromiumcodereview.appspot.com/17464004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211450 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Test for "close" event when connection is force-closed.jsbell@chromium.org2013-07-123-12/+53
| | | | | | | | | | | | The event is implemented in Blink in http://crrev.com/18042007 - this is just test. BUG=249470 R=dgrogan@chromium.org Review URL: https://chromiumcodereview.appspot.com/18660012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211444 0039d316-1c4b-4281-b951-d872f2087c98
* Web MIDI: add RequestMIDISysExPermission to BrowserContexttoyoshim@chromium.org2013-07-126-4/+45
| | | | | | | | | | | | | Add RequestMIDISysExPermission to handle Web MIDI API permissions for system exclusive messages in content embedder. BUG=163795, 257618 TEST=none TBR=benm@chromium.org Review URL: https://chromiumcodereview.appspot.com/18647002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211437 0039d316-1c4b-4281-b951-d872f2087c98
* Allow video capture module to notify clients of resolution change.wjia@chromium.org2013-07-1212-1/+130
| | | | | | | | | | | | | | | This paves the way to support dynamic change of captured frame resolution. When vidoe capture module changes its resolution, it should continue using previous negotiated resolution to send video frames. The new resolution takes place only capture session is restarted, i.e., Stopped and Started. BUG=249944 TEST=compile R=palmer@chromium.org, wez@chromium.org Review URL: https://codereview.chromium.org/18490005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211433 0039d316-1c4b-4281-b951-d872f2087c98
* Persist download ids across sessions by merging them with db_handles.benjhayden@chromium.org2013-07-1240-463/+288
| | | | | | | | | | | | | | | | | | | | | | | | | Remove DownloadId from the content api. It made sense in a world with DownloadFileManager, but that world is no more. Remove meta_table.next_download_id_. {HistoryService,HistoryBackend,DownloadDatabase}::GetNextDownloadId() returns `select max(id) from downloads` + 1. GetNextDownloadId() is called once when ChromeDownloadManagerDelegate is created, before DownloadDatabase::QueryDownloads() is called. {DownloadManager,DownloadManagerDelegate}::GetNextId() is now *a*synchronous. If GetNextId() is called before History*::GetNextDownloadId() finishes, then the callback arguments go into a queue that is flushed when History*::GetNextDownloadId() calls back to CDMD. Even if the `select max(id) from downloads` statement takes a long time, browser/profile initialization is not delayed. The only operations that are delayed in this case are downloads. We cannot simply allow sqlite to automatically assign the id because some DownloadItems are never added to the history. If all items were added to the history, then we could allow sqlite to automatically assign the id by merging DownloadDatabase::CreateDownload() with DownloadDatabase::GetNextDownloadId(). But some items are never added to the history, so we don't want to create records for them. Also, that would delay surfacing *every* download to the UI by a DB thread bounce, whereas this CL only delays the downloads that are started before DownloadDatabase::GetNextDownloadId() returns. DownloadHistory now uses loading_id_ instead of loading_db_handle_. This way is safer. DownloadHistoryData uses a tri-state enum {NOT_PERSISTED, PERSISTING, PERSISTED}. The invalid id constant is moved to content::DownloadItem::kInvalidId. BUG=98253 Review URL: https://chromiumcodereview.appspot.com/15584002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211414 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Remove dependencies on /media for iOS."blundell@chromium.org2013-07-124-10/+6
| | | | | | | | | | | | | This reverts commit 5acb0a7605d1eec9220e0b7b3b663967fcf1e5ce. We need to stop media_unittests running on the iOS simulator bot before we can safely reland this CL. TBR=bdibello Review URL: https://codereview.chromium.org/19002008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211411 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "[cros/aura] Prevent white splash on boot for OOBE WebUI."nkostylev@chromium.org2013-07-121-1/+1
| | | | | | | | | | | | | | | | Revert "cros: Fix app launch splash flicker." Reason: Correct (and simple) implementation was added - http://crbug.com/247249 Original CLs: https://chromiumcodereview.appspot.com/10796009 https://chromiumcodereview.appspot.com/12900002 BUG=131569, 196802, 247249 Review URL: https://chromiumcodereview.appspot.com/18080021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211409 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] Toogle high dpi support depending on whether we're running ↵jochen@chromium.org2013-07-126-14/+101
| | | | | | | | | | | | | layout tests or not Original review here https://chromiumcodereview.appspot.com/17240002 BUG=249175 R=bauerb@chromium.org Review URL: https://chromiumcodereview.appspot.com/18137011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211402 0039d316-1c4b-4281-b951-d872f2087c98
* [android] Plumb through page scale to the InProcessViewRenderer.mkosiba@chromium.org2013-07-121-11/+15
| | | | | | | | | | | | | | The InProcessViewRenderer needs to know the current pageScale so that it can correctly convert phsical <-> CSS pixels. BUG=b/9756394 TEST=AndroidWebViewTest Android-only change, trybots are happy with it. NOTRY=true Review URL: https://chromiumcodereview.appspot.com/18242011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211401 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test flakiness introduced by r211200.earthdok@chromium.org2013-07-123-1/+8
| | | | | | | | | | | | Fix the two remaining cases of MediaStreamManager conflicting with TestBrowserThreadBundle. BUG=247525 R=xians@chromium.org Review URL: https://chromiumcodereview.appspot.com/18780011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211394 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Offer long press to embedders.benm@chromium.org2013-07-121-0/+16
| | | | | | | | | | | | | | | This allows embedders of the WebView to handler the long press themselves before the content layer gets a chance. Specifically, this addresses an issue where onLongClickListeners where not being fired in the WebView if the user long pressed over web content. BUG=b/7908633 Review URL: https://chromiumcodereview.appspot.com/18870013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211378 0039d316-1c4b-4281-b951-d872f2087c98
* Implement async version of WebFileSystem::createFileWriterkinuko@chromium.org2013-07-122-0/+34
| | | | | | | | | | | | | | | | To cleanup callback chain in Blink side. The interface is introduced in r154035 Corresponding blink patch: https://codereview.chromium.org/18411005/ BUG=257349 TEST=no behavioral changes NOTRY=true Review URL: https://chromiumcodereview.appspot.com/18427005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211359 0039d316-1c4b-4281-b951-d872f2087c98
* add missing headers in gpu codemostynb@opera.com2013-07-124-0/+4
| | | | | | | | BUG=259043 Review URL: https://chromiumcodereview.appspot.com/18883003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211355 0039d316-1c4b-4281-b951-d872f2087c98
* [Android WebView] GLNonOwnedContext::MakeCurrent before App GL save/restoreboliu@chromium.org2013-07-121-8/+0
| | | | | | | | | | | | | | | | | | | | | If GLApi is set to NULL right before we make "raw" GL calls to save/restore app, then we will crash in these GL function calls. This actually happens when we clean up GL and destroy the context when we detach from view tree, but it could potentially happen in other situations too. Fix by setting RealGlApli by calling MakeCurrent on a global GLNonOwnedContext. Also put the scoped GL state restore into separate h/cc file and clean up includes. BUG= NOTRY=true Review URL: https://chromiumcodereview.appspot.com/18145013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211345 0039d316-1c4b-4281-b951-d872f2087c98
* Blend TextureLayer background-color at draw time.alokp@chromium.org2013-07-122-0/+3
| | | | | | | | | | | | | | | | | This enables the following optimization: 1. The compositor will be able to disable GL blending if the background-color is opaque. 2. For elements that paint directly to a texture layer, i.e. accelerated canvas, video, etc., there is no need to allocate an additional layer just to paint the background. BUG=236982 Review URL: https://chromiumcodereview.appspot.com/18432002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211339 0039d316-1c4b-4281-b951-d872f2087c98
* Move ContentDecryptionModuleFactory & ProxyDecryptor from webkit/ to content/ddorwin@chromium.org2013-07-1210-8/+450
| | | | | | | | | BUG=251306 TBR=jochen@chromium.org Review URL: https://chromiumcodereview.appspot.com/5872285445521408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211333 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: split FileSystemDispatcher::Create into CreateFile and CreateDirectorykinuko@chromium.org2013-07-124-13/+25
| | | | | | | | | | | | Remotely for crbug.com/257349 BUG=none TEST=none R=dmichael@chromium.org, tzik@chromium.org Review URL: https://codereview.chromium.org/18282010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211316 0039d316-1c4b-4281-b951-d872f2087c98
* Pass Web Animations CSS and SVG flags to rendererdstockwell@chromium.org2013-07-121-0/+2
| | | | | | | | | | These were added in r210815 but never passed to renderer. BUG=232278 Review URL: https://chromiumcodereview.appspot.com/19041003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211309 0039d316-1c4b-4281-b951-d872f2087c98
* Pass LatencyInfo to GPU side on Android.feng@chromium.org2013-07-122-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A LatencyInfo object is created for an input event. To measure the frame buffer swapping latency, it traverses through the following path: 1. browser passes the LatencyInfo object to render via content::RenderWidgetHostImpl::ForwardTouchEventWithLatencyInfo; 2. render attaches the LatencyInfo object to a LayerTreeImpl object, and later content::CompositorOutputSurface::SwapBuffers sends the LatencyInfo object back to the browser side; 3. browser gets the CompositorFrame object with the LatencyInfo object in content::RenderWidgetHostImpl::OnSwapCompositorFrame, 4. later browser sends SwapBuffers message to GPU via OutputSurfaceWithoutParent::SwapBuffer in compositor_impl_android.cc, 5. after swapping buffers, GPU sends FrameDrawn message to browser with the LatencyInfo object on the PassThroughImageTransportSurface object. There are two missing steps in the path for the LatencyInfo object to be passed to the GPU side: a) in step 3, the LatencyInfo object needs to be set on the LayerTreeHost object so that it can be sent to the GPU side; b) in step 4, the browser needs to explicitly send the LatencyInfo object to the GPU side. The change addresses issue a) by setting the LatencyInfo object on the LayerHostTree object in render_widget_host_view_android.cc. Issue b) is addressed in compositor_impl_android.cc by sending the LatencyInfo object to GPU side explicitly. BUG=249201 Review URL: https://chromiumcodereview.appspot.com/19026002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211308 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up SiteInstance with all swapped out views.dsjang@chromium.org2013-07-129-15/+183
| | | | | | | | | | | | SiteInstanceImpl is extended with active_view_count(), and RenderViewHostManager shuts down all the views in a SiteInstance whose active_view_count() reaches 0. This CL also changes an assumption that some test cases depend on : a view stays valid for some time even after it gets shut down. This also fixes a crash in RendererResource by deleting RVHs later. BUG=253576 Review URL: https://chromiumcodereview.appspot.com/18649004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211289 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 210138 "Perform glReadPixels with PBOs in the gpu, if PBO..."nick@chromium.org2013-07-121-51/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | > Perform glReadPixels with PBOs in the gpu, if PBOs are available. > Make GL_ASYNC_READ_PIXELS_COMPLETED_CHROMIUM wait for readpixel transfers. > PLEASE NOTE: glMapBuffer does not wait for the readpixels transfer to complete anymore. > Nobody is currently relying on that behaviour. > Update gl_helper.cc and gl_renderer.cc to use queries. > > This CL is the same as https://codereview.chromium.org/16831004/ > but includes fixes for: > OutOfProcessPPAPITests.Graphics3D (removed a check in query_tracker.cc) > GLReadbackTest.ReadPixelsWithPBO (removed, no longer a valid test) > GLReadbackTest.ReadPixelsWithPBOAndQuery (now uses the correct query) > > BUG=249925 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209873 > > Review URL: https://chromiumcodereview.appspot.com/18555006 TBR=hubbe@chromium.org BUG=258169 Review URL: https://codereview.chromium.org/19029003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211274 0039d316-1c4b-4281-b951-d872f2087c98
* Add a field trial for low latency flash audio.dalecurtis@chromium.org2013-07-123-3/+20
| | | | | | | | | | | Enables beta/dev/canary only at 25%. BUG=162207 TEST=Launch chrome, observe flag being added. Existing flags kept. Review URL: https://chromiumcodereview.appspot.com/18147003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211273 0039d316-1c4b-4281-b951-d872f2087c98
* Let StreamTextureManager outlive cmd buffer stubs.sievers@chromium.org2013-07-111-4/+3
| | | | | | | | | | | | | TextureManager has a weak pointer to StreamTextureManager. The ContextGroup and TextureManager go away when the last stub in the share group goes away. BUG=257355 R=piman@chromium.org Review URL: https://codereview.chromium.org/18340012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211249 0039d316-1c4b-4281-b951-d872f2087c98
* Allow tracing to console everywhere.vollick@chromium.org2013-07-113-0/+16
| | | | | | | | | | | | This patch gets rid of the cc-only trace-to-vlog stuff and replaces it with a general trace-to-console approach that can be used everywhere, even the browser. BUG=None Review URL: https://chromiumcodereview.appspot.com/18174006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211245 0039d316-1c4b-4281-b951-d872f2087c98
* DCHECK that MediaDrmBridge::Create() should not return NULLqinmin@chromium.org2013-07-112-2/+5
| | | | | | | | | | This call should be called after IsSupportedKeySystem(), so it should not return NULL BUG=163552 Review URL: https://chromiumcodereview.appspot.com/19010002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211244 0039d316-1c4b-4281-b951-d872f2087c98
* webkit: Refactor webkit_renderer.gypi into a gyp file.tfarina@chromium.org2013-07-112-7/+7
| | | | | | | | | | | | | | This moves webkit_renderer from an 'include' gyp file to a standalone gyp file. This also moves it out of webkit_support.gyp, to avoid creating circular dependencies between gyp files. To do this, glue_common target was also moved into a gyp file. BUG=None TBR=jamesr@chromium.org Review URL: https://codereview.chromium.org/19028004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211235 0039d316-1c4b-4281-b951-d872f2087c98
* add missing header in indexed_db_backing_store.ccmostynb@opera.com2013-07-111-0/+1
| | | | | | | | | | This file uses IsStringASCII but didn't explicitly include the relevant header file. BUG=259043 Review URL: https://chromiumcodereview.appspot.com/18384006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211217 0039d316-1c4b-4281-b951-d872f2087c98
* (re-land) Flush each thread's message loop on destruction of ↵earthdok@chromium.org2013-07-113-2/+21
| | | | | | | | | | | | | | | | | | | | | | | TestBrowserThreadBundle. Flush each thread's message loop on destruction of TestBrowserThreadBundle. All threads, real or fake, are now flushed in the order they are destroyed. Previously we flushed all fake threads once and then the real threads, which caused some deletion tasks to be dropped. Fixes memory leaks in AutocheckoutManagerTest tests. This is the same as r210457 which got reverted due to a CHECK failure in MediaStreamDispatcherHostTest.GenerateStream. Trying to address that issue in this CL. BUG=247525 R=ajwong@chromium.org, jcivelli@chromium.org, xians@chromium.org Review URL: https://chromiumcodereview.appspot.com/18978007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211200 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "[Android] Workaround for finishComposingText() issue after ↵aurimas@chromium.org2013-07-111-15/+0
| | | | | | | | | | | | | | restartInput." This reverts commit 8bf63e49e1ddec178c3d016ea9f84c695c455e8f. BUG=257001 TBR=tedchoc@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/18093011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211179 0039d316-1c4b-4281-b951-d872f2087c98