diff options
Diffstat (limited to 'views/controls/menu/menu_2.h')
-rw-r--r-- | views/controls/menu/menu_2.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h index 1000d86..77ff3d0 100644 --- a/views/controls/menu/menu_2.h +++ b/views/controls/menu/menu_2.h @@ -1,9 +1,9 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this +// Copyright (c) 2010 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 CONTROLS_MENU_VIEWS_MENU_2_H_ -#define CONTROLS_MENU_VIEWS_MENU_2_H_ +#ifndef VIEWS_CONTROLS_MENU_MENU_2_H_ +#define VIEWS_CONTROLS_MENU_MENU_2_H_ #include "app/menus/menu_model.h" #include "base/scoped_ptr.h" @@ -16,6 +16,7 @@ class Point; namespace views { class NativeMenuGtk; +class View; // A menu. Populated from a model, and relies on a delegate to execute commands. // @@ -34,6 +35,7 @@ class Menu2 { virtual ~Menu2() {} // How the menu is aligned relative to the point it is shown at. + // The alignment is reversed by menu if text direction is right to left. enum Alignment { ALIGN_TOPLEFT, ALIGN_TOPRIGHT @@ -75,4 +77,5 @@ class Menu2 { } // namespace views -#endif // CONTROLS_MENU_VIEWS_MENU_2_H_ +#endif // VIEWS_CONTROLS_MENU_MENU_2_H_ + |