summaryrefslogtreecommitdiffstats
path: root/ash/wm/window_properties.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/window_properties.cc')
-rw-r--r--ash/wm/window_properties.cc15
1 files changed, 13 insertions, 2 deletions
diff --git a/ash/wm/window_properties.cc b/ash/wm/window_properties.cc
index c1c33f0..04ecfd1 100644
--- a/ash/wm/window_properties.cc
+++ b/ash/wm/window_properties.cc
@@ -1,17 +1,28 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/wm/window_properties.h"
+#include "ash/wm/shadow_types.h"
+#include "ui/aura/window_property.h"
+
+DECLARE_WINDOW_PROPERTY_TYPE(ash::internal::ShadowType)
+
namespace ash {
namespace internal {
+namespace {
+
// Alphabetical sort.
-const char kShadowTypeKey[] = "ShadowType";
+const aura::WindowProperty<ShadowType> kShadowTypeProp = {SHADOW_TYPE_NONE};
+
+} // namespace
// Alphabetical sort.
+const aura::WindowProperty<ShadowType>* const kShadowTypeKey = &kShadowTypeProp;
+
} // namespace internal
} // namespace ash