mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
c0ffcde3a8
- Bug 1243546 - Add mach command for external-media-tests - r=gps (8c74584251) - Bug 1239987 - Remove marionette-transport dependency from build environment; r=gps (b5e6166e61) - Bug 1250748 - Remove the 20s countdown timer from mach first run; r=chmanchester (8755a9b3e0) - Bug 1238996 - Release marionette-driver 1.2, marionette-transport 1.1, and marionette-client 2.1; r=automatedtester (746bc487a4) - Bug 1243739 - Bump versions of marionette-driver, marionette-client and marionette-transport. r=ato (c87d6e57f8) - Bug 1243739: Update marionette-driver dependecy for marionette-transport. r=ato (582a2f8d8e) - Bug 1239987 - Merge marionette-transport into marionette-driver; r=automatedtester (254ed0727c) - Bug 1239330 - Support AddonManager.installTemporaryAddon() in marionette_driver.addons, r=ato (1f132b1cb3) - Bug 1230622 - Docs: Suggest people use wptserve instead of mozhttpd. r=jgraham (8b1c669740) - Bug 1174497 - [mozprofile] bump version and release to pypi; r=wlach (0360927850) - Bug 1014760 - Version bump mozbase modules that depend on mozlog 3.0, r=me (d16b10a25f) - Bug 1189858 - [mozprofile] remove the manifest parser required dependency. r=ahal (b181c379ce) - Bug 1189858 - fix typos in pip extra dependency declaration (587697be0d) - Bug 1199115 - Release mozprofile 0.27. r=jgraham DONTBUILD (a1e1452486) - Bug 1233534 - [mozprofile] bump version to 0.28. r=ahal (6e17f001dd) - Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice (1486bf8669) - Bug 1112920 - Assert against pending exceptions in AutoJSAPI::InitInternal. v1 r=luke,r=smaug (fa9b99c835) - Fix the asset for bug 1112920 to not touch uninitialized memory. Totally my fault, since I moved it above the mCx assignment, and now we have a CLOSED TREE. (f404994a66) - Logging patch for bug 1256008. r=khuey (dcb846a987) - Bug 1255817 part 1. Make AutoJSAPI always take ownership of error reporting. r=bholley (638b9ca3fe) - Bug 1257306. Simplify the implementation of AutoSafeJSContext (and therefore AutoJSContext, since AutoSafeJSContext will no longer be an AutoJSContext). r=bholley (58b655ad7a) - Bug 1245951 - "Unused method in WebSocket". r=smaug (b2f8937893) - Bug 1227136 - crash in mozilla::net::WebSocketChannel::StartWebsocketData, r=bagder, r=baku (5249e56b52) - Bug 1252751 - Improve the security model between webSocket and sandboxed iframe, r=smaug (9a6c0be275) - Bug 1250234. Make WebSocket::CreateAndDispatchMessageEvent properly report JS exceptions it might be producing. r=khuey (eaae502684) - Bug 1255840. Get rid of the AutoJSAPI usage in IDBFactory. r=khuey (d0a965d1aa) - Bug 1151112 - 'Sending message that cannot be cloned. Are you trying to send an XPCOM object?' seen when unlocking phone. r=ferjm (7ba4294750) - Bug 1253834 - add AllChildrenIterator::Get(), r=bz (5c1ab2f7f2) - Bug 1249443 - add AllChildrenIterator::GetPreviousChild, r=bz (812f61db28) - Bug 1249443 - add AllChildrenIterator::Phase, r=bz (9106ec6dbb) - Bug 1095236 - Simplify browser_test_new_window_from_content.js to use BrowserTestUtils. r=mrbkap (b8fcea4ad1) - Bug 1095236 - Test that windows opened from content with dialog=1 still open. r=mrbkap. (db67a80e2b) - Bug 1210482 - regression tests for 1194897 in which window.[location|menu|personal|status|tool]bar.visible broke for e10s, we're testing these behave appropiately both in content and chrome. r=mconley (a17099181c) - Bug 1251897 - DocAccessible constructor doesn't have to take root element as an argument, r=davidb (77ef52ac2a)
93 lines
2.3 KiB
C++
93 lines
2.3 KiB
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* 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 mozilla_a11y_RootAccessible_h__
|
|
#define mozilla_a11y_RootAccessible_h__
|
|
|
|
#include "HyperTextAccessible.h"
|
|
#include "DocAccessibleWrap.h"
|
|
|
|
#include "nsIDOMEventListener.h"
|
|
|
|
class nsIDocument;
|
|
|
|
namespace mozilla {
|
|
namespace a11y {
|
|
|
|
class RootAccessible : public DocAccessibleWrap,
|
|
public nsIDOMEventListener
|
|
{
|
|
NS_DECL_ISUPPORTS_INHERITED
|
|
|
|
public:
|
|
RootAccessible(nsIDocument* aDocument, nsIPresShell* aPresShell);
|
|
|
|
// nsIDOMEventListener
|
|
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent) override;
|
|
|
|
// Accessible
|
|
virtual void Shutdown() override;
|
|
virtual mozilla::a11y::ENameValueFlag Name(nsString& aName) override;
|
|
virtual Relation RelationByType(RelationType aType) override;
|
|
virtual mozilla::a11y::role NativeRole() override;
|
|
virtual uint64_t NativeState() override;
|
|
|
|
// RootAccessible
|
|
|
|
/**
|
|
* Notify that the sub document presshell was activated.
|
|
*/
|
|
virtual void DocumentActivated(DocAccessible* aDocument);
|
|
|
|
/**
|
|
* Return the primary remote top level document if any.
|
|
*/
|
|
ProxyAccessible* GetPrimaryRemoteTopLevelContentDoc() const;
|
|
|
|
protected:
|
|
virtual ~RootAccessible();
|
|
|
|
/**
|
|
* Add/remove DOM event listeners.
|
|
*/
|
|
virtual nsresult AddEventListeners() override;
|
|
virtual nsresult RemoveEventListeners() override;
|
|
|
|
/**
|
|
* Process the DOM event.
|
|
*/
|
|
void ProcessDOMEvent(nsIDOMEvent* aEvent);
|
|
|
|
/**
|
|
* Process "popupshown" event. Used by HandleEvent().
|
|
*/
|
|
void HandlePopupShownEvent(Accessible* aAccessible);
|
|
|
|
/*
|
|
* Process "popuphiding" event. Used by HandleEvent().
|
|
*/
|
|
void HandlePopupHidingEvent(nsINode* aNode);
|
|
|
|
#ifdef MOZ_XUL
|
|
void HandleTreeRowCountChangedEvent(nsIDOMEvent* aEvent,
|
|
XULTreeAccessible* aAccessible);
|
|
void HandleTreeInvalidatedEvent(nsIDOMEvent* aEvent,
|
|
XULTreeAccessible* aAccessible);
|
|
|
|
uint32_t GetChromeFlags();
|
|
#endif
|
|
};
|
|
|
|
inline RootAccessible*
|
|
Accessible::AsRoot()
|
|
{
|
|
return IsRoot() ? static_cast<mozilla::a11y::RootAccessible*>(this) : nullptr;
|
|
}
|
|
|
|
} // namespace a11y
|
|
} // namespace mozilla
|
|
|
|
#endif
|