mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
7b4edb5ee6
- Bug 1151617 - Add async-zooming tests for async scrollbar positioning. r=tn,botond (b05201e85) - Bug 1161206 - Add a scrolling test with native mousewheel event synthesization. r=mstange (1f4ee0121) - Bug 1161634 - Enable the test_wheel_scroll on Linux as well. r=mstange (64a23bacb) - Bug 1164218 - Enable some guinea pig tests to run in chaos mode. r=botond (b05caafa5) - Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange (3ec461116) - Bug 1097464 - Part 3 - Fix and add reftests. r=roc (6d67df3fb) - Bug 1097464 - Part 4: Fix preserve3d wording for layer flags. r=roc (d18108671) - Bug 1172239. Expand height change hint to its components. r=heycam (04454fa9c) - Bug 1172239. Make vertically-resizing scrollframes reflow their percent-height descendants if necessary, and remove nsChangeHint_NeedDirtyReflow for height changes. r=bz (fe20fb8aa) - Bug 1172239. Use nsChangeHint_UpdateComputedBSize to only dirty intrinsic sizes when necessary. r=bz (7d6adafb1) - Bug 1179078 - Recover from parse errors inside image values in border-image properly. r=dholbert (874c593d8) - Bug 1190635. Don't early-return for an mHeight change, since width changes can add extra change hints. r=heycam (2dd5b9271) - Bug 1179288. Make position:fixed induce a stacking context. r=heycam (99d01e332) - Bug 1172239. Add NS_FRAME_DESCENDANT_INTRINSIC_ISIZE_DEPENDS_ON_BSIZE#. r=bz (22fb22820) - Bug 1172239. Ensure nested overflow:auto elements are tested. r=bz (049347625) - namespaces (737dff870) - Bug 1174510 - Fix fallback from cursor formats that we don't support or that fail to decode to other cursor files. r=seth (34fb64864) - Bug 1202029 - Use the containing block for determining perspective for transformed elements. r=dbaron (3bd60a8a9) - Bug 1097464 - Part 5: Fix preserve3d wording for nsIFrame. r=roc (5e5457f02) - cleanup (6306774fc) - Bug 1138895 - Use proper origin for CSP fast path cache. r=geekboy (394c64963) - Bug 1175122 - Add more assertions to the in-tree content policy implementations to ensure that they receive external content policy types; r=baku (37021992d) - Bug 1177651 - Add areas covered by MozMousePixelScroll listeners to the dispatch-to-content region. r=dvander (6f68653fd) - Bug 1205466, make HasApzAwareListeners check faster, r=masayuki (8ccb3cfe2) - Bug 1191539 - DisplayPort should ForceInside frameRect to match compositor DisplayPort. r=kats (fb95b17f4) - attempt to fix misspatch (31dc4dcb4) - Bug 1182551 - Don't set STATE_IS_BROKEN on HTTP pages when mixed content is allowed by default. r=smaug (7e0a5e6fa)
62 lines
2.0 KiB
C++
62 lines
2.0 KiB
C++
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef nsPIWindowRoot_h__
|
|
#define nsPIWindowRoot_h__
|
|
|
|
#include "nsISupports.h"
|
|
#include "mozilla/dom/EventTarget.h"
|
|
#include "nsWeakReference.h"
|
|
|
|
class nsPIDOMWindow;
|
|
class nsIControllers;
|
|
class nsIController;
|
|
|
|
namespace mozilla {
|
|
namespace dom {
|
|
class TabParent;
|
|
} // namespace dom
|
|
} // namespace mozilla
|
|
|
|
#define NS_IWINDOWROOT_IID \
|
|
{ 0xb8724c49, 0xc398, 0x4f9b, \
|
|
{ 0x82, 0x59, 0x87, 0x27, 0xa6, 0x47, 0xdd, 0x0f } }
|
|
|
|
class nsPIWindowRoot : public mozilla::dom::EventTarget
|
|
{
|
|
public:
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWINDOWROOT_IID)
|
|
|
|
virtual nsPIDOMWindow* GetWindow()=0;
|
|
|
|
// get and set the node that is the context of a popup menu
|
|
virtual nsIDOMNode* GetPopupNode() = 0;
|
|
virtual void SetPopupNode(nsIDOMNode* aNode) = 0;
|
|
|
|
virtual nsresult GetControllerForCommand(const char *aCommand,
|
|
nsIController** aResult) = 0;
|
|
virtual nsresult GetControllers(nsIControllers** aResult) = 0;
|
|
|
|
virtual void GetEnabledDisabledCommands(nsTArray<nsCString>& aEnabledCommands,
|
|
nsTArray<nsCString>& aDisabledCommands) = 0;
|
|
|
|
virtual void SetParentTarget(mozilla::dom::EventTarget* aTarget) = 0;
|
|
virtual mozilla::dom::EventTarget* GetParentTarget() = 0;
|
|
|
|
// Stores a weak reference to the browser.
|
|
virtual void AddBrowser(mozilla::dom::TabParent* aBrowser) = 0;
|
|
virtual void RemoveBrowser(mozilla::dom::TabParent* aBrowser) = 0;
|
|
|
|
typedef void (*BrowserEnumerator)(mozilla::dom::TabParent* aTab, void* aArg);
|
|
|
|
// Enumerate all stored browsers that for which the weak reference is valid.
|
|
virtual void EnumerateBrowsers(BrowserEnumerator aEnumFunc, void* aArg) = 0;
|
|
};
|
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsPIWindowRoot, NS_IWINDOWROOT_IID)
|
|
|
|
#endif // nsPIWindowRoot_h__
|