diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 15:50:20 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 15:50:20 +0000 |
commit | 0f6e6627eb5fa4fdf7a1764be83e4372f24ca105 (patch) | |
tree | 1034ce545c7d3f6d288c18c41a7afee6751a7a5d /ui/views/view.cc | |
parent | 24895ae9ffc898935d5b2c1ea1ddb16ef59a8af1 (diff) | |
download | chromium_src-0f6e6627eb5fa4fdf7a1764be83e4372f24ca105.zip chromium_src-0f6e6627eb5fa4fdf7a1764be83e4372f24ca105.tar.gz chromium_src-0f6e6627eb5fa4fdf7a1764be83e4372f24ca105.tar.bz2 |
Makes Layer notify the delegate as the bounds change. This is needed
so that things that need the bounds (say the status bubble) can be
kept in sync with the actual bounds.
BUG=124482
TEST=covered by tests
R=piman@chromium.org,derat@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10524003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140769 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/view.cc')
-rw-r--r-- | ui/views/view.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/views/view.cc b/ui/views/view.cc index 631deec..7da3a3b 100644 --- a/ui/views/view.cc +++ b/ui/views/view.cc @@ -1234,6 +1234,10 @@ void View::OnDeviceScaleFactorChanged(float device_scale_factor) { // Repainting with new scale factor will paint the content at the right scale. } +base::Closure View::PrepareForLayerBoundsChange() { + return base::Closure(); +} + void View::ReorderLayers() { View* v = this; while (v && !v->layer()) |