Lines Matching refs:Function
36 function getAppPingUrl(prefix, data, bucket) {
42 function getSectionCloseButton(sectionId) {
46 function getSectionMenuButton(sectionId) {
50 function getSectionMenuButtonTextId(sectionId) {
54 function setSectionMenuMode(sectionId, section, menuModeEnabled, menuModeMask) {
73 function clearClosedMenu(menu) {
77 function addClosedMenuEntryWithLink(menu, a) {
84 function addClosedMenuEntry(menu, url, title, imageUrl, opt_pingUrl) {
94 function addClosedMenuFooter(menu, sectionId, mask, opt_section) {
109 function(e) {
119 function initializeSection(sectionId, mask, opt_section) {
123 function() {
129 function updateSimpleSection(id, section) {
158 function foreignSessions(data) {
167 function renderForeignSessions() {
174 sessionItems.forEach(function(item, i) {
183 function layoutForeignSessions() {
198 function createForeignSession(client, name) {
205 client.forEach(function(win, i) {
222 win.tabs.sort(function(a, b) {
227 win.tabs.forEach(function(data) {
252 function recentlyClosedTabs(data) {
260 function renderRecentlyClosed() {
268 recentItems.forEach(function(item) {
277 function createRecentItem(data) {
304 function addRecentMenuItem(menu, data) {
318 function clickHandler(e) {
326 function saveShownSections() {
337 function handleWindowResize() {
369 function SectionLayoutInfo(section) {
383 SectionLayoutInfo.getAll = function() {
394 function updateMiniviewClipping(miniview) {
409 function updateAllMiniviewClippings() {
417 function hasScrollBars() {
422 function showScrollBars() {
427 function hideScrollBars() {
433 function isAnimating() {
467 function layoutSections() {
567 function updateMask(maxiview, visibleHeightPx) {
597 function getColorStopString(height, color) {
605 function updateMenuSections() {
624 function getSectionElement(section) {
635 function getSectionMaxiview(section) {
639 function getSectionMiniview(section) {
644 function showSection(section) {
657 // asynchronously from another function, after the display is toggled.
661 setTimeout(function () {
688 function showOnlySection(section) {
697 function hideSection(section) {
725 setTimeout(function() {
734 window.addEventListener('webkitTransitionEnd', function(e) {
751 function setShownSections(newShownSections) {
769 function layoutRecentlyClosed() {
787 * This function is called by the backend whenever the sync status section
807 function syncMessageChanged(newMessage) {
860 function syncSectionLinkClicked(e) {
869 function syncAlreadyEnabled(message) {
878 function formatTabsText(numTabs) {
886 function themeChanged(hasAttribution) {
892 function updateAttribution() {
909 function updateAttributionDisplay(contentBottom) {
933 function bookmarkBarAttached() {
937 function bookmarkBarDetached() {
941 function viewLog() {
962 function afterTransition(f) {
983 * @param {function=} opt_f Function to call when the user clicks the action
988 function showNotification(message, actionText, opt_f, opt_delay) {
991 var f = opt_f || function() {};
994 function show() {
1000 function delayedHide() {
1004 function doAction() {
1009 function closeNotification() {
1058 function hideNotification() {
1079 function showPromoNotification() {
1082 function () { chrome.send('SyncLinkClicked'); },
1088 $('main').addEventListener('click', function(e) {
1108 $('most-visited-settings').addEventListener('click', function() {
1112 function toggleSectionVisibilityAndAnimate(section) {
1130 function handleIfEnterKey(f) {
1131 return function(e) {
1137 function maybeReopenTab(e) {
1138 var el = findAncestor(e.target, function(el) {
1151 function maybeOpenForeignSession(e) {
1152 var el = findAncestor(e.target, function(el) {
1163 function maybeOpenForeignWindow(e) {
1164 var el = findAncestor(e.target, function(el) {
1176 function maybeOpenForeignTab(e) {
1177 var el = findAncestor(e.target, function(el) {
1192 function setWindowTooltipTimeout(e) {
1193 window.setTimeout(function() {
1198 function maybeShowWindowTooltip(e) {
1199 var f = function(el) {
1236 function WindowTooltip(tooltipEl) {
1242 WindowTooltip.trackMouseMove_ = function(e) {
1255 handleMouseOver: function(e, linkEl, tabs) {
1266 show: function(type, linkEl, tabs) {
1304 handleMouseOut: function(e) {
1306 var f = function(el) {
1315 hide: function() {
1326 renderItems: function(tabs) {
1330 tabs.forEach(function(tab) {
1363 function callGetSyncMessageIfSyncIsPresent() {
1370 document.addEventListener('mouseover', function(e) {
1377 var el = findAncestor(e.target, function(el) {
1393 function fixLinkUnderlines(node) {
1402 function fixLinkUnderline(el) {
1413 function initializeLogin() {
1417 function updateLogin(login) {
1431 function mostVisitedPages(data, firstRun, hasBlacklistedUrls) {
1441 window.setTimeout(function() {
1451 function maybeDoneLoading() {
1456 function isDoneLoading() {
1463 document.addEventListener('DOMContentLoaded', function() {
1464 $('apps-promo-hide').addEventListener('click', function() {