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

Side by Side Diff: ash/wm/overview/cleanup_animation_observer.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 months 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "ash/common/wm/overview/cleanup_animation_observer.h" 5 #include "ash/wm/overview/cleanup_animation_observer.h"
6 6
7 #include "ui/views/widget/widget.h" 7 #include "ui/views/widget/widget.h"
8 8
9 namespace ash { 9 namespace ash {
10 10
11 CleanupAnimationObserver::CleanupAnimationObserver( 11 CleanupAnimationObserver::CleanupAnimationObserver(
12 std::unique_ptr<views::Widget> widget) 12 std::unique_ptr<views::Widget> widget)
13 : widget_(std::move(widget)), owner_(nullptr) { 13 : widget_(std::move(widget)), owner_(nullptr) {
14 DCHECK(widget_); 14 DCHECK(widget_);
15 } 15 }
(...skipping 14 matching lines...) Expand all
30 void CleanupAnimationObserver::SetOwner(WindowSelectorDelegate* owner) { 30 void CleanupAnimationObserver::SetOwner(WindowSelectorDelegate* owner) {
31 owner_ = owner; 31 owner_ = owner;
32 } 32 }
33 33
34 void CleanupAnimationObserver::Shutdown() { 34 void CleanupAnimationObserver::Shutdown() {
35 widget_.reset(); 35 widget_.reset();
36 owner_ = nullptr; 36 owner_ = nullptr;
37 } 37 }
38 38
39 } // namespace ash 39 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overview/cleanup_animation_observer.h ('k') | ash/wm/overview/cleanup_animation_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698