summaryrefslogtreecommitdiffstats
path: root/views/events
Commit message (Collapse)AuthorAgeFilesLines
* aura: Add support for touch events.sadrul@chromium.org2011-10-173-56/+19
| | | | | | | | | | | | | | Among the changes: . Add touch event handling in EventFilter. Be default, activates a window on TOUCH_START (like for MOUSE_PRESSED). . Move TouchEvent details functions into ui/. Moved the X11 implementations from views/ to ui/. NOTIMPLEMENTED on windows. . Disable RWHVAura et. al. for touchui for now (they are still compiled in, but not used). BUG=100269 TEST=none Review URL: http://codereview.chromium.org/8274025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105816 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the KeyEvent unit test failure due to the aura implementation of ↵jennyz@chromium.org2011-10-141-1/+4
| | | | | | | | | | | | GetUnmodifiedCharacter(). BUG=99129 TEST=NONE Review URL: http://codereview.chromium.org/8286006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105549 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Fix mouse wheel events.sadrul@chromium.org2011-10-121-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8234020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104987 0039d316-1c4b-4281-b951-d872f2087c98
* Preliminary InputMethod support for NativeWidgetAuraoshima@chromium.org2011-10-071-1/+1
| | | | | | | | | | | | | | This should enable key events on aura. This needs more work to get real IME working. Disable first run dialog on aura. This doesn't work and don't need now. BUG=97261, 99439 TEST=type in omnibox on aura build Review URL: http://codereview.chromium.org/8183011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104486 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix for NativeTextfieldViewsTest on win aura.msw@chromium.org2011-10-062-5/+3
| | | | | | | | | | | | | | | Initialize KeyEvent::character_ for synthesized events. Mark linux FAILS_/DISABLED_ (crbug.com/99128 & crbug.com/97845). The key_code/[unmodified_]/character code seems overly complex / platform-dependent. Hopefully yusukes or I can simplify and consolidate it a bit later. BUG=99128 TEST=NativeTextfieldViewsTest.* pass on win aura, correct expectations on linux [aura]. Review URL: http://codereview.chromium.org/8150001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104352 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate ui::NativeEvent and base::NativeEventoshima@google.com2011-10-053-4/+4
| | | | | | | | | | | Note: I didn't add Wayland version of NativeEvent because the type is defined in ui, which base shouldn't depend on. I looked at the original CL and this typedef in message_pump_wayland seems to be added after reviewer gave LGTM. BUG=none TEST=none Review URL: http://codereview.chromium.org/8113028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104123 0039d316-1c4b-4281-b951-d872f2087c98
* Marks a number of tests as FAILS for aura. I filed bugs on the two keysky@chromium.org2011-10-051-2/+11
| | | | | | | | | | | | | | | | | areas, I plan on immediately fixing the widget one which is why I didn't file a bug. Hopefully when we get bots actually building and running tests, these changes will make them green. TBR since this is just marking tests FAILS. BUG=99129 99128 TEST=none TBR=ben@chromium.org R=ben@chromium.org Review URL: http://codereview.chromium.org/8142022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104098 0039d316-1c4b-4281-b951-d872f2087c98
* Copy gdk_event_ in class Eventstevenjb@google.com2011-09-301-0/+3
| | | | | | | | | | | Change-Id: Ie68832491806e0414193b445cdd5a5e02313ea08 BUG=chromium-os:21063 TEST=See issue (dragging panel on ChromeOS shouldn't crash) Review URL: http://codereview.chromium.org/8095014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103591 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: Convert XI2 MT tracking id to slot id.sadrul@chromium.org2011-09-281-12/+33
| | | | | | | | | | | | | | | The slot id mapped from tracking id is used as the touch id, and the gesture recognizer expects touch points to always start from 0. Patch from: Ningxin Hu <ningxin.hu@intel.com> (http://codereview.chromium.org/7927001/) BUG=95150 TEST=manually (touch-drag to scroll webpage, tap to click link) Review URL: http://codereview.chromium.org/8070003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103122 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: Fix --touch-devices flag.sadrul@chromium.org2011-09-271-1/+4
| | | | | | | | | | | | This fixes the --touch-devices command-line flag, which can be used to create touch-events from a normal mouse device. BUG=none TEST=none Review URL: http://codereview.chromium.org/8048015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102936 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate/cleanup event cracking code; single out GdkEvents; saves ~850 lines.msw@chromium.org2011-09-269-1126/+281
| | | | | | | | | | | | | | | | | | | | | Move ui::NativeEvent typdefs and common functions to ui/base/events.h. Remove NativeEvent2 typedef, single out GdkEvent* uses that should be removed. Implement platform specific ui/base/[platform]/events_[platform].cc. Revise views::NativeEvent definitions (to support Aura abstraction). Consolidate Event[Type/Flags/Location]FromNative(), GetMouseWheelOffset(), etc. Remove GetRepeatCount(), GetWindowsFlags(), IsExtendedKey(), etc. Add IsMouseEvent(), KeyboardCodeFromNative(), EF_EXTENDED flag, etc. Localize GetFlagsFromGdkEvent(), move some file locals to new helpers files. Move views/touchui/touch_factory.h|cc to ui/base/touch. Stop mixing Windows mouse events' MK_*BUTTON into their wParams. BUG=93945 TEST=No build breaks (many configs...), no mouse/key behavior changes. Review URL: http://codereview.chromium.org/7942004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102815 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: support XInput2 multitouchsadrul@chromium.org2011-09-251-4/+27
| | | | | | | | | | | | | | Use XI2 multitouch events instead of mouse events as touch event input for touchui build. Note: XI MT will be supported in X server 1.12 and XI2.2. Please use build switch "use_xi2_mt=<minor version number>" to specify the minimum XI2 minor version. It is useful to test on experimental XI2.1 with MT support (e.g. build with use_xi2_mt=1). BUG=95150 TEST=(1) build with touchui=1 use_xi2_mt=1 (2) test on ubuntu 11.04 (X server 1.10 and XI2.1 with experimental MT support). (3) manually test if touch works on browser UI and JS touch events. Review URL: http://codereview.chromium.org/7792094 Patch from Ningxin Hu <ningxin.hu@intel.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102668 0039d316-1c4b-4281-b951-d872f2087c98
* Aura under Linux is enabled with:saintlou@chromium.org2011-09-181-1/+1
| | | | | | | | | | | 'use_aura': 1, BUG=none TEST=none Review URL: http://codereview.chromium.org/7850026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101704 0039d316-1c4b-4281-b951-d872f2087c98
* Move Aura to UI subdir.ben@chromium.org2011-09-141-1/+1
| | | | | | | | | BUG=none TEST=none TBR=sky Review URL: http://codereview.chromium.org/7886042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101156 0039d316-1c4b-4281-b951-d872f2087c98
* Get chrome to link with USE_AURAben@chromium.org2011-09-072-1/+9
| | | | | | | | | | http://crbug.com/93947 TEST=none R=sadrul TBR=jabdelmalek for the content/webkit stubs Review URL: http://codereview.chromium.org/7841012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99993 0039d316-1c4b-4281-b951-d872f2087c98
* Add WM_XBUTTON* and WM_NCXBUTTON* parsing.msw@chromium.org2011-09-071-1/+17
| | | | | | | | | | | Prevent NOTREACHED() on mouse back/forward buttons. BUG=95544 TEST=Chrome Debug doesn't crash on mouse back/forward. Review URL: http://codereview.chromium.org/7840008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99918 0039d316-1c4b-4281-b951-d872f2087c98
* Beginnings of basic Focus and Key Events.ben@chromium.org2011-09-021-1/+1
| | | | | | | | | http://crbug.com/93934 http://crbug.com/93949 TEST=see unittest Review URL: http://codereview.chromium.org/7830031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99434 0039d316-1c4b-4281-b951-d872f2087c98
* Wire MouseEvents through to the NativeWidgetAura.ben@chromium.org2011-09-011-10/+6
| | | | | | | | http://crbug.com/93933 TEST=none Review URL: http://codereview.chromium.org/7812014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99108 0039d316-1c4b-4281-b951-d872f2087c98
* Wayland support for views. views_desktop on Wayland.backer@chromium.org2011-08-261-0/+215
| | | | | | | | | | | | | | | | | | | | This CL depends on: * http://codereview.chromium.org/7457023 * http://codereview.chromium.org/7467007 * http://codereview.chromium.org/7473010 Wayland requires newer libraries than Ubuntu currently provides. I've created a list of required dependencies: https://sites.google.com/a/google.com/chrome_on_wayland/home/wayland-build-dependencies BUG= TEST=Built Chrome to verify that Wayland dependencies and changes don't interfere with the usual build. Review URL: http://codereview.chromium.org/7464027 Patch from Daniel Nicoara <dnicoara@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98453 0039d316-1c4b-4281-b951-d872f2087c98
* Add Aura support to views:ben@chromium.org2011-08-251-0/+127
| | | | | | | | | | | | | - change aura GYP_DEFINE to use_aura to be consistent with other switches - add gfx::NativeView/Window typedefs - add NativeWidgetAura/etc. - update some ifdefs and includes to build on windows. http://crbug.com/93944 TEST=none Review URL: http://codereview.chromium.org/7741001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98234 0039d316-1c4b-4281-b951-d872f2087c98
* Rename VIEWS_API to VIEWS_EXPORT.darin@chromium.org2011-08-052-12/+12
| | | | | | | R=rvargas@chromium.org Review URL: http://codereview.chromium.org/7550038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95651 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few issues with touch-events and views-desktop.sadrul@chromium.org2011-07-291-0/+1
| | | | | | | | | | | | | | * Activate a widget when it is touched. * Drop a synthetic mouse event on the toplevel widget instead of the immediate parent widget. * Send touch-events to the captured view if there is one. BUG=none TEST=manually Review URL: http://codereview.chromium.org/7540002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94796 0039d316-1c4b-4281-b951-d872f2087c98
* Create views.dll / libviews.sodarin@chromium.org2011-07-282-10/+12
| | | | | | | R=sky@chromium.org,rvargas@chromium.org Review URL: http://codereview.chromium.org/7493017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94428 0039d316-1c4b-4281-b951-d872f2087c98
* Add Unicode character support to chrome.input.sendKeyboardEvent.yusukes@google.com2011-07-276-4/+47
| | | | | | | | | | | | | Currently, the API can fabricate a key event which is supported by src/ui/base/keycodes/keyboard_codes_posix.h. This means the API only supports ASCII characters (<= 0x7f). However, since some i18n virtual keyboards need to call the API to generate a key event which is not supported by the header, it'd be better to relax the limitation. For example, French virtual keyboard might call the API with U+00E1 (LATIN SMALL LETTER A WITH ACUTE), Russian one might do it with U+0410 (CYRILLIC CAPITAL LETTER A). BUG=chromium-os:18048 TEST=run browser_tests Review URL: http://codereview.chromium.org/7473025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94236 0039d316-1c4b-4281-b951-d872f2087c98
* touch: Always expect XInput2 availability.sadrul@chromium.org2011-07-221-23/+1
| | | | | | | | | BUG=80790 TEST=touch compiles Review URL: http://codereview.chromium.org/6975045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93621 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang bot.sadrul@chromium.org2011-06-281-2/+2
| | | | | | | | BUG=clang bot TEST=none TBR=sky@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90765 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ifdef's for touchui stuff from events code.sadrul@chromium.org2011-06-284-146/+89
| | | | | | | | | | | Also, make sure the touch_pressed_handler_ is the view being removed before resetting it to NULL. BUG=none TEST=things compile and existing tests continue to pass Review URL: http://codereview.chromium.org/7276002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90762 0039d316-1c4b-4281-b951-d872f2087c98
* Add pressure information to touch event.miletus@chromium.org2011-06-163-10/+34
| | | | | | | | | | | | | | | | | | 1. Add touch pressure information to the views::TouchEvent. The pressure is normalized to be in [0, 1] to conform with W3C Touch Event standard (draft)'s definition on pressure. 2. Augment TouchFactory with the ability to save/query the range of TouchParam. In this patch, the max value of pressure is used to normalize the absolute pressure value extracted from the touch device. BUG=None TEST=None Review URL: http://codereview.chromium.org/7149002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89408 0039d316-1c4b-4281-b951-d872f2087c98
* Update rich touch information to conform to standardsadrul@chromium.org2011-06-133-71/+36
| | | | | | | | | | | | | | | | | W3C Touch Event standard (draft) https://dvcs.w3.org/hg/webevents/raw-file/tip/touchevents.html introduces RadiusX, RadiusY field for touch events. This patch makes views::TouchEvent to have corresonding fields and proper default value extracted from XEvent, and pass them from RWHVV to WebKit side. BUG=None TEST=None Review URL: http://codereview.chromium.org/7129008 Patch from Yufeng Shen <miletus@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88830 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up more of the NativeWidgetViews.ben@chromium.org2011-05-241-0/+3
| | | | | | | | | | | - Move NativeWidgetView to its own file. - Enhances the example to contain a button. http://crbug.com/83663 TEST=none Review URL: http://codereview.chromium.org/7065042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86527 0039d316-1c4b-4281-b951-d872f2087c98
* Move RootView to the internal namespace.ben@chromium.org2011-05-202-10/+13
| | | | | | | | | | | Most people should not be using the RootView type. The few cases that do should static_cast for now, until I can find a way to expose the functionality they need on Widget. BUG=72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/7040018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86084 0039d316-1c4b-4281-b951-d872f2087c98
* Fix EventTypeFromNative to return ET_MOUSE_MOVED for WM_NCMOUSEMOVE message.jianli@chromium.org2011-05-191-1/+2
| | | | | | | | | | | Unlike WM_MOUSEMOVE, The wParam of WM_NCMOUSEMOVE message contains the hit test value and we should not use it to check if the mouse button is down. BUG=none TEST=none Review URL: http://codereview.chromium.org/7051010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85984 0039d316-1c4b-4281-b951-d872f2087c98
* Added logging include.wyck@chromium.org2011-05-191-0/+1
| | | | | | | | | | | | Because interactive_ui_tests weren't compiling with touchui. BUG=none TEST=none Review URL: http://codereview.chromium.org/7050014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85970 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WidgetWin/Gtk -> NativeWidgetWin/Gtk.ben@chromium.org2011-05-191-1/+0
| | | | | | | | | BUG=72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/7039050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85910 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo in GetTouchEventTypepenghuang@chromium.org2011-05-161-1/+1
| | | | | | | | | | BUG=touchui crashes in debug build TEST=manually Review URL: http://codereview.chromium.org/7034011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85520 0039d316-1c4b-4281-b951-d872f2087c98
* The initial prototype code for the compact navigation (cnav) prototype, ↵stevet@chromium.org2011-05-112-14/+19
| | | | | | | | | | | | currently only active in windows. This is well hidden behind a flag and a context menu option. Loosely based off oshima's original prototype patch: http://codereview.chromium.org/165272 BUG=None TEST=Activate the cnav prototype in about:flags. Right click a tab and select "Hide Toolbar" to go into cnav mode. Ensure that the compact location bar provides the same basic functionality as the toolbar (except browser actions). Review URL: http://codereview.chromium.org/6913026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84971 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 84831 - The initial prototype code for the compact navigation (cnav) ↵bradnelson@google.com2011-05-102-19/+14
| | | | | | | | | | | | | | | prototype, currently only active in windows. This is well hidden behind a flag and a context menu option. Loosely based off oshima's original prototype patch: http://codereview.chromium.org/165272 BUG=None TEST=Activate the cnav prototype in about:flags. Right click a tab and select "Hide Toolbar" to go into cnav mode. Ensure that the compact location bar provides the same basic functionality as the toolbar (except browser actions). Review URL: http://codereview.chromium.org/6913026 TBR=stevet@chromium.org Review URL: http://codereview.chromium.org/7005004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84836 0039d316-1c4b-4281-b951-d872f2087c98
* The initial prototype code for the compact navigation (cnav) prototype, ↵stevet@chromium.org2011-05-102-14/+19
| | | | | | | | | | | | currently only active in windows. This is well hidden behind a flag and a context menu option. Loosely based off oshima's original prototype patch: http://codereview.chromium.org/165272 BUG=None TEST=Activate the cnav prototype in about:flags. Right click a tab and select "Hide Toolbar" to go into cnav mode. Ensure that the compact location bar provides the same basic functionality as the toolbar (except browser actions). Review URL: http://codereview.chromium.org/6913026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84831 0039d316-1c4b-4281-b951-d872f2087c98
* event: Create a mouse event out of a touch event.sadrul@chromium.org2011-05-102-2/+59
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6931050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84787 0039d316-1c4b-4281-b951-d872f2087c98
* Add simple drag and drop to NativeTextfieldViews.msw@chromium.org2011-05-091-0/+1
| | | | | | | | | | | | | | | | | Supports DRAG_COPY to other views/windows. Supports DRAG_MOVE within the same view. Fix DropHelper coordinate translation (not used elsewhere). Fix NativeTextfieldViewsTest.DoubleAndTripleClickTest. This patch set depends on my changes at: http://codereview.chromium.org/6893096/ BUG=72040 TEST=--enable-textfield-views drag and drop interaction. Review URL: http://codereview.chromium.org/6902145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84652 0039d316-1c4b-4281-b951-d872f2087c98
* Rename View::GetCursor and simplify arguments.msw@chromium.org2011-05-031-1/+1
| | | | | | | | | | | | | | | | Simplify RootView::UpdateCursor with MouseEvent ctor support. Restore pre-r83123 WigetWin::SetCursor(NULL) behavior. Cleanup (function ordering, OVERRIDEs, unnecessary "views::"). This originates from changes and comments of Patch Set 3 at: http://codereview.chromium.org/6893096/ BUG=72040 TEST=Mouse cursors. Review URL: http://codereview.chromium.org/6910032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83970 0039d316-1c4b-4281-b951-d872f2087c98
* Add back constructors that was removed erroneously in r83795.sadrul@chromium.org2011-05-032-0/+25
| | | | | | | | Turns out the removed constructor is used for tests. My bad. TBR=sadrul@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83825 0039d316-1c4b-4281-b951-d872f2087c98
* Get the correct touch identifiers from an X event.sadrul@chromium.org2011-05-021-19/+32
| | | | | | | | | | | | Getting the correct touch identifiers makes it possible to do multi-finger tracking. BUG=none TEST=manually Review URL: http://codereview.chromium.org/6905074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83811 0039d316-1c4b-4281-b951-d872f2087c98
* Remove RootView::ConvertPointToMouseHandler.sadrul@chromium.org2011-05-023-49/+8
| | | | | | | | | | | | The function does not seem to do what it claims to do, and it does not seem to be actually necessary at all. Remove some other unused event constructors. BUG=chromium-os:14715 TEST=none Review URL: http://codereview.chromium.org/6883293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83795 0039d316-1c4b-4281-b951-d872f2087c98
* Parse Windows mouse drag events.msw@chromium.org2011-04-291-1/+7
| | | | | | | | | BUG=72040 TEST=Mouse moving & dragging on Windows. Review URL: http://codereview.chromium.org/6883241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83465 0039d316-1c4b-4281-b951-d872f2087c98
* Support creating panel on windows. Also allow dragging panels to rearrangejianli@chromium.org2011-04-281-7/+26
| | | | | | | | | | positions. BUG=none TEST=Basic test in panel_browsertest Review URL: http://codereview.chromium.org/6897012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83415 0039d316-1c4b-4281-b951-d872f2087c98
* Add extra touch information and related API to views::TouchEvent.miletus@chromium.org2011-04-183-29/+104
| | | | | | | | | | | | | | | | | | | Some touch devices provide, other than (x,y) location, extra touch information. views::TouchEvent is changed to keep track of touch radius, touch angle and ratio between major and minor touch axis. To be able to query what extra touch data is supported by the device, bookkeeping of the device supported TouchParams is added to views::TouchFactory. Next step will be routing these touch information to WebKit. BUG= TEST= Review URL: http://codereview.chromium.org/6820004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81963 0039d316-1c4b-4281-b951-d872f2087c98
* touch: identity for a finger is an int, not a bool.sadrul@chromium.org2011-04-111-1/+1
| | | | | | TBR=rjkroege@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81141 0039d316-1c4b-4281-b951-d872f2087c98
* Interpret double click events as mouse down on Windows.msw@chromium.org2011-04-071-6/+6
| | | | | | | | | | | Remove redundant code from a conditional block. BUG=78636 TEST=Double click to close neighboring tabs via (x) Review URL: http://codereview.chromium.org/6813014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80780 0039d316-1c4b-4281-b951-d872f2087c98
* Transform GdkEvents for simpler MouseEvent construction.msw@chromium.org2011-04-051-0/+17
| | | | | | | | | | | Handle MouseWheelEvent in Widget::OnMouseEvent. BUG=72040 TEST=Mouse interaction on linux_views Review URL: http://codereview.chromium.org/6720025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80420 0039d316-1c4b-4281-b951-d872f2087c98