author Mike Hommey <>
Fri, 30 Oct 2015 11:31:14 +0900
changeset 306652 8f3b9c2b450c44d6835e88bf991fdf492c0185b0
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 1222323 - Avoid passing extra defines to the compiler from r=gps C/C++ code should not be relying on XPI_NAME or AB_CD being defined, so moving them out works.

<?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 -->

<overlay id="globalOverlay"

  <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
  <script type="application/javascript"><![CDATA[

    function FillInTooltip ( tipElement )
      var retVal = false;
      var textNode = document.getElementById("TOOLTIP-tooltipText");
      if (textNode) {
        while (textNode.hasChildNodes())
        var tipText = tipElement.getAttribute("tooltiptext");
        if (tipText) {
          var node = document.createTextNode(tipText);
          retVal = true;
      return retVal;


  <popupset id="aTooltipSet">
    <tooltip id="aTooltip" class="tooltip" onpopupshowing="return FillInTooltip(document.tooltipNode);">
      <label id="TOOLTIP-tooltipText" class="tooltip-label" flex="1"/>