summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webinputevent_win.cc
Commit message (Collapse)AuthorAgeFilesLines
* DOM wheel scroll delta fix, Chromium side. This depends on the WebKit side ↵pkasting@chromium.org2009-03-161-1/+6
| | | | | | | | changes and can't be committed without first landing them and adding DEPS to this. Review URL: http://codereview.chromium.org/48037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11801 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-111-1/+0
| | | | | | | | | Normalize end of file newlines in webkit/. All files end in a single newline. Review URL: http://codereview.chromium.org/42070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11443 0039d316-1c4b-4281-b951-d872f2087c98
* Fix horizontal scrolling to not be reversed on tilt wheel mice and old ↵pkasting@chromium.org2009-03-101-6/+8
| | | | | | | | | Thinkpads. BUG=8590 Review URL: http://codereview.chromium.org/43049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11395 0039d316-1c4b-4281-b951-d872f2087c98
* RenderWidgetHost now only accepts a new NativeWebKeyboardEvent which owns a ↵erg@google.com2009-03-061-5/+0
| | | | | | | | | | | | | copy of the native os event. Only the WebKeyboardEvent is sent over the IPC barrier, but the full structure passed to the unhandled key event handler. BUG=4772 Review URL: http://codereview.chromium.org/40065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11152 0039d316-1c4b-4281-b951-d872f2087c98
* Convert from line scrolling to pixel scrolling. Increase pixel scroll ↵pkasting@chromium.org2009-03-061-6/+17
| | | | | | | | | | | amount on Windows. See also https://bugs.webkit.org/show_bug.cgi?id=24407 . BUG=6172 Review URL: http://codereview.chromium.org/40241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11151 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Various fixes to mouse wheel scrolling:pkasting@chromium.org2009-03-051-97/+65
| | | | | | | | | | | | | * Now that WebCore uses floating-point scroll deltas, eliminate complicated carryover code and just use simple floating-point arithmetic when calculating scroll delta. * Now that WebCore supports scrolling by page, plumb this instead of using a hacky "10 times the normal scroll amount" constant. * Don't pretend shift was down when it wasn't (e.g. WM_MOUSEHWHEEL). * Use SPI_GETWHEELSCROLLCHARS for horizontal scrolling, per MSDN. * Fix horizontal scrolling to be "scroll down to go right" as the comment said (behavior was backwards) * Clean up code. * Reorder Mac/Linux code to match Windows code ordering. Review URL: http://codereview.chromium.org/40135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10959 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing WebKeyboardEvent.avi@chromium.org2009-03-041-8/+22
| | | | | | Review URL: http://codereview.chromium.org/39075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10918 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 10794.avi@chromium.org2009-03-031-22/+8
| | | | | | Review URL: http://codereview.chromium.org/40027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10808 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing WebKeyboardEvent. Third time's the charm.avi@chromium.org2009-03-031-8/+22
| | | | | | Review URL: http://codereview.chromium.org/27332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10794 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting key change (again); this breaks every keyboard layout test there ↵avi@chromium.org2009-02-261-21/+8
| | | | | | | | is. Will fix and recommit. Review URL: http://codereview.chromium.org/28186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10469 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing WebKeyboardEvent. For reals this time.avi@chromium.org2009-02-261-8/+21
| | | | | | | A recommit of http://codereview.chromium.org/27056 . Review URL: http://codereview.chromium.org/28136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10464 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fixing WebKeyboardEvent."kuchhal@chromium.org2009-02-251-21/+6
| | | | | | | Review URL: http://codereview.appspot.com/21071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10362 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing WebKeyboardEvent.avi@chromium.org2009-02-251-6/+21
| | | | | | Review URL: http://codereview.chromium.org/27056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10360 0039d316-1c4b-4281-b951-d872f2087c98
* Get 6 more layout tests passing.finnur@google.com2009-02-061-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems at some point we disabled the platform test folder entirely in order to disable some Mac specific tests and in the process disabled some Windows tests because they appear in a sub-folder of the platform folder. This change makes us pass 6 more tests from platform/win/fast/events/, tests which needed the function dispatchMessage (and a few properties) added to TestShell. I also implemented the IS_NUMPAD modifier on the Keyboard event. A good test that relies on dispatchMessage, the properties and the NumPad detection is: LayoutTests\platform\win\fast\events\keyLocation-numpad.html. Note: This folder also contains... LayoutTests/platform/win/editing/shift-page-up-down.html ... which was added to the defer list for now. Review URL: http://codereview.chromium.org/21113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9316 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a regression caused by my change r5095.hbono@chromium.org2008-11-121-0/+11
| | | | | | | This change fixes a regression problem caused by my change r5095. ThinkPad touchpads (or trackpoints) send WM_HSCROLL messages and we still need a hack for WM_HSCROLL messages. Review URL: http://codereview.chromium.org/10295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5254 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a UMR in MakePlatformWheelEvent().ericroman@google.com2008-11-111-2/+0
| | | | | | | | | The problem is that WebMouseWheelEvent(HWND, UINT, WPARAM, LPARAM) does not initialize "modifiers". Moved the initialization into base class to avoid the same mistake in the future. Review URL: http://codereview.chromium.org/9766 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5165 0039d316-1c4b-4281-b951-d872f2087c98
* Implements a WM_MOUSEHWHEEL message handler.hbono@chromium.org2008-11-101-12/+4
| | | | | | | | A change r2266 removed fake scroll bars used to handle WM_MOUSEWHEEL messages. This change prevents Windows from sending WM_HSCROLL messages when tilting a mouse wheel (Windows sends WM_HSCROLL messages only to a window which has scroll bars.) and this causes a regression problem that we cannot use tilt-wheel to scroll horizontally. To solve this problem, this change implements a WM_MOUSEHWHEEL (0x020E) message handler to dispatch tilt-wheel events to the RenderWidgetHostViewWin::OnWheelEvents() function. Also, It changes scroll direction in creating a WebMouseWheelEvent instance. Review URL: http://codereview.chromium.org/9319 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5095 0039d316-1c4b-4281-b951-d872f2087c98
* Fix scrolling when mouse wheel is set to scroll a page.joshia@google.com2008-10-231-7/+11
| | | | | | | | Bug=1520 Review URL: http://codereview.chromium.org/7929 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3870 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebKeyboardEvent::key_data because we don't actually use ittc@google.com2008-10-211-2/+0
| | | | | | | | anymore. This makes WebKeyboardEvent easier to port to other platforms. Review URL: http://codereview.chromium.org/8026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3692 0039d316-1c4b-4281-b951-d872f2087c98
* Mac-ify webinputeventavi@google.com2008-08-261-0/+304
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1382 0039d316-1c4b-4281-b951-d872f2087c98