Mac ÜC: Fix bugs encountered by presubmits
commitbd9998dfc48b59e562632aced9e605eed3d1d5b8
authorccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 24 Jun 2014 10:46:06 +0000 (24 10:46 +0000)
committerccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 24 Jun 2014 10:46:06 +0000 (24 10:46 +0000)
tree3601b4602f7cd446ddc98ea897ea7a9cb9b6bb86
parent58c08a690acfd6fba3498f5c6544541cfd9daa05
Mac ÜC: Fix bugs encountered by presubmits

Pipe latency info through the BrowerCompositorViewMac, so that the gpu
tests that use it for screenshots pass. Do this by adding an interface
BrowserCompositorViewClient, which informs the RenderWidgetHostViewMac
when the content is available for screenshot.

Remove the calls to -[BrowserCompositorViewMac layoutLayers], since
they don't do anything anymore (layers are correctly position by default
now that we use a flipped coordinate system).

Make -[SoftwareLayerMac setContentsToData] set the layer bounds of
the software layer directly, rather than doing that in layoutLayers.

Disable attempts at doing a smooth resize when there exists a browser
compositor, as that feature is not yet implemented.

BUG=314190

Review URL: https://codereview.chromium.org/337233004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279374 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/compositor/browser_compositor_view_mac.h
content/browser/compositor/browser_compositor_view_mac.mm
content/browser/renderer_host/render_widget_helper_mac.mm
content/browser/renderer_host/render_widget_host_view_mac.h
content/browser/renderer_host/render_widget_host_view_mac.mm
content/browser/renderer_host/software_layer_mac.mm