Commit Graph

416 Commits

Author SHA1 Message Date
David Anderson
d556e1e7b3 Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
David Anderson
104a98a38b Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
Ehsan Akhgari
a7d06addb0 Bug 1111242 - Use std::abs instead of fabsf in nsChildView.mm; r=josh
clang gives the following warning on these fabs usages:
absolute value function 'fabsf' given an argument of type 'CGFloat' (aka 'double') but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]

--HG--
extra : amend_source : 1c2352555626c0b412bdd5c383074726f84e2c7b
2014-12-14 14:58:56 -05:00
Josh Aas
6141b5290e Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
Markus Stange
ae707003c0 Bug 1102823 - Zoom the window when the title bar is double clicked, if enabled. r=smichaud 2014-11-24 16:53:33 -05:00
Jonathan Kew
07150aee5a Bug 1077515 - part 5 - Remap arrow keys for vertical writing-mode in the Cocoa key-bindings code. r=roc 2014-11-22 14:39:03 +00:00
Jeff Muizelaar
4b0029fdf7 Bug 1073036. layers: Track program state more carefully to avoid setting unnecessarily. r=nical
This introduces some infrastructure to start tracking the program state more carefully. Currently
it only tracks the program because UseProgram was showing up the most in profiles, but more
state could also be added as needed.

--HG--
extra : rebase_source : 289ab867ef63032f7604a6cbe6d0230fd0a9411a
2014-11-10 14:34:06 -05:00
Markus Stange
26c429fd3a Bug 1095210 - Record native invalidations in -[BaseWindow _setNeedsDisplayInRect:] so that invalidations occurring during -[ChildView viewWillDraw] are not lost. r=smichaud 2014-11-07 13:11:48 -05:00
Markus Stange
2737b42fc7 Bug 1018845 - Make the fullscreen button easier to see on dark backgrounds. r=roc 2014-11-03 22:14:10 -05:00
Chris Peterson
c34d9bfe5f Bug 1091979 - Fix -Wswitch warning in widget/cocoa/nsChildView.mm. r=smichaud 2014-10-29 21:29:28 -07:00
Kartikaya Gupta
47a070d91c Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond 2014-10-24 13:29:30 -04:00
Gijs Kruitbosch
dca1dd6314 Bug 1075653 - Make tooltips use vibrancy on Yosemite. r=smichaud 2014-09-12 14:10:09 +01:00
Markus Stange
3506228839 Bug 1055634 - Expose the fontSmoothingBackgroundColor from the vibrant NSVisualEffectView via nsITheme. r=smichaud 2014-10-24 18:32:23 +02:00
Alexander Surkov
e50d8c860b Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -04:00
Eric Rahm
f6bb65afb3 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Jonathan Watt
84e4023207 Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas 2014-10-08 04:43:00 +01:00
Markus Stange
0e3673936a Bug 1062801 - Fill vibrant window regions with the correct vibrancy fill color. r=smichaud 2014-10-07 16:18:01 +02:00
Wes Kocher
5d7f3c7007 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
baf96b6e07 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Kartikaya Gupta
67aa9a044a Bug 1074401 - Ensure that the repaint request is always dispatched from the APZ on the main thread. r=botond 2014-10-03 13:39:37 -04:00
Markus Stange
9929e678c4 Bug 1072391 - Only minimize on double-click in draggable regions of the window. r=smichaud 2014-09-24 17:15:28 -04:00
Markus Stange
0fff687e68 Bug 1070038 - Make window dragging work correctly on Mac OS 10.10. r=smichaud 2014-09-22 13:45:48 -04:00
Markus Stange
36c0abaee7 Bug 944836 - Implement nsChildView::UpdateWindowDraggingRegion. r=roc, r=smichaud 2014-09-18 10:52:30 +02:00
Steven Michaud
2413b03540 Bug 1056251 - Changing to a Firefox window in a different workspace does not focus automatically. r=masayuki 2014-09-15 14:48:42 -05:00
Jonathan Watt
b3072839ca Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Jonathan Watt
581078dcb7 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
d9c5bea4e5 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
cc5bf95ddf Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Ehsan Akhgari
273543e51a Bug 1061001 - Fix more bad implicit constructors in widget; r=roc 2014-08-31 23:33:13 -04:00
Markus Stange
af5edfa4fb Bug 1058713 - Don't attempt to create a zero-sized CGContext for titlebar buttons. r=smichaud 2014-08-28 02:16:25 +02:00
Markus Stange
b324d1c81a Bug 1051522 - Create NSVisualEffectViews for vibrant window regions. r=smichaud 2014-08-28 02:15:33 +02:00
Markus Stange
c6b58122aa Bug 1051522 - Mark nsChildView coordinate conversion functions const. r=smichaud 2014-08-28 02:15:29 +02:00
David Zbarsky
1bea86c89f Bug 952977: Various other changes of gfx3DMatrix -> Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Ed Morley
62e00418d4 Backed out changeset 3325dc888b50 (bug 952977) for build failures
--HG--
extra : rebase_source : b29c343cc0e4d8df5c927742657fa93895b738d1
2014-08-21 16:57:44 +01:00
David Zbarsky
04005e5546 Bug 952977: Various other changes of gfx3DMatrix -> Matrix4x4 r=nical 2014-08-21 11:35:28 -04:00
Steven Michaud
cb7ca9cd48 Bug 1044497 - Fix Yosemite build error (cannot initialize a parameter of type 'NSEventType' with an lvalue of type 'uint32_t') r=spohl 2014-08-06 21:35:53 -05:00
Benoit Jacob
97177c7e3d Bug 586656 - Serialize external "pluginEvent" structs in WidgetGUIEvent so that plugin events work in e10s - r=masayuki,jimm 2014-07-23 15:55:51 -04:00
Kartikaya Gupta
9dc6a33e69 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Kartikaya Gupta
0280fddb89 Bug 1035356 - Make ReceiveInputEvent(InputData...) do in-place modifications of the event to DOM space. r=mstange r=botond 2014-07-08 14:55:52 -04:00
Markus Stange
0046475fb0 Bug 995145 - Don't erase pixels from the window top when drawing the highlight line. r=smichaud 2014-07-01 18:32:28 +02:00
Jonathan Watt
5ed095fa50 Bug 991640 - Get rid of nsIWidget::GetThebesSurface and a bunch of Thebes backed gfxContexts. r=mattwoodrow 2014-06-10 07:02:21 +01:00
Markus Stange
9ae39077a4 Bug 1022206 - Add missing include to nsChildView.mm in order to fix building with --disable-accessibility on Mac. a=npotb DONTBUILD 2014-06-08 01:59:18 +02:00
Markus Stange
6092ce2dc8 Bug 944938 - Install the event tap only for wheel events. r=smichaud 2014-06-07 00:50:00 +02:00
Markus Stange
8f35b18308 Bug 944938 - Pass scroll events to the APZC tree manager on the async event thread. r=smichaud 2014-06-07 00:49:59 +02:00
Markus Stange
3a27c8cadb Bug 944938 - Add a 10.6 compatibility wrapper for hasPreciseScrollingDeltas and scrollingDeltaX/Y. r=smichaud 2014-06-07 00:49:59 +02:00
Markus Stange
d99fa2b8d1 Bug 944938 - Add a 10.6 compatibility wrapper for event phases. r=smichaud 2014-06-07 00:49:59 +02:00
Markus Stange
05f9a856de Bug 944938 - Add a helper method for the conversion of window coordinates to device pixels. r=smichaud 2014-06-04 14:44:28 +02:00
Markus Stange
d7edcde92d Bug 944938 - Create an APZCTM controller for the compositor parent on Mac with APZ enabled. r=smichaud 2014-06-04 14:44:27 +02:00
Markus Stange
2285731772 Bug 944938 - Add a basic GeckoContentController implementation for async panning on Mac. r=kats 2014-06-04 14:44:27 +02:00
Markus Stange
833e72b533 Bug 944938 - Add EventThreadRunner class that can listen to scroll events without main thread involvement. r=smichaud 2014-06-04 14:44:27 +02:00