2013-03-27 15:20:38 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- 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/. -->
|
|
|
|
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
|
|
|
|
%inspectorDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2014-01-30 12:42:15 -08:00
|
|
|
class="theme-sidebar">
|
2013-03-27 15:20:38 -07:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>&ruleViewTitle;</title>
|
|
|
|
<link rel="stylesheet" href="chrome://global/skin/global.css" type="text/css"/>
|
|
|
|
<link rel="stylesheet" href="chrome://browser/skin/devtools/common.css" type="text/css"/>
|
|
|
|
<link rel="stylesheet" href="chrome://browser/content/devtools/ruleview.css" type="text/css"/>
|
|
|
|
<link rel="stylesheet" href="chrome://browser/skin/devtools/ruleview.css" type="text/css"/>
|
|
|
|
|
|
|
|
<script type="application/javascript;version=1.8" src="theme-switching.js"/>
|
|
|
|
|
|
|
|
<script type="application/javascript;version=1.8">
|
|
|
|
window.setPanel = function(panel, iframe) {
|
2013-05-01 09:27:24 -07:00
|
|
|
let {devtools} = Components.utils.import("resource://gre/modules/devtools/Loader.jsm", {});
|
2013-04-11 13:59:08 -07:00
|
|
|
let inspector = devtools.require("devtools/styleinspector/style-inspector");
|
|
|
|
this.ruleview = new inspector.RuleViewTool(panel, window, iframe);
|
2013-03-27 15:20:38 -07:00
|
|
|
}
|
|
|
|
window.onunload = function() {
|
|
|
|
if (this.ruleview) {
|
|
|
|
this.ruleview.destroy();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
</html>
|