Commit Graph

425 Commits

Author SHA1 Message Date
Robert O'Callahan
f29f325d1a Bug 826635. Refresh-driver painting is always enabled now, so remove the alternative code path. r=tnikkel
--HG--
extra : rebase_source : e349986d12bd4e6a6afeb3ee6f28290440b39f27
2013-01-05 16:14:17 +13:00
Robert O'Callahan
0468c3e933 Bug 826632. Part 7: nsView::GetViewManagerInternal is no longer relevant, so remove it. r=tnikkel
--HG--
extra : rebase_source : 82bb5be5e3dc16f42d7f13a0b7d9eabef1f2fe5c
2013-01-05 16:13:23 +13:00
Robert O'Callahan
12a7062831 Bug 826632. Part 6: Remove some unnecessary #includes from nsView.h and nsViewManager.h. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : f99b6ff33490cf6ad5467296eca573752518ea96
2013-01-05 16:13:13 +13:00
Robert O'Callahan
e21ea6104a Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c2417fdf6c5e4c94ca759ac12175a2d3a0de52e6
2013-01-05 16:13:05 +13:00
Robert O'Callahan
db0f427f68 Bug 826632. Part 4: nsViewManager does not need to implement nsISupports anymore. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c075212306ddadf37218d440f629becd5d2c52e2
2013-01-05 16:12:57 +13:00
Robert O'Callahan
e195c24645 Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel
--HG--
extra : rebase_source : f6286a4bcffa2f80bd9d444f7c04005644b8cb2f
2013-01-05 16:12:49 +13:00
Robert O'Callahan
0f0950d70e Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
a9f8b202ea Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
9297efcdad Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
f511a046d6 Bug 826635. Refresh-driver painting is always enabled now, so remove the alternative code path. r=mattwoodrow
--HG--
extra : rebase_source : 3fcd1e59af66d195af62e46a3a9dacc0e074550c
2013-01-05 16:14:17 +13:00
Robert O'Callahan
007d421b36 Bug 826632. Part 7: nsView::GetViewManagerInternal is no longer relevant, so remove it. r=tnikkel
--HG--
extra : rebase_source : ee90c4205d54efc1a7fa248a60d82fa51a07f19a
2013-01-05 16:13:23 +13:00
Robert O'Callahan
101bca2492 Bug 826632. Part 6: Remove some unnecessary #includes from nsView.h and nsViewManager.h. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 10a50ae18eeff3a26862bad50549f7556593a0a6
2013-01-05 16:13:13 +13:00
Robert O'Callahan
7b239f60e7 Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 8dadf01e7cab20f6e0b9b3e95e767687445260c2
2013-01-05 16:13:05 +13:00
Robert O'Callahan
16f143a092 Bug 826632. Part 4: nsViewManager does not need to implement nsISupports anymore. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 868b6971a2ae0d45023fb11f31b3874159a793b0
2013-01-05 16:12:57 +13:00
Robert O'Callahan
eac5fd4638 Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel
--HG--
extra : rebase_source : f85da22ada991035fbb7116a993898dd0801663d
2013-01-05 16:12:49 +13:00
Robert O'Callahan
1d8aabf788 Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
9abe8bbe09 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Robert O'Callahan
dd4b5c1993 Bug 825866. Part 9: Remove Set/GetViewFlags since they're unused. r=tnikkel 2013-01-04 02:23:12 +13:00
Robert O'Callahan
106f5d95d1 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Robert O'Callahan
cdb66feff9 Bug 825866. Part 7: Make a number of nsIView methods private. r=tnikkel 2013-01-04 02:23:10 +13:00
Robert O'Callahan
709863c70a Bug 825866. Part 6: Annotate nsIWidgetListener method implementations to indicate that they're virtual and must override. r=tnikkel 2013-01-04 02:23:10 +13:00
Robert O'Callahan
4c11563f7f Bug 825866. Part 5: Remove NS_IMETHOD declarations that aren't needed anymore. r=tnikkel 2013-01-04 02:23:09 +13:00
Robert O'Callahan
ef9b45c5d9 Bug 825866. Part 4: Remove nsIView's IID as it's not needed anymore. r=tnikkel 2013-01-04 02:23:09 +13:00
Robert O'Callahan
b01cd2dee6 Bug 825866. Part 3: Remove some unnecessary 'virtual's. r=tnikkel 2013-01-04 02:23:09 +13:00
Robert O'Callahan
cecc272d70 Bug 825866. Part 2: Remove nsIView::ExternalIsRoot, as it's not needed anymore. r=tnikkel 2013-01-04 02:23:09 +13:00
Robert O'Callahan
e8f9fd196d Bug 825866. Part 1.5: Remove unnecessary static casts. r=tnikkel 2013-01-04 02:23:08 +13:00
Robert O'Callahan
7613db441e Bug 825866. Part 1: Merge nsView into nsIView, making all references to nsView refer to nsIView instead. r=tnikkel 2013-01-04 02:23:08 +13:00
Masatoshi Kimura
21ad759c5e Bug 826164 - Enable FAIL_ON_WARNINGS on MSVC in view/. r=roc 2013-01-03 21:27:19 +09:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Matt Woodrow
0c5f6b76a2 Bug 795833 - Add a RequestRepaint method to nsIWidgetListener and use it in the android widget instead of invalidating the view. r=roc 2012-12-18 16:42:02 +13:00
Timothy Nikkel
80370ef686 Bug 805745. Move the forced repaint from the Paint notification to the WillPaint notification. r=mattwoodrow 2012-12-12 15:57:08 -06:00
Timothy Nikkel
c4babd77a1 Backout 9f6c579151c5 (bug 805745) for making bug 813024 worse. 2012-12-16 14:34:14 -06:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Timothy Nikkel
480d0fe63b Bug 805745. Re-get the view after calling PaintWindow because it can flush (via WillPaint). r=mattwoodrow 2012-12-12 15:57:08 -06:00
Timothy Nikkel
bd370be6ed Bug 805745. Move the forced repaint from the Paint notification to the WillPaint notification. r=mattwoodrow 2012-12-12 15:57:08 -06:00
Jonathan Kew
ac861ecc37 bug 819725 pt 1.1 - don't round device-pixel coordinates in nsView and nsXULWindow when calling widget APIs to move/resize windows. r=roc 2012-12-12 09:57:48 +00:00
Jonathan Kew
f41e69bc70 bug 814434 - use global display pixels for window positioning/sizing for consistency across mixed-resolution screens. r=smichaud 2012-12-06 17:31:34 +00:00
Ms2ger
2ab3f8b700 Bug 812096 - Fix build warnings in view/; r=roc 2012-12-02 09:56:54 +01:00
Robert O'Callahan
84fcd2375b Bug 807472. Pass WILL_SEND_DID_PAINT when calling PresShell::Paint with PAINT_COMPOSITE. r=mattwoodrow 2012-11-02 23:42:59 +13:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Robert O'Callahan
3df73be65b Bug 800859. Part 2: Remove nsIPresShell::DidPaint. r=mattwoodrow
--HG--
extra : rebase_source : 3c46d24378ca10f4cf3c476d1de6930ed9683946
2012-10-19 14:21:16 +13:00
Robert O'Callahan
055f521513 Bug 800859. Part 1: Refactor PaintType into two independent flags. r=mattwoodrow
--HG--
extra : rebase_source : 9bb272d795f42e63ea00e0f9107eeaaa593a332d
2012-10-19 14:20:39 +13:00
Mats Palmgren
f374a590a0 Bug 802902 - Live long and prosper Mr. View Manager. r=roc 2012-10-22 15:53:31 +02:00
Steven Michaud
5a116d7578 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Matt Woodrow
6b28b8fa9e Bug 797431 - Add 'alternate paint' flag to PaintWindow, and don't clear ForcedRepaint on the view when it is set. r=roc 2012-10-15 17:53:37 +13:00
Matt Woodrow
9ff7dbd84d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Robert O'Callahan
78fbac6550 Bug 626245. Part 4.5: Forward WillPaintWindow/DidPaintWindow notifications to the presshell and do plugin geometry updates from there. r=matspal
--HG--
extra : rebase_source : 5cf892e26962ef045d76a69fa4b4be9f7d7388da
2012-10-10 23:25:57 +13:00
Robert O'Callahan
bd85577fbd Bug 794579. Remove view from existing parent before setting it as the root view. r=tnikkel 2012-10-02 16:25:47 -05:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
904da4f579 Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc 2012-08-29 17:47:18 +12:00