Support for drawing a debug border around animated layers

This is the groundwork for showing a border around the
animation bounds of a layer. The animation bounds are the
bounds of the layer transformed to screen space where layers
that have an animation  instead transform by an "inflate"
step.

To follow, compute the animation bounds of layers when
needed.

+ Add debug rect code to show a lime green border around
  layers that have animation bounds.
+ Add --show-layer-animation-bounds that will enable the
  drawing of the green box.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239863 0039d316-1c4b-4281-b951-d872f2087c98
Add GetMinimumSize() for Labels and ensure it's zero for empty Links.

This requires auto-disabling focusability for empty links.  I also reordered the
overrides for Link to match the View declaration order.

This also requires some major reworking of StyledLabel, which previously assumed
all Links had a focus border, and to make layout easier just forced space for a
focus border on all children at all times, as well as always reserving space
itself.  I've changed this so StyledLabel lays out children correctly,
accounting for their focus borders, and only adds space for one itself if any
children have a focus border.  This eliminates the need for
Label::SetHasFocusBorder(), which only had one non-StyledLabel caller (who
didn't need it).

BUG=none
TEST=none
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239864 0039d316-1c4b-4281-b951-d872f2087c98
Linux sandbox: cleanup sandbox-bpf naming.

1. Rename playground2 namespace to sandbox.

The playground2 namespace is confusing and against the style guide.
We rename it to sandbox, like the rest of sandbox/linux/.

2. Rename the "Sandbox" class to "SandboxBPF".

BUG=325535
R=rsesek@chromium.org
TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239865 0039d316-1c4b-4281-b951-d872f2087c98
Add GetButtons() helper so callsites can stop reimplementing the same
conditional about which order the buttons are in.

Fix a leak that occurred when not showing the second button.

BUG=none
TEST=none
R=msw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239866 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix cc_perftests DenseBrowerUI

Continuation of https://codereview.chromium.org/77453012

EndTest() is called before TextureMailbox gets cleaned up, which causes the test
to crash in Debug.  This patch adds a clean-up stage to the test where
additional commits are queued to clean up the TextureMailbox.  Also moved
TextureMailbox creation to the main thread.

BUG=310218

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239867 0039d316-1c4b-4281-b951-d872f2087c98
DevTools: fix flaky DevToolsBeforeUnloadTest

This CL fixes flakiness in devtools beforeunload tests.
It was caused by the fact that hang timeout for renderer during processing beforeunload events was set to only 1 second, which was not enough from time to time.

Drive-by: ui_test_utils::WaitForAppModalDialog should check
for any existing modal before installing an observer (otherwise, it might wait forever)

BUG=323847,321673

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239868 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239868