[CrOS] Show extensions that can use file_handlers in Files app.

An earlier CL enabled file_handlers and chrome.app.runtime to be used
by whitelisted extensions:
https://codereview.chromium.org/265503003

This updates the Files app to show these extensions as handlers.

BUG=329587

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

Cr-Commit-Position: refs/heads/master@{#297367}
(cherry picked from commit 7ac54997a982364351f30c08a4f85f0bf821347a)

BUG=419617
TBR=yoshiki@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#64}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Add filter to prevent move operation in the same directory.

BUG=418014
TEST=manually
1. Open Files.app. Put a file name "test.txt" under /Downloads.
2. Start dragging the file, and drop to the blank area of the same
   directory (/Downloads).
3. Confirm to not start move operation.

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

Cr-Commit-Position: refs/heads/master@{#297354}
(cherry picked from commit 55f3eb10a5eb1e7a933607687fa036f57d634198)

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

Cr-Commit-Position: refs/branch-heads/2171@{#65}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Merge to M39: MSE: Relax H.264 Baseline mimetype profile recognition

This change lets "avc[13].42y0xx", where y >= 0x8 and xx is a valid
level, be an unambiguously matched H.264 Baseline profile. This relaxes
the previous requirement of a constrained baseline where y had to be
0xE.

CodecParameter | Before                            | Now
----------------------------------------------------------------------------------------------------
avc[13].42y0xx | probably if y==E, maybe otherwise | probably if y is in [89ABCDEF], maybe otherwise

BUG=408552
TBR=mmenke@chromium.org,qinmin@chromium.org,dalecurtis@chromium.org,xhwang@chromium.org
TEST=Updated MediaCanPlayTypeTest.CodecSupportTest_*

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

Cr-Commit-Position: refs/heads/master@{#298163}
(cherry picked from commit 0a0cad0dfcd0c8ea77352fb23bd2e955744355d5)

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

Cr-Commit-Position: refs/branch-heads/2171@{#66}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Previously Files.app uses navigationVolumeMap which is a map from devicePath to volumeId. When the notification saying "Open removable device" is clicked, Files.app finding corresponding volumeId from the map, and navigate to the volume.

Files.app: Remove navigationVolumeMap from the background page.

But if the background page once closed, the map is cleared and the app cannot
find the corresponding volume.

The CL adds devicePath field to VolumeInfo, and let the app find the
corresponding volume information directly without using the map.

BUG=419107
TEST=repro steps of the bug.
TBR=yoshiki

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

Cr-Commit-Position: refs/heads/master@{#297792}
(cherry picked from commit 86a0c99d060868dddfa4abaa42b990e03ac284d3)

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

Cr-Commit-Position: refs/branch-heads/2171@{#67}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Video Player: Update the design of cast menu.

BUG=417113
TEST=manually tested.
TBR=yoshiki@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297377}
(cherry picked from commit bdb453be60703048994273952b14eab901e8894b)

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

Cr-Commit-Position: refs/branch-heads/2171@{#68}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Fix for keyboard mic: set flag in AudioEntry so that we unregister.

We never unregistered an audio stream that were using keyboard mic channel, so we never inactivated the keyboard mic when no more streams were using it. This fixes it.

Fix for CL https://codereview.chromium.org/599443003/

BUG=418993

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

Cr-Commit-Position: refs/heads/master@{#297822}
(cherry picked from commit 0bfdfae40975dc873fb67634dec413890002f375)

TBR=xians@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#69}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Unload the video from the controller

The media should be detached from the controller when the media is unloaded. Because if the media is not detached from the controller, the controller doesn't know if the media is unloaded or not.

BUG=399170
TEST=manual
TBR=fukino@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297968}
(cherry picked from commit a6fd6ffe2b6fdad37aba33503ac50b4b4735caab)

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

Cr-Commit-Position: refs/branch-heads/2171@{#70}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
[Android] Try to fix menu crash with certain android versions

Certain versions apparently crash when pulling theme string information in TextView.
To attempt to fix this (since it's difficult to reproduce), try to revert the string
usage to the old version.

BUG=416692
TBR=aurimas@chromium.org
NOTRY=true
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#297859}
(cherry picked from commit 1d1c6977f86b10a64bb05dafe8a0f4406c4cdb8b)

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

Cr-Commit-Position: refs/branch-heads/2171@{#71}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
[Android] Attempt to fix further menu issues

Move to Theme.Holo.Light to try to avoid crash on certain devices

BUG=416692
NOTRY=true
TBR=aurimas@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297911}
(cherry picked from commit 13bc1520dbf5160cd36300681ec90d4d3dd3be3e)

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

Cr-Commit-Position: refs/branch-heads/2171@{#72}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
cc: Use visible_rect_for_tile_priority_ where approriate

|visible_rect_for_tile_priority_| was added for Android WebView to
replace content_visible_rect(). The latter may not always be valid for
in Android WebView for tile prioritization or activation considerations.

This partially reverts https://codereview.chromium.org/517893002

BUG=418834

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

Cr-Commit-Position: refs/heads/master@{#297659}
(cherry picked from commit 7473f7f5b1f5eec2c161bf26f0545e87e321da53)

TBR=boliu@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#73}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Revert "Move 'Extensions' to the main menu for settings-in-a-window"

This reverts commit 9dc76456d19bc4c1ada2c28cf0cc74911cc74581.
Original Review URL: https://codereview.chromium.org/511923002

BUG=407162
TBR=sky@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297722}
(cherry picked from commit 438a06beae2d4d4048d125c1d88fadbb136a1700)

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

Cr-Commit-Position: refs/branch-heads/2171@{#74}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Merging ca7e807424780 to branch 2171.

Add 4 Variations.SeedDateSkew.* histograms to analyze whether the system clock or the build time could be used as a long term expiry clock for very old variations seeds.

BUG=419622
TBR=gab

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

Cr-Commit-Position: refs/heads/master@{#297841}
(cherry picked from commit ca7e80742478074d6f96190c14f9b97e8eeba2ba)

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

Cr-Commit-Position: refs/branch-heads/2171@{#75}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Merge: [Easy Unlock] When hardlocking, show a different icon on user

The previous behaviour was to hide it.

Also, update some icon resources.

Note: this does not yet work well with easy signin.

BUG=406234
TBR=tbarzic@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297284}
(cherry picked from commit 98a07838b754c13f7269319e2bb35ab5edfcbc61)

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

Cr-Commit-Position: refs/branch-heads/2171@{#76}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Add checks to troubleshoopt crash in tray_user

BUG=404706
TBR=oshima@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297566}
(cherry picked from commit 272faab02156ff5ecc05e93029fc0466b2491053)

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

Cr-Commit-Position: refs/branch-heads/2171@{#77}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Incrementing VERSION to 39.0.2171.14

Cr-Commit-Position: refs/branch-heads/2171@{#78}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Mac: Try to align the new style profile button with the location bar.

When there is a fullscreen button to the right of the new style profile button,
align the profile button with the location bar (although it won't be aligned
when there are extension buttons).

BUG=414113

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

Cr-Commit-Position: refs/heads/master@{#297719}
(cherry picked from commit 618e1a78bf2be6ea17d20f21f457d57f79346b22)

Conflicts:
	chrome/browser/ui/cocoa/browser_window_layout.mm
	chrome/browser/ui/cocoa/browser_window_layout_unittest.mm

R=noms@chromium.org
TBR=rsesek@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#79}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Fix the user-visible size computation for the display settings.

BUG=419864
R=oshima@chromium.org
TBR=oshima@chromium.org
TEST=the new test case covers

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

Cr-Commit-Position: refs/heads/master@{#298091}
(cherry picked from commit 6d0b6b1671b6c201f221c4520c0ccfa91bbbd573)

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

Cr-Commit-Position: refs/branch-heads/2171@{#80}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Expand ETC1-power-of-two workaround to all SGX 5xx models.

This driver bug was also observed on a SGX 531, so extend the blacklist
matching.

NOTRY=true
BUG=414816

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

Cr-Commit-Position: refs/heads/master@{#298616}
(cherry picked from commit e3dc52eb147546a3715cd66d5080150a855791d7)

Conflicts:
	gpu/config/gpu_driver_bug_list_json.cc

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

Cr-Commit-Position: refs/branch-heads/2171@{#81}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Files.app: Refresh  metatada after the default task is changed

After the default task is changed, the metadata of visible entries should be refreshed but it wasn't. This patch fixes that.

BUG=411791
TEST=manually tested

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

Cr-Commit-Position: refs/heads/master@{#298192}
(cherry picked from commit 32fac5d2f38371e0973f3f96aa8acf3a9d840089)

TBR=hirono@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#82}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
aw: Do not cancel fallback tick on pipeline stall

This can cause a live lock if pipeline is stalled waiting for the
fallback tick. However we cannot skip invalidate to avoid drawing a bad
frame.

BUG=420702

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

Cr-Commit-Position: refs/heads/master@{#298369}
(cherry picked from commit 4aa98dc6f54564fa3a06128ff299ff7eefa9a946)

TBR=boliu@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#83}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}