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

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

Issue 160084: Chaos geolocation demo, non-WebKit part. Base URL: http://src.chromium.org/svn/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 | « chrome/browser/gtk/infobar_gtk.cc ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | 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 15 matching lines...) Expand all
26 { MENU_END } 26 { MENU_END }
27 }; 27 };
28 28
29 struct MenuCreateMaterial developer_menu_materials[] = { 29 struct MenuCreateMaterial developer_menu_materials[] = {
30 { MENU_NORMAL, IDC_VIEW_SOURCE, IDS_VIEW_SOURCE, 0, NULL, 30 { MENU_NORMAL, IDC_VIEW_SOURCE, IDS_VIEW_SOURCE, 0, NULL,
31 GDK_u, GDK_CONTROL_MASK }, 31 GDK_u, GDK_CONTROL_MASK },
32 { MENU_NORMAL, IDC_DEV_TOOLS, IDS_DEV_TOOLS, 0, NULL, 32 { MENU_NORMAL, IDC_DEV_TOOLS, IDS_DEV_TOOLS, 0, NULL,
33 GDK_j, GDK_CONTROL_MASK | GDK_SHIFT_MASK }, 33 GDK_j, GDK_CONTROL_MASK | GDK_SHIFT_MASK },
34 { MENU_NORMAL, IDC_TASK_MANAGER, IDS_TASK_MANAGER, 0, NULL, 34 { MENU_NORMAL, IDC_TASK_MANAGER, IDS_TASK_MANAGER, 0, NULL,
35 GDK_Escape, GDK_SHIFT_MASK }, 35 GDK_Escape, GDK_SHIFT_MASK },
36 { MENU_NORMAL, IDC_API_PERMISSIONS_PANEL, IDS_API_PERMISSIONS_PANEL, 0, NULL,
37 GDK_Escape, GDK_CONTROL_MASK | GDK_SHIFT_MASK },
36 { MENU_END } 38 { MENU_END }
37 }; 39 };
38 40
39 struct MenuCreateMaterial standard_page_menu_materials[] = { 41 struct MenuCreateMaterial standard_page_menu_materials[] = {
40 { MENU_NORMAL, IDC_CREATE_SHORTCUTS, IDS_CREATE_SHORTCUTS }, 42 { MENU_NORMAL, IDC_CREATE_SHORTCUTS, IDS_CREATE_SHORTCUTS },
41 { MENU_SEPARATOR }, 43 { MENU_SEPARATOR },
42 { MENU_NORMAL, IDC_CUT, IDS_CUT, 0, NULL, GDK_x, GDK_CONTROL_MASK, true }, 44 { MENU_NORMAL, IDC_CUT, IDS_CUT, 0, NULL, GDK_x, GDK_CONTROL_MASK, true },
43 { MENU_NORMAL, IDC_COPY, IDS_COPY, 0, NULL, GDK_c, GDK_CONTROL_MASK, true }, 45 { MENU_NORMAL, IDC_COPY, IDS_COPY, 0, NULL, GDK_c, GDK_CONTROL_MASK, true },
44 { MENU_NORMAL, IDC_PASTE, IDS_PASTE, 0, NULL, GDK_v, GDK_CONTROL_MASK, true }, 46 { MENU_NORMAL, IDC_PASTE, IDS_PASTE, 0, NULL, GDK_v, GDK_CONTROL_MASK, true },
45 { MENU_SEPARATOR }, 47 { MENU_SEPARATOR },
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 break; 111 break;
110 } 112 }
111 } 113 }
112 114
113 return standard_page_menu_materials; 115 return standard_page_menu_materials;
114 } 116 }
115 117
116 const MenuCreateMaterial* GetStandardAppMenu() { 118 const MenuCreateMaterial* GetStandardAppMenu() {
117 return standard_app_menu_materials; 119 return standard_app_menu_materials;
118 } 120 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/infobar_gtk.cc ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698