Ash Tray: ActionableView should only draw focus border when it has focus.

Per sky we should not be using PaintFocusPainter because TrayBackgroundView
overrides the GetFocusBounds() method. Instead we should just go back
to patch set #1 which only invokes OnPaintFocus if HasFocus() is true.

BUG=326240
TEST=trybot, manually verified on Chrome OS
R=mukai@chromium.org, sky@chromium.org, stevenjb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239072 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239072
The content api for shouldoverrideurlloading

Modify the content API to implement android_webview's
shouldoverrideurlloading.

BUG=308257

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239073 0039d316-1c4b-4281-b951-d872f2087c98
cc: Added tile bundles

This patch adds TileBundles to cc. Currently, in impl
side painting we work with Tiles. A PictureLayerTiling
creates enough tiles to cover its rect (and registers
them with the tile manager), then it updates the
priorities of each of the tile, and finally informs
TileManager to do its work. TileManager sorts and assigns
memory to tiles, and begins rasterization.

With TileBundles, the tiling creates TileBundles (initially
2x2 tiles) to contain tiles. Update tile priorities now
only happens on a per bundle basis. In the initial patch,
TileManager still pulls out each individual tile for
processing.

**** Note to Perf Sheriffs ****
This patch affects performance of several of cc_perftests:
- PictureLayerTilingPerfTest.Invalidate
   This test is expected to regress slightly, but not
   too much.
- PictureLayerTilingPerfTest.UpdateTilePriorities
   This test's performance should improve greatly.
- TileManagerPerfTest.ManageTiles
   This test _should_ remain roughly the same, but there
   might be some up or down as the result of the patch.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239074 0039d316-1c4b-4281-b951-d872f2087c98
Move more of the plugin code in the renderer to use RenderFrame instead of RenderView.

This is part of the work of making ContentRendererClient's OverrideCreatePlugin and CreatePluginReplacement take only a RenderFrame. I'm still not there yet, which is why their signatures haven't been trimmed.

BUG=304341
R=fsamuel@chromium.org, nasko@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239075 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239074
Add ContextMenu support upstream for Android

Move and rework the ContextMenu files upstream so they are built and reside in TabBase.

BUG=277135

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

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