chrome/browser/resources/new_new_tab.js
/**
 * We need both most visited and the shown sections to be considered loaded.
 * @return {boolean}
 */
We need both most visited and the shown sections to be considered loaded.
@return {boolean}
We need both most visited and the shown sections to be considered loaded . @return { boolean }
function onDataLoaded() {
  if (gotMostVisited && gotShownSections) {
    mostVisited.layout();
    loading = false;
    window.setTimeout(function() {
      removeClass(document.body, 'loading');
    }, 1);
  }
}
function onDataLoaded ( ) { if ( gotMostVisited && gotShownSections ) { mostVisited . layout ( ) ; loading = false ; window . setTimeout ( function ( ) { removeClass ( document . body , 'loading' ) ; } , 1 ) ; } }
We need both most visited and the shown sections to be considered loaded.
We need both most visited and the shown sections to be considered loaded .
// Remove class name in a timeout so that changes done in this JS thread are // not animated.