Move MockPrinter to chrome/renderer/printing.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273447 0039d316-1c4b-4281-b951-d872f2087c98
NaCl: Update revision in DEPS, r13226 -> r13251

This pulls in the following Native Client changes:

r13227: (dyen) Standardized method to define extra substitution paths in toolchain_main.
r13228: (dschuff) Do not build PNaCl host toolchain with build.sh
r13229: (sbc) Add downloaded gn binaries to .gitignore
r13230: (dschuff) Remove cloud-bucket flag from PNaCl package_version update script
r13231: (bradnelson) Download spec2k to out instead of assuming it will be installed on the bots.
r13232: (dschuff) Make build.sh use the repository directories from toolchain/build
r13233: (jvoung) Download the spec harness on the rest of the spec bots.
r13234: (sehr) Disable conflicting sysroot= in chromium arm build
r13235: (kschimpf) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r13236: (kschimpf) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r13237: (dschuff) Update revision for PNaCl r13222->r13228
r13238: (kschimpf) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r13239: (mcgrathr) toolchain_build: Update gcc revision (4.8.3 release)
r13240: (mseaborn) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r13241: (noelallen) Add OWNERS per-file *.gn for noeallen and bradnelson
r13242: (noelallen) Untar raw toolchain and build cooked toolchain.
r13243: (mcgrathr) Update nacl_arm_newlib toolchain
r13244: (dyen) Toolchain build now displays solutions when an invalid repo is found.
r13245: (mseaborn) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r13246: (jvoung) Remove math intrinsics test workarounds for Mips now that QEMU is newer.
r13247: (dyen) Fixed newlib libc linker script outputted by toolchain_build.
r13248: (jfb) Update revision for PNaCl r13228->r13245
r13249: (jvoung) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS
r13250: (jvoung) Re-instate PNACL_PRUNE for translator binaries, and log full file size.
r13251: (jfb) Update revision for PNaCl r13245->r13250

BUG=none
TEST=browser_tests and nacl_integration

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273450 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 2019.0 to 2020.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273451 0039d316-1c4b-4281-b951-d872f2087c98
use origin instead of session_id in detecting duplicate EME permission request

The same origin can create a lot of sessions, using session id will generate a lot of duplicate permission requests from a single origin.
This change fixes the behavior by using the origin url.
It also removed the group_id in PermissionRequestId as it is no longer used.

BUG=373641

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273457 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Follow up change for disabling out-of-box VK overscroll (https://codereview.chromium.org/298373002/)

Reason for revert:
This CL broke VMTest on ChromiumOS bot:
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/21999
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/21999/steps/VMTest%20%28attempt%201%29/logs/stdio

Original issue's description:
> Follow up change for disabling out-of-box VK overscroll
> 
> Have to use CoreOobeActor through OobeUI since WebUILoginDisplay is not created during out-of-box.
> Removed changes in *LoginDisplay*.
> 
> BUG=363635
> R=ygorshenin@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273241

TBR=ygorshenin@chromium.org,nkostylev@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=363635

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273466 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Updating calls to offscreen buffers to use a size of (0,0) when they do not require an actual buffer (https://codereview.chromium.org/293293002/)

Reason for revert:
This CL broke VMTest on ChromiumOS bot:
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/21999
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/21999/steps/VMTest%20%28attempt%201%29/logs/stdio

See http://crbug.com/378430

Original issue's description:
> Updating calls to offscreen buffers to use a size of (0,0) when they do not require an actual buffer
> 
> These updates would enable the surfaceless context extension where available.
> 
> BUG=377497
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273225

TBR=kbr@chromium.org,dnicoara@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=377497,378430

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273467 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Update latest test crx. (https://codereview.chromium.org/300923004/)

Reason for revert:
This CL seems to cause a memory leak:
http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/1503
http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/1503/steps/browser_tests/logs/TypingTest

Original issue's description:
> Update latest test IME Inputview Keyboard crx and updates the test function accordingly.
> 
> BUG=
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273423

TBR=bshe@chromium.org,rsadam@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273468 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Revert of Follow up change for disabling out-of-box VK overscroll (https://codereview.chromium.org/301923002/)

Reason for revert:
Reverting incorrect revert.

Proper revert committed in
http://src.chromium.org/viewvc/chrome?view=rev&revision=273467

Original issue's description:
> Revert of Follow up change for disabling out-of-box VK overscroll (https://codereview.chromium.org/298373002/)
> 
> Reason for revert:
> This CL broke VMTest on ChromiumOS bot:
> http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/21999
> http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/21999/steps/VMTest%20%28attempt%201%29/logs/stdio
> 
> Original issue's description:
> > Follow up change for disabling out-of-box VK overscroll
> > 
> > Have to use CoreOobeActor through OobeUI since WebUILoginDisplay is not created during out-of-box.
> > Removed changes in *LoginDisplay*.
> > 
> > BUG=363635
> > R=ygorshenin@chromium.org
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273241
> 
> TBR=ygorshenin@chromium.org,nkostylev@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=363635
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273466

TBR=ygorshenin@chromium.org,tzik@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=363635

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273472 0039d316-1c4b-4281-b951-d872f2087c98
Print fully-qualified hostname to help debug issues with build1-a1 slave

TBR=cmp,navabi

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273474 0039d316-1c4b-4281-b951-d872f2087c98
Move away broken /b/build/slave/Android_Builder__dbg_ directory for debugging

TBR=cmp,navabi

BUG=378779

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273476 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 2020.0 to 2021.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273477 0039d316-1c4b-4281-b951-d872f2087c98
os.rename instead of shutil.move

TBR=cmp,navabi

BUG=378779

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273483 0039d316-1c4b-4281-b951-d872f2087c98
Also run builder hack if '/b/build/slave/Android_Builder__dbg_' exists

TBR=cmp,navabi

BUG=378779

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273484 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Fall back to X11 system tray icons if libappindicator is not available  (https://codereview.chromium.org/291893009/)

Reason for revert:
Suspected ASAN leak on the bots. 

http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/2617

Original issue's description:
> Fall back to X11 system tray icons if libappindicator is not available.
> 
> This CL also splits out the code wrt to handling the GTK menu for the app indicator icon out of app_indicator_icon.cc in order to share code with gtk2_status_icon.cc
> 
> BUG=267195
> TEST=Manual, see steps below.
> 1) Run chrome in a system which does not have libappindicator
> 2) Generate HTML 5 notifications via https://developer.cdn.mozilla.net/media/uploads/demos/e/l/elfoxero/c17223c414d8ddafb7808972b5617d9e/html5-notifications_1400214081_demo_package/index.html
> 3) Ensure that the bell icon shows up in the system tray and that clicking on the bell icon brings up the message center
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273337

TBR=erg@chromium.org,pkotwicz@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=267195

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273485 0039d316-1c4b-4281-b951-d872f2087c98
TSan: suppress a lock inversion in media::AudioRendererMixerInput::Play().

BUG=377420
TBR=scherkus@chromium.org
NOTRY=true
NOTREECHECKS=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273486 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Mac: Enable MultiprocessMessagePipeTest.PlatformHandlePassing.

This now passes; see r273367.

R=yzshen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273488 0039d316-1c4b-4281-b951-d872f2087c98
Turn GoogleURLTrackerNavigationHelper(Impl) into a per-tab object.

The goal of this CL is to eliminate the dependence of
GoogleURLTracker(MapEntry) on NavigationController. To accomplish this goal,
GoogleURLTrackerNavigationHelper is turned into a conceptually per-tab
interface. GoogleURLTracker::OnNavigationPending() now takes in the
GoogleURLTrackerNavigationHelper with which the navigation is associated rather
than the associated NavigationController; GoogleURLTracker performs per-tab
actions by calling the navigation helper associated with the tab.

A followup CL will turn GoogleURLTrackerNavigationHelper(Impl) into the
GoogleURLTrackerDriver interface and ContentURLTrackerDriver implementation.

BUG=373230

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273490 0039d316-1c4b-4281-b951-d872f2087c98
Add media size capability to PDF printer.

BUG=239879

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273491 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Cache browser finder.

It turns out we were creating one of these for nearly every unittest. This led
to a couple of problems:

1. Cycle time. With this patch, "tools/telemetry/run_tests Browser" is 20-25%
faster (195s -> 150s).
2. Spam. With this patch, we output many fewer warnings about missing flash.

This is a reland of https://codereview.chromium.org/240593005/ , which broke
the cros bots. This fixes that bug by no longer modifying the copy mechanism.

BUG=337829

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

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