Commit Graph

145 Commits

Author SHA1 Message Date
Mats Palmgren
91daa42895 Bug 629823 - Use the right view manager for the parent view. r=tnikkel a=roc 2011-02-10 23:38:37 +01:00
Mats Palmgren
345787dcab Bug 617076 - Large white space under Add-on Manager when switching tabs and panes. r=tnikkel a=blocking2.0:betaN 2011-01-29 01:10:46 +01:00
Taras Glek
8b67a8da8d Bug 625478 - Fix first paint timestamp on OSX and Android r=tn a=Mossop 2011-01-13 20:03:42 -08:00
Taras Glek
cbffc495c3 Bug 522375 - built-in startup time measurement r=vlad a=Mossop 2011-01-13 12:18:51 -08:00
Neil Deakin
f05f0cf5c7 Bug 613748 - Keyboard inputs do not work when tab-modal alerts are open in another tab. r=smaug, a=drivers for API change 2010-11-24 17:44:46 -08:00
Daniel Holbert
daa446d0ec Bug 603731: Remove unused variable from nsViewManager.cpp. r=tn a=joe 2010-10-14 09:12:56 -07:00
Mats Palmgren
d267a28a25 Bug 449734 part 4 - Add nsIWidget::ReparentNativeWidget() to handle reparenting of top-level widgets. r=roc a=blocking2.0:betaN 2010-09-18 13:28:50 +02:00
Robert O'Callahan
a77f413886 Bug 596414. Don't subtract plugin areas from within UpdateWidgetArea, except on mac. r=tn a=b 2010-09-17 11:05:51 -07:00
Timothy Nikkel
b83939c2a1 Bug 588403. Part 2. Don't remove the area of popup widgets from the area to update on the parent widget. r=roc a=blocking final+ 2010-09-11 13:24:50 -05:00
Timothy Nikkel
5be08ac8ee Bug 594267. Don't call WillPaint on hidden documents. r=bzbarsky a=roc 2010-09-11 13:24:50 -05:00
Timothy Nikkel
bb07e18e5b Bug 594267. Get rid of hack to determine if a document is visible now that chrome and content view managers are linked. r=roc a=roc 2010-09-11 13:24:50 -05:00
Timothy Nikkel
cc09403fac Bug 587542. If painting is suppressed in the presshell, drop invalidations that come through the view subsystem as well as through the usual frame invalidation path. r=roc 2010-08-18 20:16:58 -05:00
Boris Zbarsky
052a2f6a83 Bug 575336 part 5. Stop flushing out layout on the whole viewmanager tree when layout is flushed on a document and results in invalidates. r=roc 2010-08-05 14:39:39 -04:00
Boris Zbarsky
e8a9de31ab Bug 575336 part 1. Make sure to update the size of the current prescontext on style flush, so that media queries do the right thing. r=roc 2010-08-05 14:39:39 -04:00
Neil Deakin
577d80fba3 Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
a4a74fb3d1 Bug 552982, Part 2: update the popup when it is moved or resized natively, r=mats 2010-07-27 09:38:02 -04:00
Robert O'Callahan
dd4b7116c9 Bug 576332. Don't dispatch synthetic mouse move events if our root view has no widget. r=dbaron 2010-07-20 13:29:30 +12:00
Timothy Nikkel
b364da1a00 Bug 563878. Part 12. Change the view observer interface and overhaul painting in view/. r=mats f=roc 2010-07-18 21:23:47 -05:00
Timothy Nikkel
3317cb6848 Bug 563878. Part 11. Rework the synth mouse move code. r=mats 2010-07-18 21:23:47 -05:00
Timothy Nikkel
54c7f4f4ba Bug 563878. Part 10. Overhaul generic parts of view/ to handle non-constant zoom view manager hierarchies. r=mats 2010-07-18 21:23:47 -05:00
Robert O'Callahan
1df5a7ec56 Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad 2010-07-16 09:08:08 +12:00
Robert O'Callahan
00f2a44ddc Bug 572900. Part 1: Remove view cruft that's not needed now that scrolling is layer-based. r=tnikkel 2010-07-16 09:08:06 +12:00
Timothy Nikkel
60e2c474d2 Bug 563878. Part 6. Simplify nsViewManager::ViewToWidget. r=mats 2010-07-02 14:11:04 -05:00
Jim Mathies
8c780e75d1 Bug 513162 - Widget additions for recycling top level widgets as content containers. r=dbaron. 2010-06-24 21:01:06 -05:00
Timothy Nikkel
99d62dbee8 Bug 563878. Part 4. Add AppUnitsPerDevPixel convenience function to viewmanager. r=mats
(transplanted from fdb1e4bc853db53142b244ddf6e20e9bbab8e636)

--HG--
extra : transplant_source : %FD%B1%E4%BC%85%3D%B51B%B2D%DD%F6%E2%0E%9B%BA%B8%E66
2010-06-05 15:29:49 -05:00
Timothy Nikkel
2871357cb5 Bug 563878. Part 3. Fix FindViewContaining. r=mats
(transplanted from 83d0cd161be2d3cad1e97a1deebab5f248f4bc7d)

--HG--
extra : transplant_source : %83%D0%CD%16%1B%E2%D3%CA%D1%E9z%1D%EE%BA%B5%F2H%F4%BC%7D
2010-06-05 15:29:49 -05:00
Timothy Nikkel
55fde443d9 Bug 563878. Part 2. Some view/ cleanup. r=mats
(transplanted from 5702bf7ea7eb85e1dbbd23a74f6e747e3b26edcd)

--HG--
extra : transplant_source : W%02%BF%7E%A7%EB%85%E1%DB%BD%23%A7Ont%7E%3B%26%ED%CD
2010-06-05 15:29:49 -05:00
timeless@mozdev.org
0ae42e9fc5 Bug 555704 - useless null check of baseView in nsViewManager::DispatchEvent, r=roc
--HG--
extra : rebase_source : 5b83d0cadd4a19b7046081d97def741f16021edc
2010-03-29 06:50:00 -07:00
Josh Aas
e57fb03f84 Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04: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
Robert O'Callahan
11a3d788af Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Timothy Nikkel
9d1ebd2487 Bug 543681. Update the dirty region of view properly when scrolling. r=roc
--HG--
extra : rebase_source : b2c66757fb896a7f075eb059c85db42bb2fd3f45
2010-02-02 19:55:29 -06:00
Robert O'Callahan
8d3cbbd5d2 Bug 526394. Part 35: Prevent event dispatch and script execution during UpdateViewAfterScroll, even in the presence of malign Win32 reentrant APIs. r=mats 2010-01-12 10:45:20 +13:00
Robert O'Callahan
b5f5b11c36 Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats 2010-01-12 10:45:20 +13:00
Robert O'Callahan
04a613495c Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats 2009-10-08 16:01:15 +13:00
Robert O'Callahan
519c0fd842 Bug 526394. Part 21: Remove nsIViewManager RootScrollableView APIs, and move GetRectVisibility to nsIPresShell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
9e667b1f9b Bug 526394. Back out removal of Composite call.
--HG--
extra : rebase_source : 2836e3c7089690800b46ec2aa2dc8022c5298052
2009-12-24 11:52:00 +13:00
Robert O'Callahan
dffec62ff5 Bug 526394. Don't paint synchronously when updating after scrolling. r=mats 2009-12-18 14:00:28 +13:00
Robert O'Callahan
0a5002602b Backed out changeset 70b5097f7c30
--HG--
extra : rebase_source : 40a5eab30a03a77f187316b99c2f1e5179d8dd44
2009-12-18 13:58:29 +13:00
Robert O'Callahan
f6583136ea imported patch disable-Composite 2009-12-18 13:40:28 +13:00
Oleg Romashin
779504f014 Bug 528025. Hold a strong ref from the view manager to the device context. r=roc/bz 2009-11-18 13:38:16 +13:00
Robert O'Callahan
df12cdae81 Bug 498340. Backout previous fix 2009-11-16 11:48:18 +13:00
Oleg Romashin
e1e235be47 Bug 528025 - Invalid read happen in view because of Device context is not referred properly. r=roc 2009-11-15 10:02:10 +02:00
Markus Stange
89681f9fd4 Bug 517804 - Flush reflows and invalidations during viewWillDraw. r=roc, r=josh
--HG--
extra : rebase_source : cb6f250b0fc137682cd09e569d34c29ca272211e
2009-11-14 00:03:46 +01:00
Karl Tomlinson
f1bba3e294 b=521198 don't update when refresh is disabled r=roc
--HG--
extra : rebase_source : 8277aa725ef29138201d825b31aad6bec258a53d
2009-11-11 09:47:57 +13:00
Robert O'Callahan
d95452e244 Bug 498340. Block script execution during the entire paint phase including when we call WillPaint to flush notifications. We don't want script to run and disturb (directly or indirectly) the widget hierarchy, because doing that during BeginPaint/EndPaint can confuse Windows. Other platforms might also be adversely affected. r=bz 2009-11-10 14:00:35 +13:00
Robert O'Callahan
7e04a64cff Bug 513082. Take advantage of our knowledge that nsDisplayClip, when used in a blitting scrolling frame, must snap to device pixels, to get more accurate blit regions. r=dbaron 2009-11-04 07:39:42 +13:00