Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: ui/aura/window.cc

Issue 8395046: Allows observers to be notified when layer animations complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/aura/window.h" 5 #include "ui/aura/window.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 break; 524 break;
525 } 525 }
526 526
527 return delegate_ ? this : NULL; 527 return delegate_ ? this : NULL;
528 } 528 }
529 529
530 void Window::OnPaintLayer(gfx::Canvas* canvas) { 530 void Window::OnPaintLayer(gfx::Canvas* canvas) {
531 delegate_->OnPaint(canvas); 531 delegate_->OnPaint(canvas);
532 } 532 }
533 533
534 void Window::OnLayerAnimationEnded(
535 const ui::LayerAnimationSequence* animation) {
536 }
537
538 } // namespace aura 534 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698