1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_TYPES_H_
6 #define UI_VIEWS_CONTROLS_MENU_MENU_TYPES_H_
10 // Where a popup menu should be anchored to for non-RTL languages. The opposite
11 // position will be used if base::i18n:IsRTL() is true. The BUBBLE flags are
12 // used when the menu should get enclosed by a bubble. Note that BUBBLE flags
13 // should only be used with menus which have no children.
14 enum MenuAnchorPosition {
17 MENU_ANCHOR_BOTTOMCENTER,
18 MENU_ANCHOR_BUBBLE_LEFT,
19 MENU_ANCHOR_BUBBLE_RIGHT,
20 MENU_ANCHOR_BUBBLE_ABOVE,
21 MENU_ANCHOR_BUBBLE_BELOW
26 #endif // UI_VIEWS_CONTROLS_MENU_MENU_TYPES_H_