зеркало из https://github.com/mozilla/gecko-dev.git
097973bc25
This widget will be used for the profiler button. The profiler button is a two-part widget with both a command and a view. The command starts/stops the profiler, but the starting/stopping can also be performed from inside the view. The dropmarker button shows the view. When this widget is located in the panel, the start/stop action is only accessible via the view and there is no "quick-action" command. The structure of the widget is as follows: toolbaritem.toolbaritem-combined-buttons - toolbarbutton.toolbarbutton-1 - toolbarbutton.toolbarbutton-1.toolbarbutton-combined-buttons-dropmarker The dropmarker icon is the toolbarbutton icon of the second toolbarbutton. The dropmarker button is only shown in the toolbar or in the customize palette. It is hidden when the widget is located in the panel. In the toolbar, the hover effect of the dropmarker needs to have the same height as the hover effect of the regular button. However, due to the different image size (12x12 instead of 16x16) it requires more vertical padding. Differential Revision: https://phabricator.services.mozilla.com/D98216 |
||
---|---|---|
.. | ||
global | ||
mozapps | ||
reftests | ||
moz.build |