Fix issue with webview background painting.
commit824f7957f49de602c506ac8d6adce4b64918df09
authorcalamity <calamity@chromium.org>
Tue, 25 Nov 2014 01:45:00 +0000 (24 17:45 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Nov 2014 01:45:21 +0000 (25 01:45 +0000)
treedf69ee87469c3827646b42bd9579cd6721e65fc6
parent7168fa738febccd013dfd1d0aeb5cfb1cba4964f
Fix issue with webview background painting.

This CL fixes an issue with the background not being painted when hiding
the bookmark bar on the NTP. This was introduced by r304747 because the
WebContents does not have fast resize set at the time of the Paint() call,
causing the background to not be painted.

This CL restores the original behavior and allows clients to set the
color to paint into the background, which the app list sets as
transparent.

BUG=425444,435035

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

Cr-Commit-Position: refs/heads/master@{#305556}
chrome/browser/ui/app_list/app_list_view_delegate.cc
ui/views/controls/native/native_view_host.cc
ui/views/controls/native/native_view_host.h
ui/views/controls/webview/webview.cc
ui/views/controls/webview/webview.h