Use label for text on lock view

Using label for the text drawn on a lock view would simplify and speed
up the painting procedure and some custom setting for the text drawing.
This is part of a larger effort to remove direct calls to
Canvas::DrawStringRect().

BUG=940802

Change-Id: I165d390ba5ac75942ae59bd460b823865793b60b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532894
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Commit-Queue: Wei Li <weili@chromium.org>
Cr-Commit-Position: refs/heads/master@{#642741}
1 file changed