| 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 "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 11 #include "chrome/app/chrome_dll_resource.h" | 12 #include "chrome/app/chrome_dll_resource.h" |
| 12 #include "chrome/common/l10n_util.h" | |
| 13 #include "grit/chromium_strings.h" | 13 #include "grit/chromium_strings.h" |
| 14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 struct MenuCreateMaterial zoom_menu_materials[] = { | 18 struct MenuCreateMaterial zoom_menu_materials[] = { |
| 19 { MENU_NORMAL, IDC_ZOOM_PLUS, IDS_ZOOM_PLUS, 0, NULL, | 19 { MENU_NORMAL, IDC_ZOOM_PLUS, IDS_ZOOM_PLUS, 0, NULL, |
| 20 GDK_KP_Add, GDK_CONTROL_MASK }, | 20 GDK_KP_Add, GDK_CONTROL_MASK }, |
| 21 { MENU_NORMAL, IDC_ZOOM_NORMAL, IDS_ZOOM_NORMAL, 0, NULL, | 21 { MENU_NORMAL, IDC_ZOOM_NORMAL, IDS_ZOOM_NORMAL, 0, NULL, |
| 22 GDK_KP_0, GDK_CONTROL_MASK }, | 22 GDK_KP_0, GDK_CONTROL_MASK }, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 }; | 98 }; |
| 99 } // namespace | 99 } // namespace |
| 100 | 100 |
| 101 const MenuCreateMaterial* GetStandardPageMenu() { | 101 const MenuCreateMaterial* GetStandardPageMenu() { |
| 102 return standard_page_menu_materials; | 102 return standard_page_menu_materials; |
| 103 } | 103 } |
| 104 | 104 |
| 105 const MenuCreateMaterial* GetStandardAppMenu() { | 105 const MenuCreateMaterial* GetStandardAppMenu() { |
| 106 return standard_app_menu_materials; | 106 return standard_app_menu_materials; |
| 107 } | 107 } |
| OLD | NEW |