author | "Helen V. Holmes" <hholmes@mozilla.com> |
Tue, 12 Jul 2016 20:26:00 +0200 | |
changeset 304916 | 006a4f4e68522332a36fd7eccd9664b73efae975 |
parent 304915 | 105d425837e7032cf740863d00a36dc65d278a2b |
child 304917 | 0ec4b1228536dabe17e78060f4413fc91b162d58 |
push id | 30446 |
push user | cbook@mozilla.com |
push date | Thu, 14 Jul 2016 09:44:34 +0000 |
treeherder | mozilla-central@cd9da00ffcc3 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | ntim |
bugs | 1247331 |
milestone | 50.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/devtools/client/canvasdebugger/canvasdebugger.xul +++ b/devtools/client/canvasdebugger/canvasdebugger.xul @@ -29,17 +29,17 @@ <toolbarbutton id="record-snapshot" class="devtools-toolbarbutton" oncommand="SnapshotsListView._onRecordButtonClick()" tooltiptext="&canvasDebuggerUI.recordSnapshot.tooltip;" hidden="true"/> <toolbarbutton id="import-snapshot" class="devtools-toolbarbutton" oncommand="SnapshotsListView._onImportButtonClick()" - label="&canvasDebuggerUI.importSnapshot;"/> + tooltiptext="&canvasDebuggerUI.importSnapshot;"/> </hbox> </toolbar> <vbox id="snapshots-list" flex="1"/> </vbox> <vbox id="debugging-pane" class="devtools-main-content" flex="1"> <hbox id="reload-notice" class="notice-container"
--- a/devtools/client/jar.mn +++ b/devtools/client/jar.mn @@ -325,16 +325,17 @@ devtools.jar: skin/tooltip/arrow-vertical-light@2x.png (themes/tooltip/arrow-vertical-light@2x.png) skin/images/reload.svg (themes/images/reload.svg) skin/images/security-state-broken.svg (themes/images/security-state-broken.svg) skin/images/security-state-insecure.svg (themes/images/security-state-insecure.svg) skin/images/security-state-local.svg (themes/images/security-state-local.svg) skin/images/security-state-secure.svg (themes/images/security-state-secure.svg) skin/images/security-state-weak.svg (themes/images/security-state-weak.svg) skin/images/diff.svg (themes/images/diff.svg) + skin/images/import.svg (themes/images/import.svg) skin/images/pane-collapse.svg (themes/images/pane-collapse.svg) skin/images/pane-expand.svg (themes/images/pane-expand.svg) # Firebug Theme skin/images/firebug/read-only.svg (themes/images/firebug/read-only.svg) skin/images/firebug/spinner.png (themes/images/firebug/spinner.png) skin/images/firebug/twisty-closed-firebug.svg (themes/images/firebug/twisty-closed-firebug.svg) skin/images/firebug/twisty-open-firebug.svg (themes/images/firebug/twisty-open-firebug.svg)
--- a/devtools/client/memory/components/toolbar.js +++ b/devtools/client/memory/components/toolbar.js @@ -267,19 +267,17 @@ module.exports = createClass({ ), dom.button( { id: "import-snapshot", className: "devtools-toolbarbutton import-snapshot devtools-button", onClick: onImportClick, title: L10N.getStr("import-snapshot"), - "data-text-only": true, - }, - L10N.getStr("import-snapshot") + } ) ), dom.label( { id: "record-allocation-stacks-label", title: L10N.getStr("checkbox.recordAllocationStacks.tooltip"), },
--- a/devtools/client/performance/performance.xul +++ b/devtools/client/performance/performance.xul @@ -87,17 +87,17 @@ <toolbarbutton id="clear-button" class="devtools-toolbarbutton devtools-clear-icon" tooltiptext="&performanceUI.clearButton;"/> <toolbarbutton id="main-record-button" class="devtools-toolbarbutton record-button" tooltiptext="&performanceUI.recordButton.tooltip;"/> <toolbarbutton id="import-button" class="devtools-toolbarbutton" - label="&performanceUI.importButton;"/> + tooltiptext="&performanceUI.importButton;"/> </hbox> </toolbar> <vbox id="recordings-list" class="theme-sidebar" flex="1"/> </vbox> <!-- Main panel content --> <vbox id="performance-pane" flex="1">
--- a/devtools/client/styleeditor/styleeditor.xul +++ b/devtools/client/styleeditor/styleeditor.xul @@ -92,22 +92,20 @@ <xul:box class="splitview-root devtools-responsive-container" context="sidebar-context"> <xul:box class="splitview-controller"> <xul:box class="splitview-main"> <xul:toolbar class="devtools-toolbar"> <xul:hbox class="devtools-toolbarbutton-group"> <xul:toolbarbutton class="style-editor-newButton devtools-toolbarbutton" accesskey="&newButton.accesskey;" - tooltiptext="&newButton.tooltip;" - label="&newButton.label;"/> + tooltiptext="&newButton.tooltip;"/> <xul:toolbarbutton class="style-editor-importButton devtools-toolbarbutton" accesskey="&importButton.accesskey;" - tooltiptext="&importButton.tooltip;" - label="&importButton.label;"/> + tooltiptext="&importButton.tooltip;"/> </xul:hbox> <xul:spacer/> <xul:toolbarbutton id="style-editor-options" class="devtools-toolbarbutton devtools-option-toolbarbutton" tooltiptext="&optionsButton.tooltip;" popup="style-editor-options-popup"/> </xul:toolbar> </xul:box>
--- a/devtools/client/themes/canvasdebugger.css +++ b/devtools/client/themes/canvasdebugger.css @@ -46,16 +46,20 @@ #snapshots-pane { border-inline-end: 1px solid var(--theme-splitter-color); } #record-snapshot { list-style-image: url("chrome://devtools/skin/images/profiler-stopwatch.svg"); } +#import-snapshot { + list-style-image: url("images/import.svg"); +} + /* Snapshots items */ .snapshot-item-thumbnail { image-rendering: -moz-crisp-edges; background-image: var(--checkerboard-pattern); background-size: 12px 12px, 12px 12px; background-position: 0px 0px, 6px 6px; background-repeat: repeat, repeat;
--- a/devtools/client/themes/images/diff.svg +++ b/devtools/client/themes/images/diff.svg @@ -1,8 +1,9 @@ <!-- 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/. --> -<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="whitesmoke"> - <path d="M10.2 4.1c-.6 0-1.2.2-1.8.4-.6-.4-1.4-.6-2.2-.6-2.5 0-4.6 2.1-4.6 4.6s2.1 4.6 4.6 4.6c.9 0 1.6-.2 2.3-.7.5.2 1.1.4 1.7.4 2.4 0 4.3-1.9 4.3-4.3.1-2.4-1.9-4.4-4.3-4.4zm-4 7.9c-1.9 0-3.5-1.6-3.5-3.5S4.2 5 6.2 5c.3 0 .7 0 1 .1-.8.9-1.4 2.1-1.4 3.4 0 1.3.6 2.5 1.5 3.3-.4.1-.8.2-1.1.2zm2.1-.7c-.9-.6-1.4-1.6-1.4-2.8 0-1.1.6-2.1 1.4-2.8.8.6 1.4 1.6 1.4 2.8 0 1.1-.6 2.1-1.4 2.8z"/> - <path d="M7.6 8c-.2 0-.3-.1-.4-.2-.1-.2 0-.4.2-.5l1.1-.6c.2-.1.4 0 .5.2.1.2 0 .4-.2.5l-1.1.5c0 .1-.1.1-.1.1zM7.6 9.1c-.1 0-.3-.1-.4-.2-.1-.2 0-.4.2-.5l1.1-.6c.3-.1.5 0 .6.2.1.2 0 .4-.2.5l-1.1.6h-.2zM7.8 10.3c-.1 0-.3-.1-.4-.2-.1-.2 0-.4.2-.5L8.8 9c.2-.1.4 0 .5.2.1.2 0 .4-.2.5l-1.1.6h-.2z"/> - </svg> - \ No newline at end of file +<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="whitesmoke"> + <path d="M6 13A5 5 0 1 0 6 3a5 5 0 0 0 0 10zm0-.91a4.09 4.09 0 1 1 0-8.18 4.09 4.09 0 0 1 0 8.18z"/> + <path d="M10 13a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0-.91a4.09 4.09 0 1 1 0-8.18 4.09 4.09 0 0 1 0 8.18z"/> + <path d="M7.146 8.854l1 1a.5.5 0 0 0 .708-.708l-1-1a.5.5 0 1 0-.708.708zM7.146 6.854l1 1a.5.5 0 1 0 .708-.708l-1-1a.5.5 0 1 0-.708.708z"/> + <path d="M12.656 11.723c-2.044 1.169-3.872 1.015-4.282.577-.41-.438 2.115-1.269 2.115-3.925 0-2.657-2.115-4.827-2.115-4.827s2.919-.47 4.282.624c1.364 1.094 2.12 1.975 1.85 3.828-.103.703.194 2.555-1.85 3.723z" fill-opacity=".3"/> +</svg>
new file mode 100644 --- /dev/null +++ b/devtools/client/themes/images/import.svg @@ -0,0 +1,8 @@ +<!-- 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/. --> +<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="whitesmoke"> + <path d="M7.864 1.417c-.123-.13-.305-.185-.48-.144-.173.04-.312.172-.363.343-.05.17-.007.357.116.487l4 4.243c.19.2.506.21.707.02.2-.188.21-.505.02-.706l-4-4.243z"/> + <path d="M7.136 1.414l-4 4.243c-.19.2-.18.518.02.707.202.19.52.18.708-.02l4-4.244c.123-.13.166-.316.115-.487-.052-.17-.19-.302-.365-.343-.174-.04-.356.014-.48.144zM1.5 8c-.276 0-.5.224-.5.5v5c0 .2.224.5.5.5h12c.276 0 .5-.3.5-.5v-5c0-.276-.224-.5-.5-.5h-3c-.28 0-.5.224-.5.5s.22.5.5.5H13v4H2V9h2.5c.27 0 .5-.224.5-.5S4.77 8 4.5 8h-3z"/> + <path d="M7 2v9c0 .276.224.5.5.5s.5-.224.5-.5V2c0-.276-.224-.5-.5-.5S7 1.724 7 2z"/> +</svg>
--- a/devtools/client/themes/memory.css +++ b/devtools/client/themes/memory.css @@ -110,28 +110,26 @@ html, body, #app, #memory-tool { #clear-snapshots::before { background-image: url(chrome://devtools/skin/images/clear.svg); } #diff-snapshots::before { background-image: url(chrome://devtools/skin/images/diff.svg); } +#import-snapshot::before { + background-image: url(chrome://devtools/skin/images/import.svg); +} + #record-allocation-stacks-label, #pop-view-button-label { border-inline-end: 1px solid var(--theme-splitter-color); padding-inline-end: 5px; } -#import-snapshot, -#clear-snapshots { - -moz-box-align: center; - flex-grow: 1; -} - .spacer { flex: 1; } #filter { align-self: stretch; margin: 2px; }
--- a/devtools/client/themes/performance.css +++ b/devtools/client/themes/performance.css @@ -86,21 +86,25 @@ } /* Recording buttons */ #main-record-button { list-style-image: url(images/profiler-stopwatch.svg); } -#main-record-button .button-icon { +#import-button { + list-style-image: url(images/import.svg); +} + +#main-record-button .button-icon, #import-button .button-icon { margin: 0; } -#main-record-button .button-text { +#main-record-button .button-text, #import-button .button-text { display: none; } .notice-container .record-button { padding: 5px !important; } .notice-container .record-button[checked],
--- a/devtools/client/themes/styleeditor.css +++ b/devtools/client/themes/styleeditor.css @@ -1,13 +1,21 @@ /* vim:set ts=2 sw=2 sts=2 et: */ /* 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/. */ +.style-editor-newButton { + list-style-image: url(images/add.svg); +} + +.style-editor-importButton { + list-style-image: url(images/import.svg); +} + .stylesheet-title, .stylesheet-name { text-decoration: none; } .stylesheet-name { font-size: 13px; }