Skip to content

Commit

Permalink
re"import"
Browse files Browse the repository at this point in the history
  • Loading branch information
gauyeung committed Feb 1, 2009
1 parent cc2d54e commit 4c4197b
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chrome.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
content siteannotator chrome/content/
overlay chrome://browser/content/browser.xul chrome://siteannotator/content/siteannotator.xul
17 changes: 17 additions & 0 deletions chrome/content/siteannotator.xul
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<overlay id="siteannotator"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<statusbar id="status-bar">
<statusbarpanel id="my-panel" label="Hello, World" />
</statusbar>

<toolbox id="navigator-toolbox">
<toolbar id="SiteAnnotatorToolbar" toolbarname="SiteAnnotator Toolbar">
<label value="SiteAnnotator Toolbar: "/>
<textbox id="GoogBarQuery" cols="1" size="50" />
<toolbarbutton id="SiteAnnotateButton"
label="Validate" oncommand="alert('hhhhh');" />
</toolbar>
</toolbox>

</overlay>
28 changes: 28 additions & 0 deletions install.rdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0"?>

<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">

<Description about="urn:mozilla:install-manifest">
<em:id>[email protected]</em:id>
<em:version>1.0</em:version>
<em:type>2</em:type>

<!-- Target Application this extension can install into,
with minimum and maximum supported versions. -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>3.0.*</em:maxVersion>
</Description>
</em:targetApplication>

<!-- Front End MetaData -->
<em:name>Site Annotator</em:name>
<em:description>A test extension</em:description>
<em:creator>Your Name Here</em:creator>
<em:homepageURL>http://www.example.com/</em:homepageURL>
</Description>
</RDF>

0 comments on commit 4c4197b

Please sign in to comment.