Adding a WillCloseBrowser class method on profilers.

This adds a method to clean the profiler external states when the
browser stops.

BUG=307669
R=bulach@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229027 0039d316-1c4b-4281-b951-d872f2087c98
DCHECK data_length of ResourceMsg_DataReceived

It helps understanding what value is expected to come.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229028 0039d316-1c4b-4281-b951-d872f2087c98
Dont hide cursor when cmd key pressed on mac.

Cursor is hidden on key down, prevent this when the cmd key is held down.

R=avi@chromium.org
BUG=306521

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229029 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229028
list.js: Prevent the list from focusing to the bottom of the list

When the lead item was taken off the selected items, the last selected item became the new lead item. But this behaviour made the list scrolled to the last. With this patch, in such case, the nearest item becomes the new lead item instead. This fixes the issue of crbug.com/276827.

BUG=276827
TEST=manually tested
R=nkostylev@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229030 0039d316-1c4b-4281-b951-d872f2087c98
Cleaner SVG for shutdown icon.

BUG=297103

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

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