Commit Graph

350 Commits

Author SHA1 Message Date
Ehsan Akhgari
68501eed17 Bug 876129 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc
This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.

--HG--
extra : rebase_source : ef4ac31003d75fb0fe17b493d7267ba3306e77bf
2013-05-30 22:23:49 -04:00
Ehsan Akhgari
9755fce1d6 Backed out changeset cfca6afaaf9b (bug 865806) because it doesn't speak the secret phrase "nsIDocumentInlines.h" (on a CLOSED TREE, because that's how I roll) 2013-05-31 13:08:55 -04:00
Ehsan Akhgari
f21406d5f8 Bug 865806 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc
This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.

--HG--
extra : rebase_source : 6c0dba10c1ac4f08914632179e15c13c2ff271aa
2013-05-30 22:23:49 -04:00
Ehsan Akhgari
574b61e8c5 Bug 865806 - Part 1: Continue walking up the frame tree when hitting a transparent frame as we're trying to determine whether a given element's background is dark or not; r=roc
This heuristic improvement gives us correct dark background detection in
pdf.js, among other cases.

--HG--
extra : rebase_source : 5a8f920da1b63f6452ec709745b2154b6fc17ceb
2013-05-30 14:27:57 -04:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Masayuki Nakano
fb14551e52 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Markus Stange
66fb5cfd84 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Ehsan Akhgari
423c992573 Bug 865806 follow-up: fix a typo
DONTBUILD because this is a comment change.

--HG--
extra : transplant_source : %7D%C6%13%95%CE%3C%01U%CB7%E8%CF%E3%14%87%14%05%C8G%FD
2013-05-21 11:04:16 -04:00
Gijs Kruitbosch
d1cf343ec6 Bug 874391 - Missing nullchecks in nsNativeTheme::IsDarkBackground(nsIFrame*), r=roc
--HG--
extra : rebase_source : e9161f3fbce9b53e4c74314cc94fb9556f7a9548
2013-05-21 16:27:31 +02:00
Ehsan Akhgari
3222252b7a Bug 865806 - Use the proper Lion style scrollbar on content with a dark background color; r=roc 2013-05-19 11:01:28 -04:00
Ehsan Akhgari
cb75c641f1 Backed out changeset b097bd9fd24c because of Windows build bustage 2013-05-19 11:29:19 -04:00
Ehsan Akhgari
e43574cf4f Bug 865806 - Use the proper Lion style scrollbar on content with a dark background color; r=roc 2013-05-19 11:01:28 -04:00
David Zbarsky
8649b6e814 Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ehsan Akhgari
18ffce777d Bug 871316 - Fix rooting hazards in InfoObject; r=till 2013-05-12 18:29:53 -04:00
Matt Woodrow
5ae991f717 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
088dbe8514 Bug 756601 - Setup our OpenGL surface before compositing. r=mstange 2013-05-10 09:02:49 +12:00
Bas Schouten
bc9af9ec19 Bug 830347 - Part 3: Integrate new D3D compositor into widget. r=jmathies 2013-05-03 19:34:33 +02:00
Kyle Huey
dbfcd3a867 Back out bug 830347. 2013-05-08 12:04:11 -07:00
Bas Schouten
ff14f8bbf8 Bug 830347 - Part 3: Integrate new D3D compositor into widget. r=jmathies 2013-05-03 19:34:33 +02:00
Stephen Pohl
c997f428ce Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Michael Wu
1bd37e16e3 Bug 867703 - Remote default scale value, r=roc 2013-05-01 19:06:19 -04:00
Matt Woodrow
89f2a66432 Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
--HG--
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/CopyableCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/CopyableCanvasLayer.h
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/client/ClientCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/client/ClientCanvasLayer.h
rename : gfx/layers/basic/BasicColorLayer.cpp => gfx/layers/client/ClientColorLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.cpp => gfx/layers/client/ClientContainerLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.h => gfx/layers/client/ClientContainerLayer.h
rename : gfx/layers/basic/BasicImageLayer.cpp => gfx/layers/client/ClientImageLayer.cpp
rename : gfx/layers/basic/BasicLayerManager.cpp => gfx/layers/client/ClientLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.h => gfx/layers/client/ClientLayerManager.h
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/client/ClientThebesLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/client/ClientThebesLayer.h
rename : gfx/layers/basic/BasicTiledThebesLayer.cpp => gfx/layers/client/ClientTiledThebesLayer.cpp
rename : gfx/layers/basic/BasicTiledThebesLayer.h => gfx/layers/client/ClientTiledThebesLayer.h
2013-05-01 17:03:25 +12:00
Matt Woodrow
6ea227e7a6 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Nicholas Cameron
ba6fac75fa Bug 788319. Rename RenderToEGLSurface. r=kats 2013-04-30 15:16:04 +12:00
Nicholas Cameron
8319e74183 Bug 788319, fixups to make EGL work with gtk. r=bjacob 2013-04-30 15:16:04 +12:00
Ms2ger
963182b152 Bug 864165 - Outparamdel nsIWidget::GetSizeMode; r=tn 2013-04-26 08:49:47 +02:00
Nicolas Silva
391cf268bb Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Ehsan Akhgari
8d3203e0f8 Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Nicolas Silva
ab0ca9312a Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Ryan VanderMeulen
25f1906153 Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
3b0ce69477 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Matt Woodrow
6a644b8e27 Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc 2013-04-22 14:40:51 +12:00
Jacek Caban
c2c1418642 Bug 863221 - Crash in nsBaseWidget::NotifyUIStateChanged when GetPresShell returns NULL. r=roc 2013-04-18 15:24:30 +02:00
Cykesiopka
8ec24b7b06 Bug 530352 - Remove last nsIFileSpec comment. r=vlad 2013-04-18 07:40:09 -04:00
Kartikaya Gupta
ebd6b046b7 Bug 860613 - Create an android-specific subclass of CompositorParent to be able to pick the target layer for APZC. r=BenWa 2013-04-17 17:39:13 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jan Horak
c78d7cacc1 Bug 446041 - Force sharing printer settings in Linux because GTK doesn't have support for per printer settings. r=roc 2013-04-15 12:28:38 -04:00
Jonathan Kew
c9148497c8 bug 861403 - fix mixing of device pixels with global display pixels in MoveClient and ResizeClient calculations. r=roc 2013-04-15 13:17:22 +01:00
Jan Horak
221431616d Bug 539427 - Save print resolution (DPI) and duplex settings between print jobs, if they're available. r=roc, sr=smaug 2013-04-11 09:10:42 -04:00
Ryan VanderMeulen
48e61c1303 Backed out changeset b6612169995a (bug 539427) for bustage. 2013-04-11 08:13:42 -04:00
Jan Horak
ea196bc26b Bug 539427 - Save resolution (dpi) and duplex settings. r=roc, sr=smaug 2013-04-11 07:48:09 -04:00
Bas Schouten
341383c413 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Jonathan Kew
4e2d905cd6 bug 851520 - add systemDefaultScale attribute to nsIScreenManager, and use it to decide when to remove browser.content.full-zoom prefs during UI migration if running on windows/hi-dpi. r=roc,adw 2013-04-09 22:07:02 +01:00
Jonathan Kew
1c9d28a08a backout 4149244358fd and 5ad0e08799d9 (bug 851520) for b2g bustage on a CLOSED TREE 2013-04-09 21:57:12 +01:00
Jonathan Kew
a0ac24c9b5 bug 851520 part 1 - expose systemDefaultScale attribute on nsIScreenManager. r=roc 2013-04-09 14:28:55 +01:00
Jonathan Kew
b619fb7e57 bug 859266 - respect devPixelsPerPx preference when calculating screen dimens on Windows. r=roc 2013-04-09 09:39:47 +01:00
aceman
2d19ac6495 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00