diff --git a/embedding/components/commandhandler/src/nsCommandManager.h b/embedding/components/commandhandler/src/nsCommandManager.h index 5d2f2e73fd5e..bd0318c69fff 100644 --- a/embedding/components/commandhandler/src/nsCommandManager.h +++ b/embedding/components/commandhandler/src/nsCommandManager.h @@ -20,6 +20,7 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): + * Kathleen Brade * * * Alternatively, the contents of this file may be used under the terms of @@ -53,6 +54,7 @@ class nsIController; class nsCommandManager : public nsICommandManager, public nsPICommandUpdater, + // public nsISecurityCheckedComponent, public nsSupportsWeakReference { @@ -73,7 +75,10 @@ public: protected: - nsresult GetControllerForCommand(const char * aCommand, nsIController** outController); + nsresult IsCallerChrome(PRBool *aIsCallerChrome); + nsresult GetControllerForCommand(const char * aCommand, + nsIDOMWindow *aDirectedToThisWindow, + nsIController** outController); protected: