Index: ui/views/corewm/shadow_types.h |
=================================================================== |
--- ui/views/corewm/shadow_types.h (revision 167460) |
+++ ui/views/corewm/shadow_types.h (working copy) |
@@ -2,17 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef ASH_WM_SHADOW_TYPES_H_ |
-#define ASH_WM_SHADOW_TYPES_H_ |
+#ifndef UI_VIEWS_COREWM_SHADOW_TYPES_H_ |
+#define UI_VIEWS_COREWM_SHADOW_TYPES_H_ |
-#include "ash/ash_export.h" |
+#include "ui/aura/window.h" |
+#include "ui/views/views_export.h" |
namespace aura { |
class Window; |
} |
-namespace ash { |
-namespace internal { |
+namespace views { |
+namespace corewm { |
// Different types of drop shadows that can be drawn under a window by the |
// shell. Used as a value for the kShadowTypeKey property. |
@@ -22,10 +23,14 @@ |
SHADOW_TYPE_RECTANGULAR, |
}; |
-ASH_EXPORT void SetShadowType(aura::Window* window, ShadowType shadow_type); |
-ASH_EXPORT ShadowType GetShadowType(aura::Window* window); |
+VIEWS_EXPORT void SetShadowType(aura::Window* window, ShadowType shadow_type); |
+VIEWS_EXPORT ShadowType GetShadowType(aura::Window* window); |
-} // namespace internal |
-} // namespace ash |
+// A property key describing the drop shadow that should be displayed under the |
+// window. If unset, no shadow is displayed. |
+extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey; |
-#endif // ASH_WM_SHADOW_TYPES_H_ |
+} // namespace corewm |
+} // namespace views |
+ |
+#endif // UI_VIEWS_COREWM_SHADOW_TYPES_H_ |