Chromium Code Reviews| Index: ui/base/models/separator_types.h |
| diff --git a/ui/base/models/separator_types.h b/ui/base/models/separator_types.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..599c418f28e03b39c2b0195cbea2e87702dc2ef9 |
| --- /dev/null |
| +++ b/ui/base/models/separator_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 UI_BASE_MODELS_SEPARATOR_TYPES_H_ |
| +#define UI_BASE_MODELS_SEPARATOR_TYPES_H_ |
| + |
| +namespace ui { |
| + |
| +// For a separator we have the following types. |
| +enum MenuSeparatorStyle { |
|
sky
2012/08/21 03:03:25
MenuSeparatorType.
Mr4D (OOO till 08-26)
2012/08/21 15:37:16
Done.
|
| + NO_SEPARATOR = 0, |
|
sky
2012/08/21 03:03:25
Can you remove this? If you keep it means AddSepar
Mr4D (OOO till 08-26)
2012/08/21 15:37:16
To keep it clean I was adding the NO_SEPARATOR. Bu
|
| + // Normal - top to bottom: Spacing, line, spacing |
| + NORMAL_SEPARATOR, |
| + // Upper - top to bottom: Line, spacing |
| + UPPER_SEPARATOR, |
| + // Lower - top to bottom: Spacing, line |
| + LOWER_SEPARATOR, |
| + // Spacing - top to bottom: Spacing only. |
| + SPACING_SEPARATOR |
| +}; |
| + |
| +} // namespace ui |
| + |
| +#endif // UI_BASE_MODELS_SEPARATOR_TYPES_H_ |