canvasdebugger.xul 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?xml version="1.0"?>
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  6. <?xml-stylesheet href="chrome://devtools/content/shared/widgets/widgets.css" type="text/css"?>
  7. <?xml-stylesheet href="chrome://devtools/skin/widgets.css" type="text/css"?>
  8. <?xml-stylesheet href="chrome://devtools/skin/canvasdebugger.css" type="text/css"?>
  9. <!DOCTYPE window [
  10. <!ENTITY % canvasDebuggerDTD SYSTEM "chrome://devtools/locale/canvasdebugger.dtd">
  11. %canvasDebuggerDTD;
  12. ]>
  13. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  14. <script src="chrome://devtools/content/shared/theme-switching.js"/>
  15. <script type="application/javascript" src="canvasdebugger.js"/>
  16. <script type="application/javascript" src="callslist.js"/>
  17. <script type="application/javascript" src="snapshotslist.js"/>
  18. <hbox class="theme-body" flex="1">
  19. <vbox id="snapshots-pane">
  20. <toolbar id="snapshots-toolbar"
  21. class="devtools-toolbar">
  22. <hbox id="snapshots-controls">
  23. <toolbarbutton id="clear-snapshots"
  24. class="devtools-toolbarbutton devtools-clear-icon"
  25. oncommand="SnapshotsListView._onClearButtonClick()"
  26. tooltiptext="&canvasDebuggerUI.clearSnapshots;"/>
  27. <toolbarbutton id="record-snapshot"
  28. class="devtools-toolbarbutton"
  29. oncommand="SnapshotsListView._onRecordButtonClick()"
  30. tooltiptext="&canvasDebuggerUI.recordSnapshot.tooltip;"
  31. hidden="true"/>
  32. <toolbarbutton id="import-snapshot"
  33. class="devtools-toolbarbutton"
  34. oncommand="SnapshotsListView._onImportButtonClick()"
  35. tooltiptext="&canvasDebuggerUI.importSnapshot;"/>
  36. </hbox>
  37. </toolbar>
  38. <vbox id="snapshots-list" flex="1"/>
  39. </vbox>
  40. <vbox id="debugging-pane" class="devtools-main-content" flex="1">
  41. <hbox id="reload-notice"
  42. class="notice-container"
  43. align="center"
  44. pack="center"
  45. flex="1">
  46. <button id="reload-notice-button"
  47. class="devtools-toolbarbutton"
  48. standalone="true"
  49. label="&canvasDebuggerUI.reloadNotice1;"
  50. oncommand="gFront.setup({ reload: true })"/>
  51. <label id="reload-notice-label"
  52. class="plain"
  53. value="&canvasDebuggerUI.reloadNotice2;"/>
  54. </hbox>
  55. <hbox id="empty-notice"
  56. class="notice-container"
  57. align="center"
  58. pack="center"
  59. flex="1"
  60. hidden="true">
  61. <label value="&canvasDebuggerUI.emptyNotice1;"/>
  62. <button id="canvas-debugging-empty-notice-button"
  63. class="devtools-toolbarbutton"
  64. standalone="true"
  65. oncommand="SnapshotsListView._onRecordButtonClick()"/>
  66. <label value="&canvasDebuggerUI.emptyNotice2;"/>
  67. </hbox>
  68. <hbox id="waiting-notice"
  69. class="notice-container devtools-throbber"
  70. align="center"
  71. pack="center"
  72. flex="1"
  73. hidden="true">
  74. <label id="requests-menu-waiting-notice-label"
  75. class="plain"
  76. value="&canvasDebuggerUI.waitingNotice;"/>
  77. </hbox>
  78. <box id="debugging-pane-contents"
  79. class="devtools-responsive-container"
  80. flex="1"
  81. hidden="true">
  82. <vbox id="calls-list-container" flex="1">
  83. <toolbar id="debugging-toolbar"
  84. class="devtools-toolbar">
  85. <hbox id="debugging-controls"
  86. class="devtools-toolbarbutton-group">
  87. <toolbarbutton id="resume"
  88. class="devtools-toolbarbutton"
  89. oncommand="CallsListView._onResume()"/>
  90. <toolbarbutton id="step-over"
  91. class="devtools-toolbarbutton"
  92. oncommand="CallsListView._onStepOver()"/>
  93. <toolbarbutton id="step-in"
  94. class="devtools-toolbarbutton"
  95. oncommand="CallsListView._onStepIn()"/>
  96. <toolbarbutton id="step-out"
  97. class="devtools-toolbarbutton"
  98. oncommand="CallsListView._onStepOut()"/>
  99. </hbox>
  100. <toolbarbutton id="debugging-toolbar-sizer-button"
  101. class="devtools-toolbarbutton"
  102. label=""/>
  103. <scale id="calls-slider"
  104. movetoclick="true"
  105. flex="100"/>
  106. <textbox id="calls-searchbox"
  107. class="devtools-filterinput"
  108. placeholder="&canvasDebuggerUI.searchboxPlaceholder;"
  109. type="search"
  110. flex="1"/>
  111. </toolbar>
  112. <vbox id="calls-list" flex="1"/>
  113. </vbox>
  114. <splitter class="devtools-side-splitter"/>
  115. <vbox id="screenshot-container"
  116. hidden="true">
  117. <vbox id="screenshot-image" flex="1"/>
  118. <label id="screenshot-dimensions" class="plain"/>
  119. </vbox>
  120. </box>
  121. <hbox id="snapshot-filmstrip"
  122. hidden="true"/>
  123. </vbox>
  124. </hbox>
  125. </window>