From eccc1fe1ef9b099723776e204189a8e8899527e7 Mon Sep 17 00:00:00 2001 From: Greg Tatum Date: Fri, 31 May 2019 15:54:18 +0000 Subject: [PATCH] Bug 1307227 - Integrate the profiler popup widget into the browser; r=jdescottes This commit takes the popup, and wires it up the button using the CustomizableUI interface. It is integrated with the DevTools initialization code. Differential Revision: https://phabricator.services.mozilla.com/D31629 --HG-- extra : moz-landing-system : lando --- .../customizableui/content/panelUI.inc.xul | 4 + .../customizableWidgets.properties | 3 + .../themes/shared/toolbarbutton-icons.inc.css | 8 + devtools/client/jar.mn | 2 - .../client/locales/en-US/menus.properties | 5 + devtools/client/menus.js | 8 + .../performance-new/popup/menu-button.jsm | 150 ++++++++++++++++ .../client/performance-new/popup/moz.build | 2 +- .../client/performance-new/popup/popup.js | 7 + .../themes/images/profiler-stopwatch.svg | 2 +- devtools/startup/DevToolsStartup.jsm | 166 ++++++++++++++++-- .../locales/en-US/key-shortcuts.properties | 8 + 12 files changed, 351 insertions(+), 14 deletions(-) create mode 100644 devtools/client/performance-new/popup/menu-button.jsm diff --git a/browser/components/customizableui/content/panelUI.inc.xul b/browser/components/customizableui/content/panelUI.inc.xul index 62c73ee363ad..7860d028150e 100644 --- a/browser/components/customizableui/content/panelUI.inc.xul +++ b/browser/components/customizableui/content/panelUI.inc.xul @@ -625,6 +625,10 @@ + +