Incrementing VERSION to 38.0.2125.24

Cr-Commit-Position: refs/branch-heads/2125@{#98}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge: EasyUnlockCryptoDelegateChromeOS should not own EasyUnlockClient

The client is used by dbus client bundle.

BUG=404798

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

Cr-Commit-Position: refs/heads/master@{#290417}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290417 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit c492cb6d92e52b0489a93ec16aba5904b7896e7a)

TBR=tbarzic@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#99}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.25

Cr-Commit-Position: refs/branch-heads/2125@{#100}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge: Fix app list toggling causing app list to change position.

This CL fixes an issue where clicking the app list button would cause
the app list to move down. This was introduced by r289889.

BUG=404538

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

Cr-Commit-Position: refs/heads/master@{#290458}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290458 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 5fe7603bc84e85a57c996064f1744f2a06234c11)

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

Cr-Commit-Position: refs/branch-heads/2125@{#101}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge commit 291060 to the 2125 branch.

Media Galleries: Cache file info during a directory read to service incoming requests to get file info.

BUG=405710

Original Review URL: https://codereview.chromium.org/495433002

Cr-Commit-Position: refs/heads/master@{#291060}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291060 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 054e530f8e29db0a3be5724a40934a902910cd40)

TBR=thestig@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#102}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge: Move guest policy to M38

BUG=306322
TBR=mlerman@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291289}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291289 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 18363105e5bc6d8131833f70f2f1005b07b42aee)

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

Cr-Commit-Position: refs/branch-heads/2125@{#103}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge: Guest session operates irrespective of IncognitoModePrefs

Sanity DCHECK for IncognitoModePrefs skipped for guest profile.

BUG=395044
TBR=mlerman@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291425}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291425 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 5c4116414082b27cfa0c107b0dec3c04d372f01a)

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

Cr-Commit-Position: refs/branch-heads/2125@{#104}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Update font preference to use Noto Sans CJK on CrOS

Noto Sans CJK is a new set of CJK fonts released by Google and Adobe on
July 11. They have been developed with the harmony with Noto Sans (LGC)
to be used together. For CJK, we don't need to use licensed fonts, 3rd
party fonts, or Droid Sans Fallback any more.

While I'm at it, replace 'Open Sans' (that CrOS deviced do not have)
with 'Noto Sans UI' (the default UI font on CrOS for
Latin-Greek-Cyrillic) and remove a reference to 'Droid Sans Fallback'
(that is going to be removed in a separate CrOS CL).

This CL will go in after the CrOS CL to add Noto Sans CJK is landed. (  https://chromium-review.googlesource.com/212624 )

BUG=399080
TEST=Start CrOS in 4 CJK locales and see the fonts set (noto Sans CJK <lang>) here are used.
TBR=derat@chromium.org, sky@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#290138}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290138 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit db681ab00427e68df6ac524e711e6d13f7efff6f)

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

Cr-Commit-Position: refs/branch-heads/2125@{#105}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge 291409 "EasyUnlock: Only do Bluetooth detection for chromeos."

> Bluetooth detection on Mac triggers 500ms adapter polling and causes
> performance regression. Since Easy unlock is only offered on ChromeOS
> at the moment, disable Bluetooth detection for other platforms while
> the polling problem is investigated.

> BUG=404482,399067

> Review URL: https://codereview.chromium.org/498453002

> Cr-Commit-Position: refs/heads/master@{#291409}
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291409 0039d316-1c4b-4281-b951-d872f2087c98
> (cherry picked from commit f321453c15cefcad1f229046bb03bec00cd1e293)

TBR=xiyuan@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#106}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Disable Channel ID

BUG=406854
Bug: b/17177684

Enabling channel ID causes problems for apps that use multiple network
stacks (such as httpurlconnection and webview) or multiple webviews
and want to share cookies. Disable until we provide some solution.

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

TBR=sgurun@chromium.org

Cr-Commit-Position: refs/heads/master@{#291610}
(cherry picked from commit 3197cce8af19aca297a9acd3a8b8c75c8d64e9cf)

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

Cr-Commit-Position: refs/branch-heads/2125@{#107}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge "Reset gaia given name upon signout"

BUG=402050
TBR=guohui@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291419}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291419 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit d74846edce4493c5b6a87c01124cc037b8c86b52)

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

Cr-Commit-Position: refs/branch-heads/2125@{#108}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge: Use 'You' as profile name for a single signed profile whose gaia name is not available yet

BUG=399674
TBR=guohui@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291522}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291522 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 78186a4d876b87c708cf7313b81aef8340bc9f20)

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

Cr-Commit-Position: refs/branch-heads/2125@{#109}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
User Manager: fix text blurriness and "remove" button style

1. The text is blurry because we use a transform: scale3d(), which on non-retina
desktop Chrome is blurry. I assume there is a reason why CrOS chose a scale3d()
so I only made this change for the desktop.
2. This leads to a webkit bug (crbug.com/406529) where transforms and opacity
transitions do not play well together, so I've removed the opacity transition on
the action-area-box.

Also:
3. Fixed the focus style on the "remove user" button to not be the ugly blue
default but match the gmail style.

BUG=399683, 403784
TBR=noms@chromium.org
TEST=Start Chrome with -enable-new-avatar-menu. Click on "Switch person".
The profile names in the user manager should not be blurry, and hovering
over the pods should not be janky.

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

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

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

Cr-Commit-Position: refs/branch-heads/2125@{#110}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
[Merge] [Profiles] Update legacy default profile names.

In the new profile management world, you can find yourself using a super old
profile named by default "Default Profile". These names should be migrated to
the new style default names ("Person 1").

The code is fantastically special because the ProfileInfoCache re-sorts itself after
each rename, so doing a batch rename is really not a thing it wants to do.

BUG=406409
TBR=noms@chromium.org

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

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

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

Cr-Commit-Position: refs/branch-heads/2125@{#111}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
[Merge] [Win, Profiles] Changing your default avatar should not change your default name

Two things going wrong:
- the Windows new avatar button wasn't listening to avatar changes, so
its display would be out of sync with the avatar bubble
- when saving the avatar photo, this was also considered a name save
(even though the name wouldn't change), which made the default name an
explicit user decision (which it wasn't)

BUG=405750
TBR=noms@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291258}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291258 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 2aea4affaf668d4fcfb1109fab2d83b57cb3c1bb)

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

Cr-Commit-Position: refs/branch-heads/2125@{#112}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
aw: Avoid uncontrolled video context destruction

Since r289474, the sync factory nulls out the video context
which means the destruction is uncontrolled. Context
destruction is synchronous, so can cause deadlocks if there
are not webviews attached to view tree to run GL.

This is a rewrite of r289474 that just returns null
VideoContextProvider if no webview is ready to use it. But
still hold on to the reference to the context to avoid
destruction.

BUG=403882
TBR=boliu@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291527}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291527 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit cb81131b553176b309d89610f06d2b0534964d3b)

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

Cr-Commit-Position: refs/branch-heads/2125@{#113}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Fix spurious 1px scrolling.

In the case when the temporary_impl_bounds_ variable is set to
ComputeInnerViewportContainerSize() (which is device_viewport_size_ /
device_scale_factor()) the value should be rounded up, to match
ContentViewCoreImpl::GetViewportSizeDip(). The incorrect rounding
is causing the layer to be scrollable when the physical width
is not cleanly divisible by the dpi scale.

TBR=mkosiba
BUG=405580

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

Cr-Commit-Position: refs/heads/master@{#291035}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291035 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit a6d2ffe824c67836dea019cf82ed630de33f5231)

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

Cr-Commit-Position: refs/branch-heads/2125@{#114}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge: cc: fix content_to_screen_scale in UpdateTilePriorities.

Fix a coordinate system transformation in cc. This caused incorrect tile
prioritization and excessive pre-painting in GPU rasterization mode, leading
to performance problems.

Merging into M38 branch.

BUG=403829
TBR=matthewyuan@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#115}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.26

Cr-Commit-Position: refs/branch-heads/2125@{#116}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Only allow webrtc HW offload for H264 encode for extension process.

Add cmdline switch::kEnableWebRtcHWH264Encoding to control whether
to report WebRtc HW H264 encoding capability.

BUG=385941
R=xiyuan@chromium.org,kalman@chromium.org,posicak@chromium.org,jamesr@chromium.org
TBR=piman@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#292028}
(cherry picked from commit 44954d45ef230efdaa323a0e192caad55aac42a2)

Support for H264 HW offload for webRTC.

RTC video encoder and decoder now recognize H264 as a supported webrtc codec type.

For H264 encoder we are required to parse NALU information to correctly populate the RTP fragmentation header.

BUG=360262
TEST=trybot, manual testing see bug report
R=dalecurtis@chromium.org, posciak@chromium.org, wuchengli@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291466}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291466 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 268ac1aa539024aad8aba7ee44fef6195527b3af)

Fix compiling errors on v4l2_video_decode_accelerator.cc.

It was introduced by http://codereview.chromium.org/426873004/

BUG=406160
TEST=Run the VDA_Unittest on ARM CrOS device

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

Cr-Commit-Position: refs/heads/master@{#291372}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291372 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit e0a60ad2349c4eaded82a47cb5e6b06dbeb77177)

Pass decoded picture size from VDA to client

Some of the VDAs, like DXVA and AVDA, don't distinguish
between visible size and coded size. And given GVD is always
been used with container, we should keep using size from
config in GVD.

BUG=390048
TEST=Manually tested: flash player using youtube. html5
player with resolution 1280x720 and 1216x684, h264 and vp8.
apprtc with resolution 640x480 and 636x476. All tests are
performed on both daisy and link.
R=hshi@chromium.org, posciak@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291187}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291187 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 72de2f772735c0ffbe7b30c9887b6796ab50bb89)

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

Cr-Commit-Position: refs/branch-heads/2125@{#117}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}