Tabs being screen-captured will fullscreen within their tab contents area.

Note: This change in behavior only applies when the --embed-flash-fullscreen experimental flag is enabled.

This change adds additional logic to FullscreenController to prevent the browser window from entering fullscreen if a tab is being screen-captured.  This allows the user to retain control of their desktop to work in other browser tabs or applications while the fullscreen view is displayed on a remote screen (e.g., a Chromecast receiver).

Furthermore, if a user switches to a different tab, FullscreenController will set the size of the hidden view to the video resolution of the capture.  This is both a quality and performance improvement as harmful scaling and letterboxing can be skipped.

BUG=256870
TEST=New FullscreenController state tests.  Ran all disabled FullscreenControllerInteractiveTests (in interactive_ui_tests).  Also confirmed all new functionality manually.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250872 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250872
Fixing M33 and M34 stable blocker crash with InsertAppLauncherItem

The problem appears to be that the function GetLastActiveWebContents returns a WebContents pointer to some content which got already deleted. (See comment from CL).

Note that this is only used in InsertAppLauncherItem to find the activity state. Note that this indicates that we could even get rid of that map and use app_id_to_web_contents to find if a tab is currently active. But again - keeping the CL small for the backport.

This seems to be the most secure and isolated for for M33 and 34 - I will create an issue to follow up on this the proper way.

BUG=341250
TEST=none (no test case known)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250874 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250874
Revert of Wire InstallFinished and add some InstallEvent.waitUntil tests (https://codereview.chromium.org/153553008/)

Reason for revert:
Suspect cause for failing content_browsertests:ServiceWorkerVersionBrowserTests

Original issue's description:
> Wire InstallFinished and add some InstallEvent.waitUntil tests
> 
> BUG=285976
> TEST=content_browsertests:ServiceWorkerVersionBrowserTest.Install*
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250804

TBR=alecflett@chromium.org,kinuko@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=285976

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250886 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250886
Use the same handle for checking and duplicating in DuplicateHandleProxy

BUG=338524
R=cpu@chromium.org
NOTRY=true

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250744

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250890 0039d316-1c4b-4281-b951-d872f2087c98
Restore screen work area after login

When user login, a new virtual keyboard is created. If the old virtual keyboard
was showing before user login, we need to notfiy keyboard bounds observers that
old virtual keyboard window occupy no space on screen. Otherwise, Ash still thinks
the work area should exclude virtual keyboard area even the keyboard is not showing.
This CL fixed the bug.

BUG=342524

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

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

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=166949:167046&mode=html
TBR=
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250893 0039d316-1c4b-4281-b951-d872f2087c98
Add missing 2x accessibility status icon.

BUG=321625
TEST=trybot
R=oshima@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250894 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250896 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250896
Disable an IndexedDBBrowserTestSingleProcess test on Android

Does not appear to be IndexedDB related, but something about setting
the kSingleProcess flag in a content_browsertest - although that does
not appear unique to this test.

NOTRY=true
R=aurimas@chromium.org
BUG=342525

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250898 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250898
device/bluetooth: Add abstract API definition for BluetoothGattDescriptor.

This CL defines the abstract class BluetoothGattDesciptor, which represents
remote and local GATT characteristic descriptors in the GATT API.

BUG=340525
TEST=Compile Chrome.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250899 0039d316-1c4b-4281-b951-d872f2087c98
Prompt for extension install on startup even when --force-app-mode is passed

This ensures that extensions installed with --install-from-webstore still show
an install prompt.

BUG=342949
TEST=See bug for repro
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250900 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250900
Add CachingFileSystem on top of CloudStorageFileSystem
to improve performance of the docserver, avoiding hit Cloud Storage
on every request.

BUG=343315
NOTRY=true

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

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