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

Unified Diff: content/test/render_view_test.cc

Issue 8351009: Updating PageClickTracker to Notify listeners When Text Input Loses Focus. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixing included headers Created 9 years, 1 month 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 | « content/test/render_view_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/render_view_test.cc
diff --git a/content/test/render_view_test.cc b/content/test/render_view_test.cc
index 38df184614c1784c1aba94c7b45a90312b62a437..8fdf65610bdad20493517a357368d150000b8e6a 100644
--- a/content/test/render_view_test.cc
+++ b/content/test/render_view_test.cc
@@ -230,6 +230,11 @@ int RenderViewTest::SendKeyEvent(MockKeyboard::Layout layout,
void RenderViewTest::SendNativeKeyEvent(
const NativeWebKeyboardEvent& key_event) {
+ SendWebKeyboardEvent(key_event);
+}
+
+void RenderViewTest::SendWebKeyboardEvent(
+ const WebKit::WebKeyboardEvent& key_event) {
scoped_ptr<IPC::Message> input_message(new ViewMsg_HandleInputEvent(0));
input_message->WriteData(reinterpret_cast<const char*>(&key_event),
sizeof(WebKit::WebKeyboardEvent));
« no previous file with comments | « content/test/render_view_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698