Kartikaya Gupta
ceced543c6
Bug 923431 - Kill ScreenToScreenScale. r=botond
2013-10-10 12:21:55 -04:00
Ehsan Akhgari
37bbcfc9c9
Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc
2013-09-23 07:55:35 -04:00
Kartikaya Gupta
9f0a4def20
Bug 909281 - Add some strongly-typed conversion functions for margins and use them in RecordFrameMetrics. r=BenWa
2013-09-11 13:20:43 -04:00
Jeff Muizelaar
47d842d503
Bug 908726. Add AppUnits.h so we don't need nsDeviceContext.h for AppUnitsPerCSSPixel(). r=ehsan
2013-09-06 16:15:04 -04:00
Botond Ballo
2eaf03fbf6
Bug 904533 - Compute FrameMetrics::mCompositionBounds correctly for subframes. r=tn
2013-08-30 13:22:33 -04:00
Kartikaya Gupta
b77f1bc2b4
Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:24 -04:00
Kartikaya Gupta
e28825b675
Bug 907906 - Finish templating the gfx::Margin type, and add a gfx::IntMargin type to go with it. r=Cwiiis
2013-08-22 12:41:51 -04:00
Kartikaya Gupta
c76864b5fc
Bug 902888 - Fix coordinate system mismatch with pre-Honeycomb plugins on Android. r=snorp
...
The plugin code was returning a rect in LayoutDevicePixels whereas Java
was treating it as a CSS-pixel rect. This patch makes the types more
explicit and adds a conversion in AndroidBridge to convert from the
LayoutDevicePixels to CSSPixel rects.
2013-08-13 11:49:21 -04:00
Karl Tomlinson
5059c69222
b=893523 clamp CSS pixel to nscoord conversion to nscoord_MIN,MAX r=roc
...
--HG--
extra : transplant_source : P%87%C2l%86%9AWu%CD%06%E5%22%D3%88/%80a%CE%80p
2013-08-05 14:58:41 +12:00
Ms2ger
78f9e66db8
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Ms2ger
ea4299c3b1
Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc
2013-08-02 09:04:22 +02:00
Chris Lord
3404ab9f9d
Bug 886298 - Add a typed-units Margin. r=kats
2013-07-22 09:50:11 +01:00
Botond Ballo
3d283a5a5d
Bug 891468 - Convert nsEventStateManager::GetChildProcessOffset to return a LayoutDeviceIntPoint instead of an nsIntPoint. r=smaug
2013-07-11 10:43:35 -04:00
Ms2ger
4019955ea2
Bug 888235 - Use CSSIntSize for nsGlobalWindow::GetInnerWidth/Height; f=kats r=mrbkap
2013-07-01 09:14:24 +02:00
Kartikaya Gupta
f39a3aa067
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-21 17:03:57 -04:00
Kartikaya Gupta
e6d307eeca
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
c6b20af712
Bug 883646 - Add the LayoutDevicePixel type. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
89cd9674cd
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
f1493d9dae
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
bc7a93a250
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
b32755d0f5
Bug 883646 - Add the LayoutDevicePixel type. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
a53496f124
Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe
2013-06-14 16:11:44 -04:00
Kartikaya Gupta
94dd1b2c73
Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
3c498464ed
Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
5ce3e1c211
Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
d63b7612cb
Bug 880676 - Units.h cleanup for easier reading of future patches. r=BenWa
2013-06-14 16:11:30 -04:00
Kartikaya Gupta
d93f0bdac3
Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
aef5a03609
Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
fa8050e549
Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Ms2ger
96c3eb60de
Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats
2013-06-12 09:00:08 +02:00
Ms2ger
cec83706d9
Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats
2013-06-12 09:00:08 +02:00
Kartikaya Gupta
1d2c4c97c5
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kartikaya Gupta
752fd9f999
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
09fbbbf606
Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
480d3251f0
Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
8cf123d18d
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Kartikaya Gupta
7a734ca654
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
87e727d3cd
Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa
2013-06-03 09:58:07 -04:00
Kartikaya Gupta
ad6e359f34
Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
...
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
e1db212150
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Kartikaya Gupta
99a4283e34
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00