| Index: ash/wm/dock/dock_edge_types.h
|
| diff --git a/ash/wm/dock/dock_edge_types.h b/ash/wm/dock/dock_edge_types.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1cac67731742485ecc9daf66b16628f1aad61307
|
| --- /dev/null
|
| +++ b/ash/wm/dock/dock_edge_types.h
|
| @@ -0,0 +1,25 @@
|
| +// 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.
|
| +
|
| +#ifndef ASH_WM_DOCK_DOCK_EDGE_TYPES_H_
|
| +#define ASH_WM_DOCK_DOCK_EDGE_TYPES_H_
|
| +
|
| +namespace ash {
|
| +
|
| +// Enum for bits that contain edges that a window can be stuck to.
|
| +// Multiple edges can be combined in a bitmask.
|
| +enum DockEdge {
|
| + DOCK_EDGE_NONE = 0,
|
| + DOCK_EDGE_LEFT = 1 << 0,
|
| + DOCK_EDGE_RIGHT = 1 << 1,
|
| + DOCK_EDGE_TOP = 1 << 2,
|
| + DOCK_EDGE_BOTTOM = 1 << 3,
|
| +};
|
| +
|
| +const uint32 kAllDockEdges =
|
| + DOCK_EDGE_LEFT | DOCK_EDGE_RIGHT | DOCK_EDGE_TOP | DOCK_EDGE_BOTTOM;
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_WM_DOCK_DOCK_EDGE_TYPES_H_
|
|
|