From fe1ce96e457fe34dc331af4f5ebdaed575cf8be7 Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Sun, 6 Jan 2002 20:09:10 +0000 Subject: [PATCH] The rest of 117685. git-svn-id: svn://10.0.0.236/trunk@111461 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/chrome/public/nsIChromeRegistry.idl | 9 +++++++-- mozilla/rdf/chrome/public/nsIChromeRegistry.idl | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/mozilla/chrome/public/nsIChromeRegistry.idl b/mozilla/chrome/public/nsIChromeRegistry.idl index 490b018fc33..f5cce2e0e13 100644 --- a/mozilla/chrome/public/nsIChromeRegistry.idl +++ b/mozilla/chrome/public/nsIChromeRegistry.idl @@ -20,6 +20,7 @@ * Original Author: David W. Hyatt (hyatt@netscape.com) * * Contributor(s): pav + * Blake Ross (blaker@netscape.com) */ #include "nsISupports.idl" @@ -31,6 +32,10 @@ interface nsIDocShell; [scriptable, uuid(D8C7D8A1-E84C-11d2-BF87-00105A1B0627)] interface nsIChromeRegistry : nsISupports { + const PRInt32 NONE = 0; + const PRInt32 PARTIAL = 1; + const PRInt32 FULL = 2; + /** * Convert a chrome URL into a canonical representation; specifically, * @@ -73,8 +78,8 @@ interface nsIChromeRegistry : nsISupports void selectLocale(in wstring localeName, in boolean useProfile); void deselectSkin(in wstring skinName, in boolean useProfile); void deselectLocale(in wstring localeName, in boolean useProfile); - boolean isSkinSelected(in wstring skinName, in boolean useProfile); - boolean isLocaleSelected(in wstring localeName, in boolean useProfile); + PRInt32 isSkinSelected(in wstring skinName, in boolean useProfile); + PRInt32 isLocaleSelected(in wstring localeName, in boolean useProfile); /* Apply skin/locale to a specific package */ void selectSkinForPackage(in wstring skinName, in wstring packageName, in boolean useProfile); diff --git a/mozilla/rdf/chrome/public/nsIChromeRegistry.idl b/mozilla/rdf/chrome/public/nsIChromeRegistry.idl index 490b018fc33..f5cce2e0e13 100644 --- a/mozilla/rdf/chrome/public/nsIChromeRegistry.idl +++ b/mozilla/rdf/chrome/public/nsIChromeRegistry.idl @@ -20,6 +20,7 @@ * Original Author: David W. Hyatt (hyatt@netscape.com) * * Contributor(s): pav + * Blake Ross (blaker@netscape.com) */ #include "nsISupports.idl" @@ -31,6 +32,10 @@ interface nsIDocShell; [scriptable, uuid(D8C7D8A1-E84C-11d2-BF87-00105A1B0627)] interface nsIChromeRegistry : nsISupports { + const PRInt32 NONE = 0; + const PRInt32 PARTIAL = 1; + const PRInt32 FULL = 2; + /** * Convert a chrome URL into a canonical representation; specifically, * @@ -73,8 +78,8 @@ interface nsIChromeRegistry : nsISupports void selectLocale(in wstring localeName, in boolean useProfile); void deselectSkin(in wstring skinName, in boolean useProfile); void deselectLocale(in wstring localeName, in boolean useProfile); - boolean isSkinSelected(in wstring skinName, in boolean useProfile); - boolean isLocaleSelected(in wstring localeName, in boolean useProfile); + PRInt32 isSkinSelected(in wstring skinName, in boolean useProfile); + PRInt32 isLocaleSelected(in wstring localeName, in boolean useProfile); /* Apply skin/locale to a specific package */ void selectSkinForPackage(in wstring skinName, in wstring packageName, in boolean useProfile);