nsIBrowserChild.idl (1333B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 6 #include "domstubs.idl" 7 #include "nsIDroppedLinkHandler.idl" 8 9 %{C++ 10 #include "mozilla/dom/BindingDeclarations.h" 11 %} 12 13 interface nsIWebBrowserChrome; 14 15 webidl ContentFrameMessageManager; 16 17 18 native CallerType(mozilla::dom::CallerType); 19 native CommandsArray(nsTArray<nsCString>); 20 [ref] native CommandsArrayRef(nsTArray<nsCString>); 21 22 [scriptable, builtinclass, uuid(1fb79c27-e760-4088-b19c-1ce3673ec24e)] 23 interface nsIBrowserChild : nsISupports 24 { 25 readonly attribute ContentFrameMessageManager messageManager; 26 27 [notxpcom] void sendRequestFocus(in boolean canFocus, in CallerType aCallerType); 28 29 void remoteDropLinks(in Array<nsIDroppedLinkItem> links); 30 31 /** 32 * Resolved after content has received a PBrowser::ChildToParentMatrix. 33 */ 34 [implicit_jscontext] 35 Promise contentTransformsReceived(); 36 37 readonly attribute uint64_t tabId; 38 39 /** 40 * Send a message from the BrowserChild to the BrowserParent that a 41 * nsIWebNavigation navigation finished in the child. 42 */ 43 void notifyNavigationFinished(); 44 45 /** 46 * Id of the chrome window the tab is within. 47 */ 48 readonly attribute uint64_t chromeOuterWindowID; 49 };