diff options
author | ccameron <ccameron@chromium.org> | 2015-05-05 16:07:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-05 23:08:16 +0000 |
commit | e8c43faf256fb877d783287b347f8beb38b7495a (patch) | |
tree | 54ebd91f37e3f24b2af673c87a1b657a9bb6a834 /ui | |
parent | 0cf980df57c5251ad82d23e3e5d3cdc97950dc7e (diff) | |
download | chromium_src-e8c43faf256fb877d783287b347f8beb38b7495a.zip chromium_src-e8c43faf256fb877d783287b347f8beb38b7495a.tar.gz chromium_src-e8c43faf256fb877d783287b347f8beb38b7495a.tar.bz2 |
Mac: Ensure that web contents background matches theme
Have the TabContentsContainerView send the theme's background color down
to the WebContentsViewCocoa. Make the RenderWidgetHostViewCocoa be transparent,
so that the WebContentsViewCocoa which is always behind it shows.
Simplify the computation of the blended background color for the
TabContentsContainerView.
Also fix a bug in TabContentsController where calls to [self view] in dealloc
would cause the TabContentsContainerView to be lazily allocated (only to be
immediately destroyed). This was causing as this allocate-while-being-destroyed
arrangement was creating poorly defined states, which would now be tickled
more because of the calls to SetBackgroundColor that were inserted.
BUG=470669
Review URL: https://codereview.chromium.org/1124813002
Cr-Commit-Position: refs/heads/master@{#328427}
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions