Telemetry: Look for a page's display name when replaying it.

When recording a page, we identify it by its "display name" (name if it has one,
otherwise URL unless it's a file). When replaying a page, however, we always use
its URL to look up the correct WPR file. So pages with names cannot be found.

R=tonyg@chromium.org
BUG=344380

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252052 0039d316-1c4b-4281-b951-d872f2087c98
Moving the autofill enum from blink side to browser side

Removing the autofill enum from blink side and moving it to
browser side in components/autofill/core/common/autofill_enums.h.
This patch is only adding of enum in browser side. Removing of
enum from blink side is done in another patch.

BUG=302489
TBR=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252053 0039d316-1c4b-4281-b951-d872f2087c98
Add ApiCompatibilityUtils for setImageAlpha.

ImageView.setImageAlpha is available only since JB. Use setAlpha preJB.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252054 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash when .mhtml/.pdf files are opened from download shelf on Chrome OS.

BUG=344808

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252055 0039d316-1c4b-4281-b951-d872f2087c98
Pepper: Remove UNPROXIED_API.

UNPROXIED_API() no longer does anything. This change removes that macro, since
it serves no purpose.

BUG=
R=dmichael@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252056 0039d316-1c4b-4281-b951-d872f2087c98
Remove sync_integration_tests_run from chromium_swarm_tests.

All tests listed in chromium_swarm_tests are going to be run on the CI
infrastructure. Sadly, sync_integration_tests_run is currently failing on all
OSes, so commenting it out in the meantime until we focus on adding back more
tests.

R=csharp@chromium.org
BUG=157234
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252057 0039d316-1c4b-4281-b951-d872f2087c98
Remove --enablde-drive-v2-api flag.

This is a part of the flag clean up effort.
The flags is enabled by default for a while and working pretty well. We won't
go back any more.

BUG=344738

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252060 0039d316-1c4b-4281-b951-d872f2087c98
Fix PathUtilsTest.TestGetNativeLibraryDirectory in components=shared_library build.

BUG=325685
R=bulach@chromium.org, pliard@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252061 0039d316-1c4b-4281-b951-d872f2087c98
Catch EXCEPTION_IN_PAGE_ERROR errors in SafeGetImageInfo

It is ok for SafeGetImageInfo to fails to get the image info, so catch
exceptions instead of dying.

BUG=343925

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252062 0039d316-1c4b-4281-b951-d872f2087c98
Abstract IPC send out of PasswordGenerationManager

The IPC in question was in
PasswordGenerationManager::SendAccountCreationFormsToRenderer. This is now done
through PasswordManagerDriver.

Most of this patch was developed by vabr@chromium.org.

BUG=335028

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252063 0039d316-1c4b-4281-b951-d872f2087c98
Resubmit 'Refactor the TrayAudio code so that it can be used by other platforms.'

This resubmission fixes a memory leak that was causing ASAN bots to fail.

Original code review: https://codereview.chromium.org/163953007

BUG=227247
R=jennyz@chromium.org
TBR=jamescook, jennyz

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252064 0039d316-1c4b-4281-b951-d872f2087c98
Pull GN @ 252040, update calls

Updates all rebase_path calls to use the new parameter ordering.

Use the new getenv function and delete the Python script we had to get the home directory.

Takes advantage of the new ability to have the default value of declare_args blocks be dependent on other values. This simplifies some code.

R=scottmg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252065 0039d316-1c4b-4281-b951-d872f2087c98
Add support for GetHomeDir for Mac and Windows.

Unifies the Path Service's base::DIR_HOME on Posix and base::DIR_PROFILE on Windows to just be base::DIR_HOME everywhere, and DIR_HOME will now work on Mac.

This removes the AssertIOAllowed check in the Posix implementation because that was only executed in a fallback case that no developer is likely to ever hit. In addition, the we do call this type of function on the UI thread, so either we need to promote the assertion to be at the top of the function or delete it. It seemed unreasonable to disallow using this one key of the path service on the UI thread (the other ones are OK) so I just went for deleting the assertion.

R=benwells@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252066 0039d316-1c4b-4281-b951-d872f2087c98
rAc: partial revert of 251484 to show correct sections in views dialog.

R=estade@chromium.org
BUG=344693

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252067 0039d316-1c4b-4281-b951-d872f2087c98
Roll nss 246067:251855

Changes
r251855: Fix compilation of NSPR and NSPR for aarch64

BUG=314720
R=blundell@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252069 0039d316-1c4b-4281-b951-d872f2087c98
Remove --enable-per-tile-painting and --ui-enable-per-tile-painting.

The ui flag is always true on ChromeOS and off elsewhere. The other is
never on and we're not planning to turn it on.

R=piman@chromium.org, piman
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252070 0039d316-1c4b-4281-b951-d872f2087c98
Remove observer when switching from import overlay to create profile overlay.

Currently the observer is only removed if the overlay is closed.
Also remove it in case we switch to the create profile overlay.
This fixes an assertion.

BUG=344813
TEST=Switch between import overlay and create profile overlay.
TBR=pam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252071 0039d316-1c4b-4281-b951-d872f2087c98
Remove pp_ifdef from resource files in chrome/app/.

Generated using:
> cd src/chrome/app
> git grep -l pp_ifdef | xargs sed -i "s:pp_ifdef('\([^']\+\)'):\1:g"

BUG=343235
R=oshima@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252072 0039d316-1c4b-4281-b951-d872f2087c98
Make touch-action apply to double-tap zoom

Filter out GestureDoubleTap events on elements with touch-actions
other than auto. When GestureDoubleTap is being filtered out,
we also eliminate the tap delay.

BUG=337534
TEST=TouchActionFilterTest.DoubleTap,
  TouchActionFilterTest.DoubleTapWithTouchActionAuto

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

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