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

Unified Diff: webkit/glue/event_conversion.cc

Issue 14113: Remove few more errors in mac scons build. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years 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 | « webkit/SConscript.port ('k') | webkit/glue/plugins/plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/event_conversion.cc
===================================================================
--- webkit/glue/event_conversion.cc (revision 6978)
+++ webkit/glue/event_conversion.cc (working copy)
@@ -151,6 +151,8 @@
return String(&c, 1);
}
+#if !defined(OS_MACOSX)
+// This function is not used on Mac OS X, and gcc complains.
static String GetKeyIdentifierForWindowsKeyCode(unsigned short keyCode) {
switch (keyCode) {
case VKEY_MENU:
@@ -253,6 +255,7 @@
return String::format("U+%04X", toupper(keyCode));
}
}
+#endif // !defined(OS_MACOSX)
MakePlatformKeyboardEvent::MakePlatformKeyboardEvent(const WebKeyboardEvent& e)
{
« no previous file with comments | « webkit/SConscript.port ('k') | webkit/glue/plugins/plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698