Commit Graph

201 Commits

Author SHA1 Message Date
Olli Pettay
82feff3515 Bug 556493 - No click fired when mousedown on the text of an element and mouseup on empty area, r=jst
--HG--
extra : rebase_source : bf2257df87153638358404878d03c09193014125
2010-06-15 16:29:23 +03:00
Markus Stange
77a4281c8d Bug 426082, part 3: Reflect a label's :hover/:active state on its associated natively themed control.
This patch adds an aFollowLabels argument to nsIEventStateManager::GetContentState which defaults to false. Setting it to true will return NS_EVENT_STATE_HOVER / _ACTIVE for labeled controls even if only their label is subject to this state. At the moment this flag is only set by native theming, so there won't be an observable change for the :hover / :active pseudoclasses.
In order to make dynamic state changes on the label work, SetContentState will now always notify the labeled control of state changes when its label changes state.
r=smaug
2010-05-31 19:49:55 +02:00
Markus Stange
5e59cfef32 Bug 426082, part 2: Make nsEventStateManager::GetContentState return the state directly instead of using an outparam. r=dbaron 2010-05-31 19:49:04 +02:00
Markus Stange
ba23dd0663 Bug 426082, part 1: Some refactoring in nsEventStateManager::Get/SetContentState. r=dbaron 2010-05-31 19:47:11 +02:00
Mounir Lamouri
a821ae13af Bug 456229 - Implement <input type="search">. r=smaug sr=sicking 2010-05-17 12:20:22 +02:00
Karl Tomlinson
f48d8a05cd b=564972 Add NS_IS_MOUSE_EVENT_STRUCT to test event class and use it to correct assert r=smaug 2010-05-13 14:33:16 +12:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Mounir Lamouri
cbf74508a5 Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking 2010-05-12 09:17:07 +02:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Olli Pettay
8ef39a6b0c Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Masayuki Nakano
53ce892306 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
felipc@gmail.com
33b5d6a951 Bug 547996 - Be able to tell when a click was generated by a tap on the screen, r=smaug,jimm, sr=jst 2010-04-06 15:59:24 +03:00
Craig Topper
a31830c001 Bug 253889: DeCOMtaminate nsIPresShell - GetEventTarget[Frame|Content](). r=roc
--HG--
extra : rebase_source : aa059747dc2b24360fd8429fbd7fd21077ecbfa4
2010-03-31 08:43:01 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Karl Tomlinson
4ae5415e56 b=544211 preparation for handling synthesized button-up events for ending element pointer capture r=smaug 2010-03-24 16:36:27 +13:00
Masayuki Nakano
788bb1a791 Bug 315727 Request Firefox respond to Windows scroll messages so pages can be scroll captured r=jmathies+smaug, sr=roc 2010-03-11 14:25:29 +09:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Makoto Kato
256f2577f8 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Timothy Nikkel
c63f549245 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin
--HG--
extra : rebase_source : 171cef43d1fef9337b49d6f3b9ca661c3e618437
2010-02-02 20:07:08 -06:00
Neil Deakin
40511b2e0e Bug 541520, don't fire dragleave on successful drop, but do fire it when drop fails or is cancelled, r=jonas,smichaud 2010-02-01 10:11:08 -05:00
Olli Pettay
72d240fc9b Bug 534833 - click event is occasionally lost in text form controls when focus event changes the value of the control, r=roc
--HG--
extra : rebase_source : 9c90b0ed41ab12c38d264edc839227cdd0d8817f
2010-01-25 11:21:33 +02:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Henri Sivonen
6edbf4cf09 Bug 539423 - Remove bogus assertion: Mouse move must have some target content. r=Olli.Pettay. 2010-01-14 15:58:33 +02:00
Robert O'Callahan
dd13d8b675 Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug 2010-01-12 10:45:04 +13:00
Robert O'Callahan
ae8ce9d0eb Bug 526394. Part 6: Fix up nsEventStateManager. r=smaug 2010-01-12 10:45:02 +13:00
Robert O'Callahan
9324676397 Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats 2009-09-01 23:29:27 +12:00
Tom Dyas
8209cf7fbc Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Josh Aas
f9051ae7e3 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00
Boris Zbarsky
cb8ca909a6 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Josh Aas
80e4d43179 Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Neil Deakin
858ddbf525 Bug 482070, stop mousemove event propagation when a drag has began, r=smaug 2009-11-09 09:55:53 -05:00
Olli Pettay
2c424b3794 Bug 526286 - Detaching a tab by dragging it down into its content area stopped working, r=enndeakin, sr=jonas
--HG--
extra : rebase_source : 7b04c1dc00bb1e55eba73222d185b37cbbb125be
2009-11-05 16:39:18 +02:00
Olli Pettay
c806e56c0e Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Jim Mathies
ffffc4dbe4 Bug 483776 - Update original data transfer mozCursor state during drags. r=bz. 2009-10-06 21:51:02 -05:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Masayuki Nakano
d01fa130dd Bug 518745 Two-finger trackpad scrolling triggers "ASSERTION: aAllowScrollSpeedOverride is true but the quantity isn't by-line scrolling." r=roc 2009-09-25 12:51:17 +09:00
Masayuki Nakano
dc3936158f Bug 513817 Switch scrolling to 6 lines in the default case for 3.6 on windows r=roc, ui=faaborg 2009-09-24 19:58:04 +09:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Josh Aas
2dbe5949ee Replace usage of "::StillDown" with "CGEventSourceButtonState", 64-bit fix for layout. b=517392 r=mstange r=bz 2009-09-18 12:34:37 -04:00
Markus Stange
55aca69596 Bug 482985 - add hidden pref for activity cursor. r=bz 2009-09-17 15:04:08 +02:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00