From 48ce616af771249804667888297d0081b6b3e249 Mon Sep 17 00:00:00 2001 From: "jeremy@chromium.org" Date: Mon, 29 Dec 2008 18:55:18 +0000 Subject: * Bring up render_mesages.cc on POSIX. * Add Pickle::Read/WriteUint32 & ParamTraits. * Removed NSEvent from WebInputEvent since it appears not to be needed anymore. Review URL: http://codereview.chromium.org/16479 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7484 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/webinputevent.h | 6 ------ webkit/glue/webinputevent_mac.mm | 6 ------ 2 files changed, 12 deletions(-) (limited to 'webkit/glue') diff --git a/webkit/glue/webinputevent.h b/webkit/glue/webinputevent.h index e347cda..9a1c84d 100644 --- a/webkit/glue/webinputevent.h +++ b/webkit/glue/webinputevent.h @@ -11,7 +11,6 @@ #include #elif defined(OS_MACOSX) #include -#include #ifdef __OBJC__ @class NSEvent; @class NSView; @@ -70,11 +69,6 @@ class WebInputEvent { Type type; int modifiers; -#if defined(OS_MACOSX) - // For now, good enough for the test shell. TODO(avi): Revisit when we need - // to start sending this over an IPC pipe. - RetainPtr mac_event; -#endif }; // WebMouseEvent -------------------------------------------------------------- diff --git a/webkit/glue/webinputevent_mac.mm b/webkit/glue/webinputevent_mac.mm index e3f6af6..3090d96 100644 --- a/webkit/glue/webinputevent_mac.mm +++ b/webkit/glue/webinputevent_mac.mm @@ -89,8 +89,6 @@ WebMouseEvent::WebMouseEvent(NSEvent *event, NSView* view) { timestamp_sec = [event timestamp]; layout_test_click_count = 0; - - mac_event = event; // retains |event| } // WebMouseWheelEvent --------------------------------------------------------- @@ -130,8 +128,6 @@ WebMouseWheelEvent::WebMouseWheelEvent(NSEvent *event, NSView* view) { modifiers |= SHIFT_KEY; if ([event modifierFlags] & NSAlternateKeyMask) modifiers |= ALT_KEY; - - mac_event = event; // retains |event| } // WebKeyboardEvent ----------------------------------------------------------- @@ -964,6 +960,4 @@ WebKeyboardEvent::WebKeyboardEvent(NSEvent *event) { FillVectorFromNSString(&key_identifier, identStr); key_code = WebCore::windowsKeyCodeForKeyEvent(event); - - mac_event = event; // retains |event| } -- cgit v1.1