B2G/gecko/browser/components/tabview/search.js
// Performs when mouse up on a canvas of tab item.
Performs when mouse up on a canvas of tab item.
Performs when mouse up on a canvas of tab item .
function TabHandlers_showHandler(event) {
    if (TabHandlers._mouseDownLocation.x == event.clientX &&
        TabHandlers._mouseDownLocation.y == event.clientY) {
      Search.hide();
      return;
    }
    iQ("#searchshade").show();
    iQ("#search").show();
    iQ("#searchbox")[0].focus();
    setTimeout(Search.perform, 0);
  }
function TabHandlers_showHandler ( event ) { if ( TabHandlers . _mouseDownLocation . x == event . clientX && TabHandlers . _mouseDownLocation . y == event . clientY ) { Search . hide ( ) ; return ; } iQ ( "#searchshade" ) . show ( ) ; iQ ( "#search" ) . show ( ) ; iQ ( "#searchbox" ) [ 0 ] . focus ( ) ; setTimeout ( Search . perform , 0 ) ; }
Performs when mouse up on a canvas of tab item.
Performs when mouse up on a canvas of tab item .
// If the user clicks on a tab without moving the mouse then // they are zooming into the tab and we need to exit search // mode. // Marshal the search.