| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_VIEWS_STANDARD_MENUS_H_ | 5 #ifndef CHROME_VIEWS_STANDARD_MENUS_H_ |
| 6 #define CHROME_VIEWS_STANDARD_MENUS_H_ | 6 #define CHROME_VIEWS_STANDARD_MENUS_H_ |
| 7 | 7 |
| 8 class Menu; | 8 class Menu; |
| 9 class Profile; | 9 class Profile; |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 // The label id (an IDS_* value) | 27 // The label id (an IDS_* value) |
| 28 unsigned int label_id; | 28 unsigned int label_id; |
| 29 | 29 |
| 30 // An argument to GetStringF(menu_label_id, ...). When 0, the value of | 30 // An argument to GetStringF(menu_label_id, ...). When 0, the value of |
| 31 // menu_label_id is just passed to GetString(). | 31 // menu_label_id is just passed to GetString(). |
| 32 unsigned int label_argument; | 32 unsigned int label_argument; |
| 33 | 33 |
| 34 // If non-NULL, a pointer to the struct we're supposed to use | 34 // If non-NULL, a pointer to the struct we're supposed to use |
| 35 MenuCreateMaterial* submenu; | 35 MenuCreateMaterial* submenu; |
| 36 |
| 37 // A gdk keysym that is used to activate this item from outside the menu. |
| 38 unsigned int accel_key; |
| 39 |
| 40 // GDK modifiers for the menu items (i.e., shift, ctrl, etc). |
| 41 unsigned int accel_modifiers; |
| 36 }; | 42 }; |
| 37 | 43 |
| 38 // Returns the menu construction data structure for the page menu. | 44 // Returns the menu construction data structure for the page menu. |
| 39 const MenuCreateMaterial* GetStandardPageMenu(); | 45 const MenuCreateMaterial* GetStandardPageMenu(); |
| 40 | 46 |
| 41 // Returns the menu construction data structure for the app menu. | 47 // Returns the menu construction data structure for the app menu. |
| 42 const MenuCreateMaterial* GetStandardAppMenu(); | 48 const MenuCreateMaterial* GetStandardAppMenu(); |
| 43 | 49 |
| 44 #endif // CHROME_VIEWS_STANDARD_MENUS_H_ | 50 #endif // CHROME_VIEWS_STANDARD_MENUS_H_ |
| OLD | NEW |