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

Unified Diff: ash/wm/workspace/workspace.cc

Issue 11316245: Move VisibilityController to corewm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/window_properties.cc ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace.cc
===================================================================
--- ash/wm/workspace/workspace.cc (revision 170313)
+++ ash/wm/workspace/workspace.cc (working copy)
@@ -13,6 +13,7 @@
#include "ash/wm/workspace/workspace_layout_manager.h"
#include "ash/wm/workspace/workspace_manager.h"
#include "ui/aura/window.h"
+#include "ui/views/corewm/visibility_controller.h"
namespace ash {
namespace internal {
@@ -25,8 +26,7 @@
window_(new aura::Window(NULL)),
event_handler_(new WorkspaceEventHandler(window_)),
workspace_layout_manager_(NULL) {
- window_->SetProperty(internal::kChildWindowVisibilityChangesAnimatedKey,
- true);
+ views::corewm::SetChildWindowVisibilityChangesAnimated(window_);
SetWindowVisibilityAnimationTransition(window_, views::corewm::ANIMATE_NONE);
window_->set_id(kShellWindowId_WorkspaceContainer);
window_->SetName("WorkspaceContainer");
« no previous file with comments | « ash/wm/window_properties.cc ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698