summaryrefslogtreecommitdiffstats
path: root/content/common
Commit message (Collapse)AuthorAgeFilesLines
* Remove the usage of omax-vda from the video_decode_accelerator_unittest.owenlin@chromium.org2013-04-091-22/+6
| | | | | | | | | | | | Also remove the flag "use-exynos-vda" from the test since it is not needed anymore. BUG=223823 Review URL: https://chromiumcodereview.appspot.com/12844012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192996 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 192309 - to see if it is causing an increase in crash rates in child ↵apatrick@google.com2013-04-081-2/+0
| | | | | | | | | | | | | | | processes. > Avast Avast! Block Avast Antivirus from loading into child processes. > > It is associated with 60-70% of child process crashes in 28.0.1461.0. > > Review URL: https://chromiumcodereview.appspot.com/13598004 TBR=apatrick@chromium.org Review URL: https://codereview.chromium.org/13427015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192844 0039d316-1c4b-4281-b951-d872f2087c98
* Make log messages in socket_stream_dispatcher.cc consistent and add more info.tyoshino@chromium.org2013-04-081-20/+47
| | | | | | | | | - Since this file contains two classes, include "Bridge #id" and "SocketStreamDispatcher::" to distinguish between logs of them. - Print pointer address instead of socket ID where it can be uninitialized or already unset. Review URL: https://codereview.chromium.org/13533006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192817 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_array<T> to scoped_ptr<T[]> in content/, Linux edition.dcheng@chromium.org2013-04-073-8/+8
| | | | | | | | | | This changelist was automatically generated using a clang tool. BUG=171111 Review URL: https://codereview.chromium.org/13749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192769 0039d316-1c4b-4281-b951-d872f2087c98
* Fix IpcPacketSocketFactory to return EWOULDBLOCK when network interface is ↵sergeyu@chromium.org2013-04-061-0/+3
| | | | | | | | | | | | | | | | | congested. PeerConnection implementation in libjingle will need to handle the case when a network interface is congested, so it needs to be notified when send buffers are full. This CL adds send result notification message that is sent to the renderer process after each message is sent. Sockets created using IpcPacketSocketFactory will be returning EWOULDBLOCK when Send() buffers are full instead of dropping the packet silently. BUG=226158 Review URL: https://chromiumcodereview.appspot.com/13584008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192721 0039d316-1c4b-4281-b951-d872f2087c98
* Add comment explianing memory policy on Mac.ccameron@chromium.org2013-04-061-0/+3
| | | | | | | | | TBR=nduca@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/13655002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192674 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: <webview> should inherit partition attribute of opener on ↵fsamuel@chromium.org2013-04-051-0/+14
| | | | | | | | | | | attachment. BUG=140316 Test=Updated WebViewTest.NewWindow Review URL: https://chromiumcodereview.appspot.com/13032003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192646 0039d316-1c4b-4281-b951-d872f2087c98
* VAVDA: Restore check for frame_mbs_only_flag.posciak@chromium.org2013-04-051-0/+6
| | | | | | | | | | | | This check was removed due to misinterpretation of the spec, but it seems it's needed for some streams. BUG=225787 TEST=manual playback Review URL: https://chromiumcodereview.appspot.com/13726007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192620 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the GpuCommandBufferMsg_DestroyVideoDecoder IPC message since it is ↵fischman@chromium.org2013-04-053-17/+7
| | | | | | | | never used(!) Review URL: https://chromiumcodereview.appspot.com/13521007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192463 0039d316-1c4b-4281-b951-d872f2087c98
* Avast Avast! Block Avast Antivirus from loading into child processes.apatrick@chromium.org2013-04-041-0/+2
| | | | | | | | It is associated with 60-70% of child process crashes in 28.0.1461.0. Review URL: https://chromiumcodereview.appspot.com/13598004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192309 0039d316-1c4b-4281-b951-d872f2087c98
* Use sequenced workers for the getting the system's font list.falken@chromium.org2013-04-042-0/+17
| | | | | | | | | | | This is necessary because on Linux we use Pango, which is not threadsafe (only newer versions are). BUG=223772 Review URL: https://chromiumcodereview.appspot.com/13458002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192307 0039d316-1c4b-4281-b951-d872f2087c98
* Fix GL virtualization warnings on OS Xccameron@chromium.org2013-04-031-11/+0
| | | | | | | | | | | | | | | | | | | | | | Stub out GetDisplay for GLSurfaceCGL so that the NOTIMPLEMENTED in GLSurface is not hit. Fix a bug where, when using context virtualization, a GL_INVALD_FRAMEBUFFER_OPERATION is generated by GLES2DecoderImpl::Initialize. This is a use-before-initialization bug wherein GpuCommandBufferStub::Initialize calls MakeCurrent on the virtual context, and because decoder_ is non-NULL in GLContextVirtual::MakeCurrent, we try to restore the state from the decoder (but decoder_ has not yet been initialized). Remove extra logic to prevent calling Destroy on un-initialized decoders, and add a check inside Destroy. BUG=180463 Review URL: https://chromiumcodereview.appspot.com/13430019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192109 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 192041 "Splits SmoothGestureController from RenderWidgetH..."phoglund@chromium.org2013-04-031-4/+5
| | | | | | | | | | | | | | | | | | | | | | | > Splits SmoothGestureController from RenderWidgetHostImpl > > Elements were pushed when the platform sends an input event, > but they're are popped when the event are ACKd. > There are other internal queues such as "touch_event_queue_" and > "gesture_filter_" that may coalesce / ACK events using their own internal > order. > This results in in_process_event_types_ not being popped correctly, and > prevents Telemetry from synthesizing Motion events on android. > The solution is to move the synthetic events out of RenderWidgetHostImpl and use a simple counter there. > > BUG=166521 > TEST=content_unittest, SmoothScrollGestureControllerTest > > Review URL: https://chromiumcodereview.appspot.com/11858007 TBR=bulach@chromium.org Review URL: https://codereview.chromium.org/13408009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192054 0039d316-1c4b-4281-b951-d872f2087c98
* Splits SmoothGestureController from RenderWidgetHostImplbulach@chromium.org2013-04-031-5/+4
| | | | | | | | | | | | | | | | | | Elements were pushed when the platform sends an input event, but they're are popped when the event are ACKd. There are other internal queues such as "touch_event_queue_" and "gesture_filter_" that may coalesce / ACK events using their own internal order. This results in in_process_event_types_ not being popped correctly, and prevents Telemetry from synthesizing Motion events on android. The solution is to move the synthetic events out of RenderWidgetHostImpl and use a simple counter there. BUG=166521 TEST=content_unittest, SmoothScrollGestureControllerTest Review URL: https://chromiumcodereview.appspot.com/11858007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192041 0039d316-1c4b-4281-b951-d872f2087c98
* permissionrequest API for guest Download.lazyboy@chromium.org2013-04-033-8/+16
| | | | | | | | | | | | | | | | Exposed event: event.type = 'download' event.requestMethod = 'GET'/'POST'... event.url = url BUG=141204 TEST=Pending: osx + win (b/c there is a *ViewGuest change). Added browser_tests:WebViewTest.Download, ran unit_tests:DownloadRequestLimiterTest* Review URL: https://chromiumcodereview.appspot.com/13037003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192029 0039d316-1c4b-4281-b951-d872f2087c98
* Minor file_util cleanup.brettw@chromium.org2013-04-031-6/+12
| | | | | | | | | | | | | | | | | | | | | | | Remove HasBeenModifiedSince which isn't used. Remove ComputeFilesSize which is only used in one place. Move the implementation to that one file. Remove CountFilesCreatedAfter. Windows and Posix each had large complicated implementations and it's only used legitimately once (ui_test.cc) and in a relatively simple context (certainly not complicated enough to justify the paragraph the posix implementation has about file time rounding). I inlined a simple implementation using the FileEnumerator which is little code and is cross-platform. CountFilesCreatedAfter was additionally (ab)used by Linux sandbox code in two places to determine if 1 or more files matched a given name. I inlined a FileEnumerator check in each of these places that's more appropriate to the use. Review URL: https://codereview.chromium.org/13323004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191993 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Fix remaining linker errors for components buildyfriedman@chromium.org2013-04-031-4/+6
| | | | | | | | | | | Miscellaneous missing dependencies and a few more exports. BUG=158821 Review URL: https://chromiumcodereview.appspot.com/12988003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191944 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Remove owexplorer_xx.dll from the list of troublesome DLLs.apatrick@chromium.org2013-04-031-11/+0
| | | | | | | | owexplorer_xx.dll has fixed the bad interaction with the GPU process sandbox and it auto-updates. Therefore these old version of owexplorer_xx.dll no longer need to be blocked. Review URL: https://chromiumcodereview.appspot.com/13190013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191943 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Ensure connections arriving for terminated workers are closedjsbell@chromium.org2013-04-022-3/+49
| | | | | | | | | | | | | | If a renderer is closed, the browser cleans up orphaned in-flight connections. But if a worker is terminated the renderer needs to do this. Have the message filter check for a terminated worker message loop, and do the necessary connection cleanup. BUG=123418 Review URL: https://chromiumcodereview.appspot.com/13349005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191937 0039d316-1c4b-4281-b951-d872f2087c98
* Update OWENRS file after I renamed a file. TBR=cpujam@chromium.org2013-04-021-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191893 0039d316-1c4b-4281-b951-d872f2087c98
* Enable ubercomp support for webview compositing.alexst@chromium.org2013-04-021-0/+15
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/12681022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191859 0039d316-1c4b-4281-b951-d872f2087c98
* Extract metadata for media elementsqinmin@chromium.org2013-04-021-3/+6
| | | | | | | | | | | | In our current html5 media implemtation, we pretend everything is loaded and gave a temporary duration of 100 seconds to WebKit. However, this will break things if developer do sth like video.seek(video.duration). Also, width and height information are not available. This change adds a thread in browser process to extract media metadata from the elements, before reporting to WebKit that media is loaded. This only works if wifi or ethernet is available. Review URL: https://chromiumcodereview.appspot.com/12518035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191786 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Account for dispatcher thread being null during shutdownjsbell@chromium.org2013-04-021-0/+5
| | | | | | | | | | R=dgrogan@chromium.org BUG=225535 Review URL: https://chromiumcodereview.appspot.com/13397002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191763 0039d316-1c4b-4281-b951-d872f2087c98
* Implement client side PBOs for glReadPixelhubbe@chromium.org2013-04-022-245/+107
| | | | | | | | | | | | | | Use PBOs in gl_helper swizzle bytes on gpu flip vertically on gpu remove gl_helper_thread Implements GLHelper::CropScaleReadbackAndCleanTexture() to be non-blocking in the client by using shared memory combined with a query (not requiring actual GL PBO support, which would not be available on Android). Review URL: https://chromiumcodereview.appspot.com/12892005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191737 0039d316-1c4b-4281-b951-d872f2087c98
* Wires through a message once the page has painted somethingsky@chromium.org2013-04-011-0/+5
| | | | | | | | | | | | | | interesting. Interesting being the first paint after a non-empty layout. BUG=none TEST=none R=simonjam@chromium.org Review URL: https://chromiumcodereview.appspot.com/13220003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191632 0039d316-1c4b-4281-b951-d872f2087c98
* Move MessageLoop to base namespace.brettw@chromium.org2013-03-313-6/+6
| | | | | | | | | | This adds a "using" to the header to avoid having to update everything at once. However, all forward declares and the locations that use the forward declares need to be updated (since they don't see the using in message_loop.h). BUG= Review URL: https://codereview.chromium.org/13243003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191566 0039d316-1c4b-4281-b951-d872f2087c98
* VAVDA: Fix lockingmarcheu@chromium.org2013-03-301-6/+6
| | | | | | | | | | | | Locking is required over all libva calls, since the libva library is not thread safe. BUG=chromium:196430 TEST=by hand Review URL: https://chromiumcodereview.appspot.com/13332002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191552 0039d316-1c4b-4281-b951-d872f2087c98
* net: extract net/cert out of net/basephajdan.jr@chromium.org2013-03-291-1/+1
| | | | | | | | | | | | This introduces the following dependency of net/base on things outside: net/base/openssl_client_key_store.cc:#include "net/cert/x509_certificate.h" BUG=70818 Review URL: https://codereview.chromium.org/13006020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191450 0039d316-1c4b-4281-b951-d872f2087c98
* Fix null dereference in ImageTransportSurface::CreateSurface.apatrick@chromium.org2013-03-291-1/+1
| | | | | | | BUG=224678 Review URL: https://codereview.chromium.org/13211003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191398 0039d316-1c4b-4281-b951-d872f2087c98
* Split FaviconHelper in two: ImageLoadingHelper and FaviconHelper.dimich@chromium.org2013-03-294-47/+46
| | | | | | | | | | | | | | | | | | This is the first step of fixing http://crbug.com/196769. The problem is that there are two types of users of Content::DownloadFavicon() - the favicon consumers and regular icons and images consumers. Recently, the otherwise-generic image download+decoding implementation regressed because it was assumed to be only used for favicon loading. The proposed fix is to add a parameter to the method (enum, FAVICON/IMAGE) and rename it from DownloadFavicon to DownloadImage, to make sure the name corresponds to the impl/usage. This is rename-only part, no additional parameter yet. The FaviconHelper class was split in 2, with new ImageLoadingHelper dealing with images. BUG=196769 Review URL: https://chromiumcodereview.appspot.com/12780024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191304 0039d316-1c4b-4281-b951-d872f2087c98
* Pass a sequence number along with the DIB handle when compositing in software.skaslev@chromium.org2013-03-292-4/+4
| | | | | | | | | BUG=124671, 161008 Review URL: https://chromiumcodereview.appspot.com/13248003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191301 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 191277 "Allow showing pending URL for new tab navigations..."rsleevi@chromium.org2013-03-291-5/+0
| | | | | | | | | | | | | | | | | | | | | | | > Allow showing pending URL for new tab navigations, but only if safe. > > We revert to showing the opener's URL if it modifies the content of the > initial blank page before the pending URL commits, to prevent URL spoofs. > > Implications: > - All renderer-initiated navigations now have pending NavigationEntries. > - GetURL and GetTitle use the visible entry, not active entry. > - The renderer notifies the browser if DOM mutations occur before first load. > > BUG=9682 > TEST=Open a slow link in a new tab. Destination URL should be visible and reloadable. > > > Review URL: https://chromiumcodereview.appspot.com/12541018 TBR=creis@chromium.org Review URL: https://codereview.chromium.org/13294002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191295 0039d316-1c4b-4281-b951-d872f2087c98
* Allow showing pending URL for new tab navigations, but only if safe.creis@chromium.org2013-03-291-0/+5
| | | | | | | | | | | | | | | | | | We revert to showing the opener's URL if it modifies the content of the initial blank page before the pending URL commits, to prevent URL spoofs. Implications: - All renderer-initiated navigations now have pending NavigationEntries. - GetURL and GetTitle use the visible entry, not active entry. - The renderer notifies the browser if DOM mutations occur before first load. BUG=9682 TEST=Open a slow link in a new tab. Destination URL should be visible and reloadable. Review URL: https://chromiumcodereview.appspot.com/12541018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191277 0039d316-1c4b-4281-b951-d872f2087c98
* CrOS: GetVsyncValues before SwapBuffersbacker@chromium.org2013-03-291-2/+4
| | | | | | | | | | | | | Works around a driver bug on Mali where there is occassional contention for the timestamp and counts that GetSyncValues reads and SwapBuffers writes. BUG=223558 Review URL: https://chromiumcodereview.appspot.com/13217004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191269 0039d316-1c4b-4281-b951-d872f2087c98
* Enable hiding/showing top controls persistentlydtrainor@chromium.org2013-03-281-3/+6
| | | | | | | | | | | | Pass down to the renderer whether or not we should allow showing the fullscreen controls as well as hiding. BUG=161303 Review URL: https://chromiumcodereview.appspot.com/12954003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191210 0039d316-1c4b-4281-b951-d872f2087c98
* Update sys_string_conversions includes in chrome_frame, content, net, and ui.brettw@chromium.org2013-03-288-8/+8
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/13004021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191172 0039d316-1c4b-4281-b951-d872f2087c98
* Modify content::GetFontTable so callers can control what is read.bbudge@chromium.org2013-03-281-62/+59
| | | | | | | | | BUG=79375 Review URL: https://chromiumcodereview.appspot.com/12844023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191152 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup of image transport surface creation.brettw@chromium.org2013-03-277-158/+128
| | | | | | | | | | | | This factors out the shared code for each platform into a cross-platform file, and just leaves the platform-specific native surfaces in the platform files. This renames the Linux file to X11 which is more specific to the use. BUG= Review URL: https://codereview.chromium.org/12619010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191037 0039d316-1c4b-4281-b951-d872f2087c98
* Implement on demand quad rasterization for PicturePiles.leandrogracia@chromium.org2013-03-273-0/+15
| | | | | | | | | BUG=173011 Review URL: https://chromiumcodereview.appspot.com/12642010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190969 0039d316-1c4b-4281-b951-d872f2087c98
* LoadTiming in net part 7: Hooking it all upmmenke@chromium.org2013-03-276-90/+105
| | | | | | | | | | | | | Use the new load timing implementation in net/ to replace LoadTimingObserver. This should fix reported times when using a SPDY proxy, and results in more heavily tested and (hopefully) less regression-prone code. BUG=77446 Review URL: https://chromiumcodereview.appspot.com/12094085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190955 0039d316-1c4b-4281-b951-d872f2087c98
* Pass the overdraw value to the browser w/ framedtrainor@chromium.org2013-03-261-0/+1
| | | | | | | | | | | | | We rely on the overdraw value to position some content, but there is usually one frame before the value we sent to the renderer comes back. Need to have the renderer pass the value back to us and rely on that when doing calculations in the browser process. BUG=221995, 222070 Review URL: https://chromiumcodereview.appspot.com/12623031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190629 0039d316-1c4b-4281-b951-d872f2087c98
* Add a |scope| argument to TRACE_EVENT_INSTANT* and require its presence.simonjam@chromium.org2013-03-262-1/+4
| | | | | | | | | | | | | | The scope indicates how long the vertical line should be in the tracing UI. It can be global (full screen), process or thread (fill those tracks), or local (the original style for INSTANT). BUG=None Review URL: https://chromiumcodereview.appspot.com/12252058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190577 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Modify content::GetFontTable to allow clients to control what is read."bbudge@chromium.org2013-03-251-59/+62
| | | | | | | | | | | | | This reverts commit 54d2b618ec3111192511d794d1195866e12b78f6. This caused a regression: https://code.google.com/p/chromium/issues/detail?id=223716 TBR=brettw@chromium.org BUG=223716 Review URL: https://codereview.chromium.org/13071008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190510 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Clean up a few more uses of USE_SKIAthakis@chromium.org2013-03-252-10/+0
| | | | | | | | | | | Likely also fixes a top-down-flipped bug with the in-process command buffer. BUG=110881 TBR=tony Review URL: https://codereview.chromium.org/12896006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190469 0039d316-1c4b-4281-b951-d872f2087c98
* TextureImageTransportSurface: Reuse TextureDefinitionsievers@chromium.org2013-03-242-89/+84
| | | | | | | | | | | | | | | | | | | | This passes around ownership of the TextureDefinition between mailbox manager and surface. It will make it easier to switch to a refcounted scheme for mailbox textures. I optimized Texture::Save()/Restore() just because when I first create the TextureDefinition in ImageTransportSurface, I do not have a TextureManager yet to figure out what the max. number of needed levels is. So I added a bunch of unit tests for that. BUG=181640,220561 Review URL: https://chromiumcodereview.appspot.com/12893006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190222 0039d316-1c4b-4281-b951-d872f2087c98
* NULL is not convertible to ProcessHandle (aka pid_t, aka int) in Mac 64.avi@chromium.org2013-03-241-1/+1
| | | | | | | | | | BUG=177744 TEST=more compilation Review URL: https://chromiumcodereview.appspot.com/12803013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190175 0039d316-1c4b-4281-b951-d872f2087c98
* Expose a concept of bottom overdraw amount for cc drawing viewport.tedchoc@chromium.org2013-03-241-1/+2
| | | | | | | | | | | | | | | When the physical output surface is larger than the visible viewport, we need to subtract the overdraw to ensure you can scroll to the full content of the page. Resizing the output surface is expensive on mobile devices, so we minimize resizes and deal with this size mismatch. BUG=161303, 221995 Review URL: https://chromiumcodereview.appspot.com/12437023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190142 0039d316-1c4b-4281-b951-d872f2087c98
* GPU: Merge the GpuChannel message filters.backer@chromium.org2013-03-242-112/+85
| | | | | | | | | | | | | The order that the filters were added to the GpuChannel mattered for correctness. This is non-obvious and dangerous from a maintenance perspective. So merge the filters into one. BUG=none Review URL: https://chromiumcodereview.appspot.com/12702034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190132 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Rename confusing ipc identifier variablesjsbell@chromium.org2013-03-233-105/+108
| | | | | | | | | | | | | | | | Follow-on from crrev.com/189674 - clear up confusing IPC ID names. Does the variable ipc_database_id hold the ID for a WebIDBDatabase or a WebIDBDatabaseCallback? Settle on: ids generated for... are called... * WebIDBCallbacks: ipc_callback_id * WebIDBDatabaseCallbacks: ipc_database_callbacks_id * WebIDBDatabase: ipc_database_id Review URL: https://chromiumcodereview.appspot.com/12634026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190101 0039d316-1c4b-4281-b951-d872f2087c98
* Add RenderWidgetHost::GetSnapshotFromRenderer method to content/ interface ↵justinlin@chromium.org2013-03-231-0/+8
| | | | | | | | | | | | | | | | for snapshotting for cases where we might not be able to use CopyFromBackingStore because the browser side can't access the backing store or accelerated surface due to driver issues or WinXP. Consolidate renderer-side snapshotting into that method and move clients (tabsApi, tabCapture and NTP) to the new method. Let the Linux CopyFromCompositingSurface always use this since the current one is incorrect if the tab is in the background or is covered by a window. Remove Linux-GTK snapshotting workarounds. BUG=188867, 174957, 132301 Review URL: https://codereview.chromium.org/12881005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189969 0039d316-1c4b-4281-b951-d872f2087c98