| Index: views/desktop/desktop_window_view.cc
|
| diff --git a/views/desktop/desktop_window_view.cc b/views/desktop/desktop_window_view.cc
|
| index 94fda7dd1b604da31ba8691f13659e02bbd84b37..9ad146c7bb3f7d60e5cdfbb7e8a2043c1fed6485 100644
|
| --- a/views/desktop/desktop_window_view.cc
|
| +++ b/views/desktop/desktop_window_view.cc
|
| @@ -269,5 +269,27 @@ NonClientFrameView* DesktopWindowView::CreateNonClientFrameView() {
|
| return NULL;
|
| }
|
|
|
| +////////////////////////////////////////////////////////////////////////////////
|
| +// ui::LayerAnimationObserver Implementation:
|
| +
|
| +void DesktopWindowView::OnLayerAnimationEnded(
|
| + const ui::LayerAnimationSequence* animation) {
|
| + // The layer, and all the observers should be notified of the
|
| + // transformed size of the desktop.
|
| + if (widget_) {
|
| + gfx::Rect current_bounds(widget_->GetClientAreaScreenBounds().size());
|
| + layer()->transform().TransformRect(¤t_bounds);
|
| + SetBoundsRect(gfx::Rect(current_bounds.size()));
|
| + }
|
| +}
|
| +
|
| +void DesktopWindowView::OnLayerAnimationScheduled(
|
| + const ui::LayerAnimationSequence* animation) {
|
| +}
|
| +
|
| +void DesktopWindowView::OnLayerAnimationAborted(
|
| + const ui::LayerAnimationSequence* animation) {
|
| +}
|
| +
|
| } // namespace desktop
|
| } // namespace views
|
|
|