| 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 #include "chrome/browser/gtk/standard_menus.h" | 5 #include "chrome/browser/gtk/standard_menus.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 #include <gdk/gdkkeysyms.h> | 8 #include <gdk/gdkkeysyms.h> |
| 9 | 9 |
| 10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 GDK_j, GDK_CONTROL_MASK }, | 89 GDK_j, GDK_CONTROL_MASK }, |
| 90 { MENU_SEPARATOR }, | 90 { MENU_SEPARATOR }, |
| 91 // TODO(erg): P13N stuff goes here as soon as they get IDS strings. | 91 // TODO(erg): P13N stuff goes here as soon as they get IDS strings. |
| 92 { MENU_NORMAL, IDC_CLEAR_BROWSING_DATA, IDS_CLEAR_BROWSING_DATA }, | 92 { MENU_NORMAL, IDC_CLEAR_BROWSING_DATA, IDS_CLEAR_BROWSING_DATA }, |
| 93 { MENU_NORMAL, IDC_IMPORT_SETTINGS, IDS_IMPORT_SETTINGS }, | 93 { MENU_NORMAL, IDC_IMPORT_SETTINGS, IDS_IMPORT_SETTINGS }, |
| 94 { MENU_SEPARATOR }, | 94 { MENU_SEPARATOR }, |
| 95 { MENU_NORMAL, IDC_OPTIONS, IDS_OPTIONS, IDS_PRODUCT_NAME }, | 95 { MENU_NORMAL, IDC_OPTIONS, IDS_OPTIONS, IDS_PRODUCT_NAME }, |
| 96 { MENU_NORMAL, IDC_ABOUT, IDS_ABOUT, IDS_PRODUCT_NAME }, | 96 { MENU_NORMAL, IDC_ABOUT, IDS_ABOUT, IDS_PRODUCT_NAME }, |
| 97 { MENU_NORMAL, IDC_HELP_PAGE, IDS_HELP_PAGE, 0, NULL, GDK_F1 }, | 97 { MENU_NORMAL, IDC_HELP_PAGE, IDS_HELP_PAGE, 0, NULL, GDK_F1 }, |
| 98 { MENU_SEPARATOR }, | 98 { MENU_SEPARATOR }, |
| 99 { MENU_NORMAL, IDC_EXIT, IDS_EXIT }, | 99 { MENU_NORMAL, IDC_EXIT, IDS_EXIT, 0, NULL, GDK_q, GDK_CONTROL_MASK }, |
| 100 { MENU_END } | 100 { MENU_END } |
| 101 }; | 101 }; |
| 102 } // namespace | 102 } // namespace |
| 103 | 103 |
| 104 const MenuCreateMaterial* GetStandardPageMenu() { | 104 const MenuCreateMaterial* GetStandardPageMenu() { |
| 105 return standard_page_menu_materials; | 105 return standard_page_menu_materials; |
| 106 } | 106 } |
| 107 | 107 |
| 108 const MenuCreateMaterial* GetStandardAppMenu() { | 108 const MenuCreateMaterial* GetStandardAppMenu() { |
| 109 return standard_app_menu_materials; | 109 return standard_app_menu_materials; |
| 110 } | 110 } |
| OLD | NEW |