Fix inconsistencies in left/top of app window bounds for non-native windows

AppWindowFrameView::GetWindowBoundsForClientBounds() and
CustomFrameView::GetWindowBoundsForClientBounds() shift the Y 
coordinate of the window bounds to ensure it is not negative.
This causes BaseNativeAppWindowViews::GetFrameInsets() to
compute the wrong insets.

Therefore we should leave the Y coordinate of the window bounds
negative in AppWindowFrameView::GetWindowBoundsForClientBounds()
and CustomFrameView::GetWindowBoundsForClientBounds().

BUG=346115
TEST=browser_tests (AppWindowBrowserTest.*)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254695 0039d316-1c4b-4281-b951-d872f2087c98
There are some functions in test_util.js used for waiting particular situations.
This CL converts the functions so that they just returns current conditions and
then the test extension checks the condition.

BUG=347024
TEST=run the test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254696 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254695
Bluetooth: notify user of incoming pairing requests

Implement a low-priority pairing delegate in the form of an Aura Status
Tray Notification Controller that displays a rich notification when an
incoming pairing request is received and allows the user to accept or
reject it when appropriate.

BUG=345535
TESTS=chromeos=1 on Linux presents fake pairing requests

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

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