snowl/chrome.manifest.in

60 строки
2.8 KiB
Plaintext

# Generic browser chrome integration points: an icon in the status bar,
# a menu in the Tools menu, View > Sidebar entries, etc.
overlay chrome://browser/content/browser.xul chrome://snowl/content/browser.xul
# The parts of the list view that are part of the browser chrome rather than
# the list view sidebar.
overlay chrome://browser/content/browser.xul chrome://snowl/content/list.xul
# For Customize to display our buttons correctly.
style chrome://global/content/customizeToolbar.xul chrome://snowl/content/browser.css
# For our About dialog.
overlay chrome://mozapps/content/extensions/about.xul chrome://snowl/content/about.xul
# For customizing Places bookmarks dialog.
overlay chrome://browser/content/places/bookmarkProperties.xul chrome://snowl/content/bookmarkProperties.xul
# Note: we overlay the river view via xul-overlay processing instructions
# because chrome.manifest instructions require exact URLs, and the river view's
# URL varies because of query params in response to user searches.
# Add the collections view to the list view sidebar.
overlay chrome://snowl/content/list-sidebar.xul chrome://snowl/content/collections.xul
# Add the interface for writing messages to the stream view.
overlay chrome://snowl/content/stream.xul chrome://snowl/content/write.xul
# Add preferences to the main Options dialog.
overlay chrome://browser/content/preferences/preferences.xul chrome://snowl/content/preferences.xul
# Register a resource: protocol alias so we can refer to extension modules
# via resource://snowl/modules/[module name] URLs.
resource snowl ./
# Register the content directory, which contains the chrome of the extension.
# Note: chrome in this case includes cross-OS style (skin). OS-specific style
# should go into OS-specific subdirectories of the skin directory, as defined
# below.
content snowl @chrome_path@content/
# Register separate skins for each primary platform so we can fit personas
# into each one's very different skin.
skin snowl classic/1.0 @chrome_path@skin/luna/ os=WINNT osversion<6
skin snowl classic/1.0 @chrome_path@skin/aero/ os=WINNT osversion>=6
skin snowl classic/1.0 @chrome_path@skin/mac/ os=Darwin
skin snowl classic/1.0 @chrome_path@skin/linux/ os=Linux
# localizations in alphabetical order
locale snowl cs-CZ @chrome_path@locale/cs-CZ/
locale snowl da-DK @chrome_path@locale/da-DK/
locale snowl de-DE @chrome_path@locale/de-DE/
locale snowl en-US @chrome_path@locale/en-US/
locale snowl fr-FR @chrome_path@locale/fr-FR/
locale snowl hu-HU @chrome_path@locale/hu-HU/
locale snowl ja-JP @chrome_path@locale/ja-JP/
locale snowl nl-NL @chrome_path@locale/nl-NL/
locale snowl pl-PL @chrome_path@locale/pl-PL/
locale snowl pt-BR @chrome_path@locale/pt-BR/
locale snowl zh-CN @chrome_path@locale/zh-CN/