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

Unified Diff: chrome/browser/views/accelerator_table_gtk.h

Issue 235025: Use windows keycodes under linux (and all non-windows platforms). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/automation/ui_controls_linux.cc ('k') | chrome/browser/views/accelerator_table_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/accelerator_table_gtk.h
===================================================================
--- chrome/browser/views/accelerator_table_gtk.h (revision 27238)
+++ chrome/browser/views/accelerator_table_gtk.h (working copy)
@@ -5,16 +5,18 @@
#ifndef CHROME_BROWSER_VIEWS_ACCELERATOR_TABLE_GTK_H_
#define CHROME_BROWSER_VIEWS_ACCELERATOR_TABLE_GTK_H_
-#include <gtk/gtk.h>
+#include <stdio.h>
-// This contains the list of accelerators shared between the Linux Gtk and
-// toolkit_view implementation.
+// This contains the list of accelerators for the Linux toolkit_view
+// implementation.
namespace browser {
struct AcceleratorMapping {
- guint keyval;
+ int keycode;
+ bool shift_pressed;
+ bool ctrl_pressed;
+ bool alt_pressed;
int command_id;
- GdkModifierType modifier_type;
};
// The list of accelerators.
« no previous file with comments | « chrome/browser/automation/ui_controls_linux.cc ('k') | chrome/browser/views/accelerator_table_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698