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

Unified Diff: ash/wm/visibility_controller.cc

Issue 10384212: fix property linkage warnings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/property_util.cc ('k') | ash/wm/window_properties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/visibility_controller.cc
diff --git a/ash/wm/visibility_controller.cc b/ash/wm/visibility_controller.cc
index b1cbcd54eeccb0983a9947ff53620a957cdd7bb4..3ed4bfce9bb3ffbe29c83b5040954f77f518c33f 100644
--- a/ash/wm/visibility_controller.cc
+++ b/ash/wm/visibility_controller.cc
@@ -6,29 +6,22 @@
#include "ash/shell.h"
#include "ash/wm/window_animations.h"
+#include "ash/wm/window_properties.h"
#include "ui/aura/window.h"
-#include "ui/aura/window_property.h"
#include "ui/compositor/layer.h"
-DECLARE_WINDOW_PROPERTY_TYPE(bool)
-
namespace ash {
-namespace internal {
-// Property set on all windows whose child windows' visibility changes are
-// animated.
-DEFINE_LOCAL_WINDOW_PROPERTY_KEY(
- bool, kChildWindowVisibilityChangesAnimatedKey, false);
-
namespace {
-
bool GetChildWindowVisibilityChangesAnimated(aura::Window* window) {
if (!window)
return false;
- return window->GetProperty(kChildWindowVisibilityChangesAnimatedKey);
+ return window->GetProperty(
+ internal::kChildWindowVisibilityChangesAnimatedKey);
}
-
} // namespace
+namespace internal {
+
VisibilityController::VisibilityController() {
aura::client::SetVisibilityClient(Shell::GetRootWindow(), this);
}
« no previous file with comments | « ash/wm/property_util.cc ('k') | ash/wm/window_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698