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

Unified Diff: ui/events/keycodes/keyboard_code_conversion_x.cc

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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
Index: ui/events/keycodes/keyboard_code_conversion_x.cc
diff --git a/ui/events/keycodes/keyboard_code_conversion_x.cc b/ui/events/keycodes/keyboard_code_conversion_x.cc
index ffda952974f78247a421b366aa0a60277b2eae3b..b21164e63385deb322baed849fc9eb807cbe4735 100644
--- a/ui/events/keycodes/keyboard_code_conversion_x.cc
+++ b/ui/events/keycodes/keyboard_code_conversion_x.cc
@@ -371,20 +371,6 @@ KeyboardCode KeyboardCodeFromXKeysym(unsigned int keysym) {
case XF86XK_Launch9:
return VKEY_F18;
-#if defined(TOOLKIT_GTK)
- case XF86XK_Refresh:
- case XF86XK_History:
- case XF86XK_OpenURL:
- case XF86XK_AddFavorite:
- case XF86XK_Go:
- case XF86XK_ZoomIn:
- case XF86XK_ZoomOut:
- // ui::AcceleratorGtk tries to convert the XF86XK_ keysyms on Chrome
- // startup. It's safe to return VKEY_UNKNOWN here since ui::AcceleratorGtk
- // also checks a Gdk keysym. http://crbug.com/109843
- return VKEY_UNKNOWN;
-#endif
-
// For supporting multimedia buttons on a USB keyboard.
case XF86XK_Back:
return VKEY_BROWSER_BACK;

Powered by Google App Engine
This is Rietveld 408576698