Index: content/renderer/render_view_browsertest.cc |
diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc |
index 050662efc330fbaee1fc79d2e6bcea4b2a273457..d23cc556fe9b192f4c81c58539d1ec8136d84d93 100644 |
--- a/content/renderer/render_view_browsertest.cc |
+++ b/content/renderer/render_view_browsertest.cc |
@@ -521,16 +521,9 @@ TEST_F(RenderViewImplTest, OnSetTextDirection) { |
} |
} |
-#if defined(USE_AURA) |
-// crbug.com/103499. |
-#define MAYBE_OnHandleKeyboardEvent DISABLED_OnHandleKeyboardEvent |
-#else |
-#define MAYBE_OnHandleKeyboardEvent OnHandleKeyboardEvent |
-#endif |
- |
// Test that we can receive correct DOM events when we send input events |
// through the RenderWidget::OnHandleInputEvent() function. |
-TEST_F(RenderViewImplTest, MAYBE_OnHandleKeyboardEvent) { |
+TEST_F(RenderViewImplTest, OnHandleKeyboardEvent) { |
#if !defined(OS_MACOSX) |
// Load an HTML page consisting of one <input> element and three |
// contentediable <div> elements. |
@@ -638,7 +631,7 @@ TEST_F(RenderViewImplTest, MAYBE_OnHandleKeyboardEvent) { |
// driver is installed in a PC and the driver can assign a Unicode |
// charcter for the given tuple (key-code and modifiers). |
int key_code = kKeyCodes[k]; |
- std::wstring char_code; |
+ string16 char_code; |
if (SendKeyEvent(layout, key_code, modifiers, &char_code) < 0) |
continue; |
@@ -674,18 +667,11 @@ TEST_F(RenderViewImplTest, MAYBE_OnHandleKeyboardEvent) { |
#endif |
} |
-#if defined(USE_AURA) |
-// crbug.com/103499. |
-#define MAYBE_InsertCharacters DISABLED_InsertCharacters |
-#else |
-#define MAYBE_InsertCharacters InsertCharacters |
-#endif |
- |
// Test that our EditorClientImpl class can insert characters when we send |
// keyboard events through the RenderWidget::OnHandleInputEvent() function. |
// This test is for preventing regressions caused only when we use non-US |
// keyboards, such as Issue 10846. |
-TEST_F(RenderViewImplTest, MAYBE_InsertCharacters) { |
+TEST_F(RenderViewImplTest, InsertCharacters) { |
#if !defined(OS_MACOSX) |
static const struct { |
MockKeyboard::Layout layout; |
@@ -886,7 +872,7 @@ TEST_F(RenderViewImplTest, MAYBE_InsertCharacters) { |
// driver is installed in a PC and the driver can assign a Unicode |
// charcter for the given tuple (layout, key-code, and modifiers). |
int key_code = kKeyCodes[k]; |
- std::wstring char_code; |
+ string16 char_code; |
if (SendKeyEvent(layout, key_code, modifiers, &char_code) < 0) |
continue; |
} |