Index: content/test/render_view_test.cc |
=================================================================== |
--- content/test/render_view_test.cc (revision 109708) |
+++ content/test/render_view_test.cc (working copy) |
@@ -158,7 +158,10 @@ |
int key_code, |
MockKeyboard::Modifiers modifiers, |
std::wstring* output) { |
-#if defined(OS_WIN) |
+#if defined(USE_AURA) |
+ NOTIMPLEMENTED(); |
+ return L'\0'; |
+#elif defined(OS_WIN) |
// Retrieve the Unicode character for the given tuple (keyboard-layout, |
// key-code, and modifiers). |
// Exit when a keyboard-layout driver cannot assign a Unicode character to |
@@ -189,7 +192,7 @@ |
SendNativeKeyEvent(keyup_event); |
return length; |
-#elif defined(OS_LINUX) && !defined(USE_AURA) |
+#elif defined(OS_LINUX) |
// We ignore |layout|, which means we are only testing the layout of the |
// current locale. TODO(estade): fix this to respect |layout|. |
std::vector<GdkEvent*> events; |