forked from humphd/mozilla-central-old
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug 725408 - implement WebappRT launcher/shell; r=bsmedberg
- Loading branch information
Showing
38 changed files
with
2,196 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 14 additions & 1 deletion
15
browser/components/privatebrowsing/src/nsPrivateBrowsingService.manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
# WebappRT doesn't need these instructions, and they don't necessarily work | ||
# with it, but it does use a GRE directory that the GRE shares with Firefox, | ||
# so in order to prevent the instructions from being processed for WebappRT, | ||
# we need to restrict them to the applications that depend on them, i.e.: | ||
# | ||
# b2g: {3c2e2abc-06d4-11e1-ac3b-374f68613e61} | ||
# browser: {ec8030f7-c20a-464f-9b0e-13a3a9e97384} | ||
# mobile/android: {aa3c5121-dab2-40e2-81ca-7ea25febc110} | ||
# mobile/xul: {a23983c0-fd0e-11dc-95ff-0800200c9a66} | ||
# | ||
# In theory we should do this for all these instructions, but in practice it is | ||
# sufficient to do it for the app-startup one, and the file is simpler that way. | ||
|
||
component {c31f4883-839b-45f6-82ad-a6a9bc5ad599} nsPrivateBrowsingService.js | ||
contract @mozilla.org/privatebrowsing;1 {c31f4883-839b-45f6-82ad-a6a9bc5ad599} | ||
category command-line-handler m-privatebrowsing @mozilla.org/privatebrowsing;1 | ||
category app-startup nsPrivateBrowsingService service,@mozilla.org/privatebrowsing;1 | ||
category app-startup nsPrivateBrowsingService service,@mozilla.org/privatebrowsing;1 application={3c2e2abc-06d4-11e1-ac3b-374f68613e61} application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} application={aa3c5121-dab2-40e2-81ca-7ea25febc110} application={a23983c0-fd0e-11dc-95ff-0800200c9a66} |
15 changes: 14 additions & 1 deletion
15
browser/components/sessionstore/src/nsSessionStore.manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
# WebappRT doesn't need these instructions, and they don't necessarily work | ||
# with it, but it does use a GRE directory that the GRE shares with Firefox, | ||
# so in order to prevent the instructions from being processed for WebappRT, | ||
# we need to restrict them to the applications that depend on them, i.e.: | ||
# | ||
# b2g: {3c2e2abc-06d4-11e1-ac3b-374f68613e61} | ||
# browser: {ec8030f7-c20a-464f-9b0e-13a3a9e97384} | ||
# mobile/android: {aa3c5121-dab2-40e2-81ca-7ea25febc110} | ||
# mobile/xul: {a23983c0-fd0e-11dc-95ff-0800200c9a66} | ||
# | ||
# In theory we should do this for all these instructions, but in practice it is | ||
# sufficient to do it for the app-startup one, and the file is simpler that way. | ||
|
||
component {5280606b-2510-4fe0-97ef-9b5a22eafe6b} nsSessionStore.js | ||
contract @mozilla.org/browser/sessionstore;1 {5280606b-2510-4fe0-97ef-9b5a22eafe6b} | ||
component {ec7a6c20-e081-11da-8ad9-0800200c9a66} nsSessionStartup.js | ||
contract @mozilla.org/browser/sessionstartup;1 {ec7a6c20-e081-11da-8ad9-0800200c9a66} | ||
category app-startup nsSessionStartup service,@mozilla.org/browser/sessionstartup;1 | ||
category app-startup nsSessionStartup service,@mozilla.org/browser/sessionstartup;1 application={3c2e2abc-06d4-11e1-ac3b-374f68613e61} application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} application={aa3c5121-dab2-40e2-81ca-7ea25febc110} application={a23983c0-fd0e-11dc-95ff-0800200c9a66} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!-- 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/. --> | ||
|
||
<!-- LOCALIZATION NOTE: These are localized strings for the webapp runtime, | ||
- which loads a webapp in a separate process from Firefox. Webapps loaded | ||
- in this way have very little application chrome, but the runtime does | ||
- provide them with some default functionality, like the standard OS | ||
- menus/menuitems. --> | ||
|
||
<!ENTITY fileMenu.label "File"> | ||
<!ENTITY fileMenu.accesskey "F"> | ||
|
||
<!ENTITY quitApplicationCmdWin.label "Exit"> | ||
<!ENTITY quitApplicationCmdWin.accesskey "x"> | ||
<!ENTITY quitApplicationCmd.label "Quit"> | ||
<!ENTITY quitApplicationCmd.accesskey "Q"> | ||
<!-- On Mac, we create the Quit and Hide command labels dynamically, | ||
- using properties in window.properties, in order to include the name | ||
- of the webapp in the labels without creating a DTD file for it. --> | ||
<!ENTITY quitApplicationCmdMac.key "Q"> | ||
<!ENTITY hideThisAppCmdMac.key "H"> | ||
<!ENTITY hideOtherAppsCmdMac.label "Hide Others"> | ||
<!ENTITY hideOtherAppsCmdMac.key "H"> | ||
<!ENTITY showAllAppsCmdMac.label "Show All"> | ||
|
||
<!ENTITY editMenu.label "Edit"> | ||
<!ENTITY editMenu.accesskey "E"> | ||
<!ENTITY undoCmd.label "Undo"> | ||
<!ENTITY undoCmd.key "Z"> | ||
<!ENTITY undoCmd.accesskey "U"> | ||
<!ENTITY redoCmd.label "Redo"> | ||
<!ENTITY redoCmd.key "Y"> | ||
<!ENTITY redoCmd.accesskey "R"> | ||
<!ENTITY cutCmd.label "Cut"> | ||
<!ENTITY cutCmd.key "X"> | ||
<!ENTITY cutCmd.accesskey "t"> | ||
<!ENTITY copyCmd.label "Copy"> | ||
<!ENTITY copyCmd.key "C"> | ||
<!ENTITY copyCmd.accesskey "C"> | ||
<!ENTITY pasteCmd.label "Paste"> | ||
<!ENTITY pasteCmd.key "V"> | ||
<!ENTITY pasteCmd.accesskey "P"> | ||
<!ENTITY deleteCmd.label "Delete"> | ||
<!ENTITY deleteCmd.key "D"> | ||
<!ENTITY deleteCmd.accesskey "D"> | ||
<!ENTITY selectAllCmd.label "Select All"> | ||
<!ENTITY selectAllCmd.key "A"> | ||
<!ENTITY selectAllCmd.accesskey "A"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# 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/. | ||
|
||
# LOCALIZATION NOTE: These are localized strings for the webapp runtime, | ||
# which loads a webapp in a separate process from Firefox. Webapps loaded | ||
# in this way have very little application chrome, but the runtime does | ||
# provide them with some default functionality, like the standard OS | ||
# menus/menuitems. | ||
|
||
# LOCALIZATION NOTE (quitApplicationCmdMac.label): %S will be replaced with | ||
# the name of the webapp. | ||
quitApplicationCmdMac.label=Quit %S | ||
|
||
# LOCALIZATION NOTE (hideApplicationCmdMac.label): %S will be replaced with | ||
# the name of the webapp. | ||
hideApplicationCmdMac.label=Hide %S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.