/* -*- 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/. */
// get and set the node that is the context of a popup menu virtual already_AddRefed<nsINode> GetPopupNode() = 0; virtualvoid SetPopupNode(nsINode* aNode) = 0;
/** * @param aForVisibleWindow true if caller needs controller which is * associated with visible window.
*/ virtual nsresult GetControllerForCommand(constchar* aCommand, bool aForVisibleWindow,
nsIController** aResult) = 0;
/** * @param aForVisibleWindow true if caller needs controllers which are * associated with visible window.
*/ virtual nsresult GetControllers(bool aForVisibleWindow,
nsIControllers** aResult) = 0;
// Stores a weak reference to the browser. virtualvoid AddBrowser(nsIRemoteTab* aBrowser) = 0; virtualvoid RemoveBrowser(nsIRemoteTab* aBrowser) = 0;
using BrowserEnumerator = void (*)(nsIRemoteTab* aTab, void* aArg);
// Enumerate all stored browsers that for which the weak reference is valid. virtualvoid EnumerateBrowsers(BrowserEnumerator aEnumFunc, void* aArg) = 0;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.