Get rid of even more Script::New calls in Chromium.

Script::Compile is the right way (see previous changes in
https://codereview.chromium.org/178663008 ).

R=jochen@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256538 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 256538
Properly disable background mode when deleting profiles.

Updated BackgroundModeManager to recalculate the background state when a
profile is removed - this avoids crashes where we are in background mode but
there are no background profiles.

Changed BackgroundApplicationListModel to complain if a caller forgets to
remove the observer before the model is destroyed. This would have caught
this bug much sooner had it been enabled.

BUG=346214

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256539 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 256539
Component extension url overrides should have lower priority.

If there is a component extension, and a user installed extension that both
override the same chrome url (e.g. chrome://bookmarks), then the user installed
extension should take precedence.

BUG=338068

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256540 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 256540
Remove command-line flags for OAuth scopes.

There is no reason why one would want to switch to alternate OAuth
scopes, because these are identifiers and not URLs to make requests
to.

BUG=chromium:350299
TBR=bauerb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256541 0039d316-1c4b-4281-b951-d872f2087c98
Correctly position IDR_THEME_FRAME_OVERLAY when the browser window is maximized

BUG=351353
TEST=Manual, see bug
R=jamescook
TBR=sky

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

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