Commit Graph

1086 Commits

Author SHA1 Message Date
Mats Palmgren
f04c0c661b Backing out bug 449734 due to unexpected orange. a=ted 2010-09-03 18:13:49 +02:00
Mats Palmgren
842363cdb7 Bug 449734 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN 2010-09-03 16:22:00 +02:00
Chris Jones
922d8c16c6 Followup to bug 589864: Accidentally dropped needed widget init param. irc-r=tn a=bustage-fix 2010-08-24 02:48:46 -05:00
Chris Jones
a0717c5547 Bug 589864: Revert nsView behavior unintentionally changed by refactoring. r=roc a=blocking-beta5 2010-08-24 01:28:16 -05:00
Timothy Nikkel
ad69b8103e Bug 587542. Rev IID that was forgotten. 2010-08-21 19:55:55 -05:00
Chris Jones
0a3ef826a6 Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
3cc44e2456 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Chris Jones
d7454a33bb Bug 582057, part f: Split out window initialization code in preparation for multiple CreateWidget* methods. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
accbd0a3b5 Bug 582057, part e: Simplify the logic for creating popup widgets. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
6a796d25f2 Bug 582057, part d: Simplify nsView::LoadWidget and return early if it fails. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
7387dfa5b1 Bug 582057, part c: Initialize default widget init data earlier so that it's always available. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
6159af5262 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-20 14:29:01 -05:00
Chris Jones
97a0f4958f Bug 582057, part a: Add nsIView::Impl() and nsView::CreateWidget() to get rid of |static_cast<nsView*>(this)|. r=roc 2010-08-20 14:29:01 -05:00
Chris Jones
b3c3ed11d1 Backed out changeset 5452db293694 2010-08-19 19:03:20 -05:00
Chris Jones
a160fb6e84 Bug 582057, part a: Add nsIView::Impl() and nsView::CreateWidget() to get rid of |static_cast<nsView*>(this)|. r=roc 2010-08-19 13:49:35 -05:00
Timothy Nikkel
4ce442895c 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
71030cb8d2 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
2c088ca165 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
L. David Baron
b0ac8dc333 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Neil Deakin
f9a7385f55 Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
f46c03d388 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
91cbf0e658 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
ecb1228db4 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
6c604b2923 Bug 563878. Part 11. Rework the synth mouse move code. r=mats 2010-07-18 21:23:47 -05:00
Timothy Nikkel
3a7624111e 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
00c5b11afa 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
c996ab4fc3 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
b455c941a4 Bug 563878. Part 6. Simplify nsViewManager::ViewToWidget. r=mats 2010-07-02 14:11:04 -05:00
Timothy Nikkel
66ff344afd Bug 563878. Part 9. Remove nsIView::GetScreenPosition because it is unused. r=mats 2010-06-25 16:51:17 -05:00
Timothy Nikkel
14a8952bb9 Bug 563878. Part 8. Remove workaround from ViewToWidgetOffset because it is not needed anymore. r=roc 2010-06-25 16:51:17 -05:00
Jim Mathies
8c631afae5 Bug 513162 - Widget additions for recycling top level widgets as content containers. r=dbaron. 2010-06-24 21:01:06 -05:00
Timothy Nikkel
e7529e0043 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
603b68e7da 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
d3dc00c4a1 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
Ehsan Akhgari
308ae9cb5f Bug 569436 - Intermittent failure in reftest/tests/view/crashtests/382756-1.xul | assertion count 0 is less than expected 2 assertions; r=dbaron 2010-06-02 14:33:47 -04:00
Jesse Ruderman
dbb86363b6 Annotate ignorage of 'ASSERTION: GetMinimumWidgetSize was ignored' with mention of bug 540078. Also, allow 0 assertions for 387745-1.svg, which was orange in the last cycle due to not triggering the assertion. 2010-05-29 23:06:08 -07:00
Michael Kohler
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
L. David Baron
c4eb38acd9 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
timeless@mozdev.org
d5b0e3761e 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
Robert O'Callahan
a1ec90a1a8 Bug 556052. Compute mViewToWidgetOffset correctly and fix bugs by adding subpixel translation when painting. r=mats 2010-04-23 12:21:54 +12:00
Josh Aas
cd2f3e4eba Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04:00
Karl Tomlinson
110f627e7b 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
3fd86d36c6 Bug 549630. mViewToWidgetOffset is being calculated the wrong way around. r=mats
--HG--
extra : rebase_source : 917290f7ae51bf57d9b689ffa1b3708245235638
2010-03-10 13:14:17 +13:00
Robert O'Callahan
4600eb89a8 Bug 546071. Compute view-to-widget offset for plugin views. r=mats
--HG--
extra : rebase_source : 483afc3b0d00f5fd6685f760b6ad358a94a7c9ba
2010-02-24 00:33:41 -08:00
Robert O'Callahan
c8e9db9062 Backed out changeset 78318b260f18 2010-03-05 20:05:33 +13:00
Robert O'Callahan
d4122472d6 Bug 546071. Compute view-to-widget offset for plugin views. r=mats 2010-02-24 00:33:41 -08:00
Robert O'Callahan
ff44c3c9e3 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
Jesse Ruderman
ff8208a031 Add crashtests 2010-02-27 13:04:34 -08:00
Timothy Nikkel
895e60343d Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
0483c805d9 Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00