Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1183)

Side by Side Diff: chrome/browser/gtk/standard_menus.cc

Issue 165411: gtk: One more accelerator (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 GDK_b, GDK_CONTROL_MASK }, 81 GDK_b, GDK_CONTROL_MASK },
82 { MENU_SEPARATOR }, 82 { MENU_SEPARATOR },
83 { MENU_NORMAL, IDC_SHOW_HISTORY, IDS_SHOW_HISTORY, 0, NULL, 83 { MENU_NORMAL, IDC_SHOW_HISTORY, IDS_SHOW_HISTORY, 0, NULL,
84 GDK_h, GDK_CONTROL_MASK }, 84 GDK_h, GDK_CONTROL_MASK },
85 { MENU_NORMAL, IDC_SHOW_BOOKMARK_MANAGER, IDS_BOOKMARK_MANAGER, 0, NULL, 85 { MENU_NORMAL, IDC_SHOW_BOOKMARK_MANAGER, IDS_BOOKMARK_MANAGER, 0, NULL,
86 GDK_b, GDK_CONTROL_MASK | GDK_SHIFT_MASK }, 86 GDK_b, GDK_CONTROL_MASK | GDK_SHIFT_MASK },
87 { MENU_NORMAL, IDC_SHOW_DOWNLOADS, IDS_SHOW_DOWNLOADS, 0, NULL, 87 { MENU_NORMAL, IDC_SHOW_DOWNLOADS, IDS_SHOW_DOWNLOADS, 0, NULL,
88 GDK_j, GDK_CONTROL_MASK }, 88 GDK_j, GDK_CONTROL_MASK },
89 { MENU_SEPARATOR }, 89 { MENU_SEPARATOR },
90 // TODO(erg): P13N stuff goes here as soon as they get IDS strings. 90 // TODO(erg): P13N stuff goes here as soon as they get IDS strings.
91 { MENU_NORMAL, IDC_CLEAR_BROWSING_DATA, IDS_CLEAR_BROWSING_DATA }, 91 { MENU_NORMAL, IDC_CLEAR_BROWSING_DATA, IDS_CLEAR_BROWSING_DATA, 0, NULL,
92 GDK_Delete, GDK_CONTROL_MASK | GDK_SHIFT_MASK },
92 { MENU_NORMAL, IDC_IMPORT_SETTINGS, IDS_IMPORT_SETTINGS }, 93 { MENU_NORMAL, IDC_IMPORT_SETTINGS, IDS_IMPORT_SETTINGS },
93 { MENU_SEPARATOR }, 94 { MENU_SEPARATOR },
94 { MENU_NORMAL, IDC_OPTIONS, IDS_OPTIONS, IDS_PRODUCT_NAME }, 95 { MENU_NORMAL, IDC_OPTIONS, IDS_OPTIONS, IDS_PRODUCT_NAME },
95 { MENU_NORMAL, IDC_ABOUT, IDS_ABOUT, IDS_PRODUCT_NAME }, 96 { MENU_NORMAL, IDC_ABOUT, IDS_ABOUT, IDS_PRODUCT_NAME },
96 { 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 },
97 { MENU_SEPARATOR }, 98 { MENU_SEPARATOR },
98 { MENU_NORMAL, IDC_EXIT, IDS_EXIT, 0, NULL, GDK_q, 99 { MENU_NORMAL, IDC_EXIT, IDS_EXIT, 0, NULL, GDK_q,
99 GDK_CONTROL_MASK | GDK_SHIFT_MASK }, 100 GDK_CONTROL_MASK | GDK_SHIFT_MASK },
100 { MENU_END } 101 { MENU_END }
101 }; 102 };
(...skipping 10 matching lines...) Expand all
112 break; 113 break;
113 } 114 }
114 } 115 }
115 116
116 return standard_page_menu_materials; 117 return standard_page_menu_materials;
117 } 118 }
118 119
119 const MenuCreateMaterial* GetStandardAppMenu() { 120 const MenuCreateMaterial* GetStandardAppMenu() {
120 return standard_app_menu_materials; 121 return standard_app_menu_materials;
121 } 122 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698