From bb5949f96023c4ae2e5c2faf5081ec00df0adea3 Mon Sep 17 00:00:00 2001 From: "brade@netscape.com" Date: Mon, 11 Nov 2002 20:15:44 +0000 Subject: [PATCH] add private methods for targetting of commands (bug 157117, r=mkaply, sr=sfraser) --- embedding/components/commandhandler/src/nsCommandManager.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: