Change PrivetLocalPrinterLister to list all printers

PrivetLocalPrinterLister will list all printers and indicate if they
support local printing. This CL is part of adding registion promos for
unregistered printers to the print preview.

BUG=326718

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239355 0039d316-1c4b-4281-b951-d872f2087c98
telemetry: Added schedule check to r_and_r_micro

This patch adds a check that a benchmark is successfully scheduled.
Without it, we may simply timeout which makes the problem harder
to diagnose.

R=ernstm@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239356 0039d316-1c4b-4281-b951-d872f2087c98
Add flag to enable print preview registration promos

Add flag to enable/disable registration promos in print preview.

BUG=326718

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239357 0039d316-1c4b-4281-b951-d872f2087c98
cc: Move manhattanDistance from tile priority to rect.

This patch moves TilePriority::manhattanDistance to
gfx::Rect::ManhattanInternalDistance. Associated unit tests
are moved as well.

R=enne, danakj

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239358 0039d316-1c4b-4281-b951-d872f2087c98
Measure time spent alt-tab cycling.

BUG=325229
TEST=Alt+tab, then find time recorded in chrome://histograms.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239359 0039d316-1c4b-4281-b951-d872f2087c98
Omnibox: Allow Shortcuts to Inline

BUG=324809

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239360 0039d316-1c4b-4281-b951-d872f2087c98
Remove mojo_shell_unittests from mojob.sh.

This target does not exist so do not attempt to run it from mojob.sh:

$ ./mojo/tools/mojob.sh test
...
./mojo/tools/mojob.sh: line 55: out/Debug/mojo_shell_unittests: No such
file or directory

BUG=None
TEST=see above
TBR=darin@chromium.org,viettrungluu@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239367 0039d316-1c4b-4281-b951-d872f2087c98
Removes unnecessary preferred_size change event.

This preferred_size change invokes re-layouting the whole bubble
which causes the layout error in a really complicated code path.

This PreferredSizeChanged() seems unnecessary at all.

BUG=314218
R=stevenjb@chromium.org
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239371 0039d316-1c4b-4281-b951-d872f2087c98
Wire up the UserAvatarImage cloud policy

This CL wires up the UserAvatarImage cloud policy so that UserManager
honors it by fetching and applying a policy-set image. The UI is also
made aware of the policy, closing the image picker shown after first
login when the policy is set and preventing the user from changing the
image via chrome://settings

BUG=152957,152959
TEST=Full browser test coverage

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239372 0039d316-1c4b-4281-b951-d872f2087c98
Fix "undefined" error messages in Chrome OS image editor.

Along the way, I removed the error ID concatenation 'GALLERY_' + error
that makes harder to grep.

BUG=326408

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239373 0039d316-1c4b-4281-b951-d872f2087c98
[rAC, OSX] Ensure proper sizing on browser resize.

Makes sure that -requestRelayout will result in -performLayout on the
next pass through the event loop, even if none of the views have been
marked as needing display.

This is necessary for resize based on browser window resizes - these
online invoke -requestRelayout, but don't modify the frame yet, to keep
window and view sizes in sync.

BUG=325518
R=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239374 0039d316-1c4b-4281-b951-d872f2087c98
For main thread event handling, if event causes
SetNeedsCommit, SetNeedsUpdateLayer or SetNeedsAnimate during
event processing, then it is considered to cause rendering and
its LatencyInfo is pushed into LayerTreeHost through
LatencyInfoSwapPromise.
    
For impl thread event handling, if event causes
SetNeedsRedraw or SetNeedsRedrawRect during event processing,
then it is considered to cause rendering and its LatencyInfo is
pushed into LayerTreeHostImpl through LatencyInfoSwapPromise.
    
BUG=246034, 271583
TEST=Manually tested on Pixel. The LatencyInfo for events that
causes impl/main thread scrolling are correctly passed to LTH/LTHI.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239375 0039d316-1c4b-4281-b951-d872f2087c98
rAc: support gesture events on views

BUG=311670

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239376 0039d316-1c4b-4281-b951-d872f2087c98
[sql] Recovery code for "Top Sites" database.

Port recovery code from thumbnail_database.cc to
top_sites_database.cc.  Also retry Init() in case the recovery code
fixes things (a quarter to a third of databases have problems detected
during open).

Extend sql::Recovery::AutoRecoverTable() to handle DOUBLE columns.

Abstract out sql::test::CorruptTableOrIndex() to ease writing
corruption tests.

IWYU pass on various files.

BUG=321852

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239377 0039d316-1c4b-4281-b951-d872f2087c98
rAc: Pay attention to more of gaia account struct in WalletItems response

BUG=323328

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239378 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: SimilarityTraits -> TypeConverter

Also Copy{From,To} -> Convert{From,To}.

R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239379 0039d316-1c4b-4281-b951-d872f2087c98
Implement memory-persistent registration

This simply provides an in-memory registration in ServiceWorkerContext. It provides basic registration/unregistration,
adding stub ServiceWorkerRegistry and ServiceWorkerVersion classes.

BUG=285976
TBR=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239380 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused can_update_layered_window member from HWNDMessageHandler.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239381 0039d316-1c4b-4281-b951-d872f2087c98
Don't hide generated card bubble on form submit.

R=estade@chromium.org
BUG=323334
TEST=unit_tests, no bubble hiding w/ form.onautocomplete = function(){ this.submit(); };

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

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