Show an alert [allow/deny] when a website tries to connect to an app/extension
from an incognito tab when the app/extension hasn't been enabled for incognito
mode (that check box in chrome://extensions).

This follows a couple of rules: firstly, the app/extension must be spanning
mode incognito, otherwise we'd be starting up processes that we have no right
in starting (they should only be started iff the extension/app were enabled in
incognito mode). Secondly, the prompt only shows once per domain per incognito
session - the user choice is remembered until the profile is destroyed - and
since this is incognito-only, that's whenever the last window is closed.

BUG=305394

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230015 0039d316-1c4b-4281-b951-d872f2087c98
Make sure the top of the window is visible when a window is added.
Use correct work area when adjusting the bounds.

BUG=286302
TEST=covered by tests

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

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