// Copyright 2014 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_VIEWS_CONTROLS_MENU_MENU_TYPES_H_
#define UI_VIEWS_CONTROLS_MENU_MENU_TYPES_H_

namespace views {

// Where a popup menu should be anchored to for non-RTL languages. The opposite
// position will be used if base::i18n:IsRTL() is true. The BUBBLE flags are
// used when the menu should get enclosed by a bubble. Note that BUBBLE flags
// should only be used with menus which have no children. The Fixed flags are
// used for the menus that have a fixed anchor position.
enum MenuAnchorPosition {
  MENU_ANCHOR_TOPLEFT,
  MENU_ANCHOR_TOPRIGHT,
  MENU_ANCHOR_BOTTOMCENTER,
  MENU_ANCHOR_FIXED_BOTTOMCENTER,
  MENU_ANCHOR_FIXED_SIDECENTER,
  MENU_ANCHOR_BUBBLE_LEFT,
  MENU_ANCHOR_BUBBLE_RIGHT,
  MENU_ANCHOR_BUBBLE_ABOVE,
  MENU_ANCHOR_BUBBLE_BELOW
};

}  // namespace views

#endif  // UI_VIEWS_CONTROLS_MENU_MENU_TYPES_H_
