cc: Added a trace event to capture gpu raterization time.

The new trace event will include time to setup gpu canvas.

BUG=334492

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247582 0039d316-1c4b-4281-b951-d872f2087c98
Remove detach_ as publicly exposed method of Event

BUG=324859

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247583 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247583
Fix the 17px dead region in the bottom right corner of top level browser windows.

This is a sideeffect of the fake WS_VSCROLL and WS_HSCROLL styles added to the window and us hiding the scrollbars
during sizing operations.

Bug does not exist on Windows 8. On Windows 7 hovering near the bottom right portion of the window where the vertical
scrollbar would be returns HTBOTTOMRIGHT instead of HTVSCROLL or HTHSCROLL which we already handle. This eventually results
in non client mouse messages like WM_NCMOUSEMOVE/WM_NCMOUSEDOWN being sent to the RWHA window which are ignored.

Attempted fix is to check in WM_NCHITTEST if the mouse coordinates are in the bottom portion of the window using metrics
like SM_CXVSCROLL/SM_CYVSCROLL/SM_CXSIZEFRAME/SM_CYSIZEFRAME and if yes convert the hittest code to HTCLIENT.

BUG=335487
R=sky@chromium.org, sky

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

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