Update Desktop Capture API to use 'tabs.Tab' instead of origin.

When delegating access to desktop capture stream the API has origin
parameter. Problem is that with that approach Chrome didn't know which
tab the request is coming from, so it didn't assign dialog parent
appropriately. Replaced the origin parameter with a parameter of
tabs.Tab type, so now chrome knows which window should be parent
for the dialog.

Also converted interface defintion to JSON, becase IDL doesn't allow
refererencing types from other namespaces.

BUG=289781
R=mpcomplete@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228943 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 228943
Remove support for SK_CROP_RECT_IS_INT, now that it is no longer used in Blink.

BUG=
R=danakj

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

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