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

Side by Side Diff: ui/wm/core/visibility_controller.cc

Issue 194843004: Move files from ui/views/corewm to ui/wm/core (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/views/corewm/visibility_controller.h" 5 #include "ui/wm/core/visibility_controller.h"
6 6
7 #include "ui/aura/window.h" 7 #include "ui/aura/window.h"
8 #include "ui/aura/window_property.h" 8 #include "ui/aura/window_property.h"
9 #include "ui/compositor/layer.h" 9 #include "ui/compositor/layer.h"
10 #include "ui/views/corewm/window_animations.h" 10 #include "ui/wm/core/window_animations.h"
11 11
12 namespace views { 12 namespace views {
13 namespace corewm { 13 namespace corewm {
14 14
15 namespace { 15 namespace {
16 16
17 // Property set on all windows whose child windows' visibility changes are 17 // Property set on all windows whose child windows' visibility changes are
18 // animated. 18 // animated.
19 DEFINE_WINDOW_PROPERTY_KEY( 19 DEFINE_WINDOW_PROPERTY_KEY(
20 bool, kChildWindowVisibilityChangesAnimatedKey, false); 20 bool, kChildWindowVisibilityChangesAnimatedKey, false);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 window_->ClearProperty(kChildWindowVisibilityChangesAnimatedKey); 78 window_->ClearProperty(kChildWindowVisibilityChangesAnimatedKey);
79 } 79 }
80 80
81 void SetChildWindowVisibilityChangesAnimated(aura::Window* window) { 81 void SetChildWindowVisibilityChangesAnimated(aura::Window* window) {
82 window->SetProperty(kChildWindowVisibilityChangesAnimatedKey, true); 82 window->SetProperty(kChildWindowVisibilityChangesAnimatedKey, true);
83 } 83 }
84 84
85 } // namespace corewm 85 } // namespace corewm
86 } // namespace views 86 } // namespace views
87 87
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698