# HG changeset patch # User Brad Lassey # Date 1320089177 14400 # Node ID 61bc62fedc0ca2d493b7bb0b90922dcff18ad40a # Parent f853e2b1e75333688d29c5f64a0b2f0f704684c3 [mq]: about_dougt diff --git a/mobile/chrome/content/aboutDougt.xhtml b/mobile/chrome/content/aboutDougt.xhtml new file mode 100644 --- /dev/null +++ b/mobile/chrome/content/aboutDougt.xhtml @@ -0,0 +1,62 @@ + + + +%brandDTD; + +%globalDTD; + +%preferenceDTD; + +%aboutDTD; +]> + + + + + + About DougT + + + + +He's FAMOUS!! + + diff --git a/mobile/chrome/jar.mn b/mobile/chrome/jar.mn --- a/mobile/chrome/jar.mn +++ b/mobile/chrome/jar.mn @@ -8,6 +8,7 @@ chrome.jar: content/config.js (content/config.js) content/aboutCertError.xhtml (content/aboutCertError.xhtml) content/aboutHome.xhtml (content/aboutHome.xhtml) + content/aboutDougt.xhtml (content/aboutDougt.xhtml) content/localePicker.xul (content/localePicker.xul) content/localePicker.js (content/localePicker.js) * content/aboutRights.xhtml (content/aboutRights.xhtml) diff --git a/mobile/components/AboutRedirector.js b/mobile/components/AboutRedirector.js --- a/mobile/components/AboutRedirector.js +++ b/mobile/components/AboutRedirector.js @@ -76,6 +76,10 @@ let modules = { home: { uri: "chrome://browser/content/aboutHome.xhtml", privileged: true + }, + dougt: { + uri: "chrome://browser/content/aboutDougt.xhtml", + privileged: true } } @@ -150,6 +154,12 @@ AboutHome.prototype = { classID: Components.ID("{b071364f-ab68-4669-a9db-33fca168271a}") } +function AboutDougt() {} +AboutDougt.prototype = { + __proto__: AboutGeneric.prototype, + classID: Components.ID("{7490b75b-0ed4-4b2f-b80c-75e7f9c75682}") +} + function AboutBlocked() {} AboutBlocked.prototype = { __proto__: AboutGeneric.prototype, @@ -157,5 +167,5 @@ AboutBlocked.prototype = { } const components = [AboutEmpty, AboutFennec, AboutRights, - AboutCertError, AboutFirefox, AboutHome, AboutBlocked]; + AboutCertError, AboutFirefox, AboutHome, AboutDougt, AboutBlocked]; const NSGetFactory = XPCOMUtils.generateNSGetFactory(components); diff --git a/mobile/components/MobileComponents.manifest b/mobile/components/MobileComponents.manifest --- a/mobile/components/MobileComponents.manifest +++ b/mobile/components/MobileComponents.manifest @@ -11,6 +11,8 @@ component {972efe64-8ac0-4e91-bdb0-22835 contract @mozilla.org/network/protocol/about;1?what=certerror {972efe64-8ac0-4e91-bdb0-22835d987815} component {b071364f-ab68-4669-a9db-33fca168271a} AboutRedirector.js contract @mozilla.org/network/protocol/about;1?what=home {b071364f-ab68-4669-a9db-33fca168271a} +component {7490b75b-0ed4-4b2f-b80c-75e7f9c75682} AboutRedirector.js +contract @mozilla.org/network/protocol/about;1?what=dougt {7490b75b-0ed4-4b2f-b80c-75e7f9c75682} #ifdef MOZ_SAFE_BROWSING component {88fd40b6-c5c2-4120-9238-f2cb9ff98928} AboutRedirector.js contract @mozilla.org/network/protocol/about;1?what=blocked {88fd40b6-c5c2-4120-9238-f2cb9ff98928}