[Android] Allow specifying the progress component of the toolbar as a separate texture.
commita18c5707b6338c036bcd3057183a96c79988f339
authortedchoc <tedchoc@chromium.org>
Fri, 6 Mar 2015 23:06:53 +0000 (6 15:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 6 Mar 2015 23:07:38 +0000 (6 23:07 +0000)
treefec1f374198c23ea0e2d81af34109d6b0c7fad0b
parent97b833e5aeae69178c3c3088702addc88e65c747
[Android] Allow specifying the progress component of the toolbar as a separate texture.

The progress bar changes much more often than the contents of the toolbar, so
splitting the two will allow for cheaper updates to the toolbar texture.

BUG=461148

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

Cr-Commit-Position: refs/heads/master@{#319523}
chrome/android/java/src/org/chromium/chrome/browser/widget/SmoothProgressBar.java
chrome/browser/android/compositor/layer/tab_layer.cc
chrome/browser/android/compositor/layer/toolbar_layer.cc
chrome/browser/android/compositor/layer/toolbar_layer.h
ui/android/java/src/org/chromium/ui/resources/dynamics/ViewResourceAdapter.java