Skip to content

Commit

Permalink
view window
Browse files Browse the repository at this point in the history
  • Loading branch information
pacew committed Aug 8, 2011
1 parent d3eb86f commit 835eaad
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chrome/content/keepitclean.js
Expand Up @@ -36,6 +36,9 @@ keepitclean.toggle = function () {
dump ("keepitclean.toggle()\n");
keepitclean.enabled = keepitclean.enabled ? 0 : 1;
keepitclean.set_status (0, "");

var win = window.open ("chrome://keepitclean/content/view.xul", "view",
"chrome,width=600,height=400");
}

/* tidyBrowser.js:getHtmlFromCache() */
Expand Down
11 changes: 11 additions & 0 deletions chrome/content/view.xul
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/xul.css" type="text/css"?>
<!DOCTYPE window>
<window id="main-window" xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<vbox>
<text id='foo' value='hello'/>
</vbox>

</window>
Empty file added chrome/locale/en-US/view.dtd
Empty file.
Empty file added chrome/skin/view.css
Empty file.

0 comments on commit 835eaad

Please sign in to comment.