DevTools: Async call stacks for Promises and Object.observe.

BUG=272416, 356567
R=yurys, pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gamepad: make gamepad events play well with page visibility

This CL attempts to guarantee that we inform the page about every device
change and do it without sending events while the page is hidden.
For the first claim to be true we need to compare the current state with
the state the had the page had seen the last time when it was visible.
Note that the browser side might suspend the gamepad thread so simply
queuing the events is not enough.

R=bajones@chromium.org,abarth@chromium.org
BUG=386846

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Push API: pass along service worker provider during registration.

To be submitted after: https://codereview.chromium.org/330893003/
BUG=350377

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Give the Geolocation permission status enumeration a name.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177876 bbb929c8-8fbe-4397-9dbb-9b2b20218538