Simplify validation routines for writing an image to the clipboard.

BUG=319285

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237290

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238556 0039d316-1c4b-4281-b951-d872f2087c98
Add keyboard navigate for keyboard shortcuts for extensions overlay

'Tab' switches to next shortcut and 'Esc' cancels and clears shortcut.

R=finnur@chromium.org
BUG=315723
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238557 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238557
cc: Clip the damage rect for DelegatedRendererLayerImpl to bounds.

This prevents --show-paint-rects from showing a rect outside the
bounds of the layer, which is not meaningful.

R=piman
BUG=323049

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

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