mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-29 10:32:23 +00:00
import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 1 - WindowID added into WebSocketChannel, r=michal (80cae04416) - Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 2 - WebSocketFrameService, r=michal (66e1935806) - Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 3 - timestamp, r=michal (1ee78cbab5) - Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 4 - IPC, r=michal (651d908780) - Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal (c215f04303) - Bug 1215092 - WebSocketEventService and WebSocket discovering - part 2 - Unique Serial number for WebSocketChannel in IPC, r=michal (9a42b6b898) - Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal (3e22a9b8a9) - Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal (03606add66) - Bug 1185351 - Don't force inline style CSP checks on native anonymous content; r=ckerschb (51deea3648) - Bug 1212477 - Needs a way to access to <canvas>'s context (2d, webgl) from Anonymous Content API; r=roc;r=smaug (ed3335513d) - Bug 1119692 - Part 1: Get cached jar file fd if it exists instead of always openning it. r=smaug, r=jduell (399a3701dd) - Bug 1119692 - Part 2: Always use scheme jar:remoteopenfile: for out-of-process apps to ease sandboxing code. r=fabrice (d3783120a9) - Bug 1212244 - Same-process sendAsyncMessage can now throw instead of OOM. r=smaug (f22bbeb173) - Bug 1207752 - Increase how long we let incremental GC run before forcing it to finish. r=smaug (ef731501a0) - Bug 1213019. Get UnmapBuffer as part of MapBufferRanges features. r=jgilbert (0e1a1d7ffd) - Bug 941858 - Do not scale down elements passed to setDragImage. r=roc (7c1f18056e) - Bug 1212027 - part 1 - rename ipdl lowering helpers to reflect intent, not function; r=jld (f2c80853a7) - Bug 1212027 - part 2 - add a C++ AST type for 'auto'; r=jld (480120b163) - Bug 1212027 - part 3 - use class interfaces when cloning managees; r=jld (98d8aa9322) - Bug 1212027 - part 4 - use class interfaces when destroying managees; r=jld (2ed9d48242) - Add default initializers for primitive fields in IPDL structs. (bug 1154522, r=billm) (981f0e0d82) - Bug 1158905 - remove dead code from protocol Transition functions; r=bent (e4a43b880a) - Bug 1207921 - Call makeReply before dtorEpilogue so that we don't end up with a nullptr deref r=billm (f7d4530a72) - Bug 1212248 - Align the creation of cpow in ContentBridgeParent to ContentParent. r=khuey (ace596456a) - Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld (6aec494580) - Bug 1212027 - part 6 - add an IsEmpty method to nsTHashtable; r=erahm (cabe26f3d6) - bug 1209615 - use TabParent::GetTopLevelDocAccessible() in OuterDocAccessible::RemoteChildDoc() r=davidb (0765f27bb5) - Bug 1214316 - Improve assertions on top level remote accessible doc handling, r=tbsaunde (257c6c8ef6) - Bug 1212027 - part 7 - modify IPDL codegen to store sub-protocols in a hashtable rather than an array; r=jld,nical,cpearce,billm (99dd4fa79c) - Bug 1212027 - followup - qualify PBrowserParent in GonkPermission.cpp; r=me (051e7e1bde) - Bug 1217250 - Fix some IPDL tests that were broken by bug 1212027; r=froydnj (d368b3aa02) - Bug 1202634 - Make sure TabParent LoadContext for pop-ups shares private browsing state of opener. r=billm (b347018487) - Bug 1191740 - Add originAttributes in TabContext. r=bholley (43ea8ca527) - Bug 1191740 - Factor out nsFrameLoader::GetNewTabContext. r=bholley (3311ab7287) - Bug 1180088 - Use origin-based permission check on parent side for signed packaged web app. r=kanru. (01659e2906) - Bug 1205399 - Backend for disabling of notifications for a site from the UI. r=nsm (6380757077) - Bug 1208295 - Dispatch notifications-open-settings upon receiving alertsettingscallback so UI can open notification settings. r=nsm (776ab25c91) - Bug 1212129 - e10s support for disabling site notifications. r=wchen (e896f87940) - Bug 1208622 - Separate API entry points. r=bz (a324f95322)
This commit is contained in:
@@ -4987,7 +4987,8 @@ PresShell::PaintRangePaintInfo(nsTArray<nsAutoPtr<RangePaintInfo> >* aItems,
|
||||
nsIntRegion* aRegion,
|
||||
nsRect aArea,
|
||||
nsIntPoint& aPoint,
|
||||
nsIntRect* aScreenRect)
|
||||
nsIntRect* aScreenRect,
|
||||
uint32_t aFlags)
|
||||
{
|
||||
nsPresContext* pc = GetPresContext();
|
||||
if (!pc || aArea.width == 0 || aArea.height == 0)
|
||||
@@ -5008,7 +5009,8 @@ PresShell::PaintRangePaintInfo(nsTArray<nsAutoPtr<RangePaintInfo> >* aItems,
|
||||
pc->DeviceContext()->GetClientRect(maxSize);
|
||||
nscoord maxWidth = pc->AppUnitsToDevPixels(maxSize.width >> 1);
|
||||
nscoord maxHeight = pc->AppUnitsToDevPixels(maxSize.height >> 1);
|
||||
bool resize = (pixelArea.width > maxWidth || pixelArea.height > maxHeight);
|
||||
bool resize = (aFlags & RENDER_AUTO_SCALE) &&
|
||||
(pixelArea.width > maxWidth || pixelArea.height > maxHeight);
|
||||
if (resize) {
|
||||
scale = 1.0;
|
||||
// divide the maximum size by the image size in both directions. Whichever
|
||||
@@ -5108,7 +5110,8 @@ already_AddRefed<SourceSurface>
|
||||
PresShell::RenderNode(nsIDOMNode* aNode,
|
||||
nsIntRegion* aRegion,
|
||||
nsIntPoint& aPoint,
|
||||
nsIntRect* aScreenRect)
|
||||
nsIntRect* aScreenRect,
|
||||
uint32_t aFlags)
|
||||
{
|
||||
// area will hold the size of the surface needed to draw the node, measured
|
||||
// from the root frame.
|
||||
@@ -5147,13 +5150,14 @@ PresShell::RenderNode(nsIDOMNode* aNode,
|
||||
}
|
||||
|
||||
return PaintRangePaintInfo(&rangeItems, nullptr, aRegion, area, aPoint,
|
||||
aScreenRect);
|
||||
aScreenRect, aFlags);
|
||||
}
|
||||
|
||||
already_AddRefed<SourceSurface>
|
||||
PresShell::RenderSelection(nsISelection* aSelection,
|
||||
nsIntPoint& aPoint,
|
||||
nsIntRect* aScreenRect)
|
||||
nsIntRect* aScreenRect,
|
||||
uint32_t aFlags)
|
||||
{
|
||||
// area will hold the size of the surface needed to draw the selection,
|
||||
// measured from the root frame.
|
||||
@@ -5180,7 +5184,7 @@ PresShell::RenderSelection(nsISelection* aSelection,
|
||||
}
|
||||
|
||||
return PaintRangePaintInfo(&rangeItems, aSelection, nullptr, area, aPoint,
|
||||
aScreenRect);
|
||||
aScreenRect, aFlags);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user