Leak detection at content_shell

At the layout test, about:blank is loaded before and after one test. We're adding a method to count objects (https://codereview.chromium.org/132913003/) and using this at about:blank, and comparing the numbers of objects at about:blank, we can detect a leak. 

https://docs.google.com/a/chromium.org/document/d/1sFAsZxeISKnbGdXoLZlB2tDZ8pvO102ePFQx6TX4X14/edit# 

BUG=332630

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247209 0039d316-1c4b-4281-b951-d872f2087c98
Add a test for Pong frames with NULL data and fix.

Previously, passing a frame with NULL data to
WebSocketBasicStream::WriteFrames() could cause a crash.

This is a particular problem because WebSocketFrameParser creates frames with
NULL data when there is no payload. This is particularly common with Ping
frames. WebSocketChannel copies the original payload from a Ping message to the
Pong message, so if it is NULL it stays NULL.

Stop attempting to access the data for zero-size payload messages in
WebSocketBasicStream.

It appears that the tests for WebSocketDeflateStream already use NULL for empty
payloads and it is not vulnerable to this problem.

BUG=337868
TEST=net_unittests --gtest_filter=WebSocket*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247210 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Show "move window to xxx" menus in the gear menu.

BUG=336086
TEST=manually

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

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