bug 1207862 - Add DocManager::TopLevelRemoteDocs() r=davidb
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Wed, 23 Sep 2015 17:09:46 -0400
changeset 264267 f2260d4a6b089bbad23c999d528ab31678061337
parent 264266 2849177a50a1cc30a13fd0f136c5b5c9c4b29f77
child 264268 222b880291e00627b2de4ba198c0b5a1726e3dc6
push id65589
push usertsaunders@mozilla.com
push dateThu, 24 Sep 2015 23:23:40 +0000
treeherdermozilla-inbound@e9bb88c728f9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavidb
bugs1207862
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1207862 - Add DocManager::TopLevelRemoteDocs() r=davidb Soon we will need to iterate over all of the top level remote documents.
accessible/base/DocManager.h
--- a/accessible/base/DocManager.h
+++ b/accessible/base/DocManager.h
@@ -82,16 +82,19 @@ public:
     MOZ_ASSERT(result, "Why didn't we find the document!");
   }
 
   /*
    * Notify of a new top level document in a content process.
    */
   static void RemoteDocAdded(DocAccessibleParent* aDoc);
 
+  static const nsTArray<DocAccessibleParent*>* TopLevelRemoteDocs()
+    { return sRemoteDocuments; }
+
 #ifdef DEBUG
   bool IsProcessingRefreshDriverNotification() const;
 #endif
 
 protected:
   DocManager();
   virtual ~DocManager() { }