Home
last modified time | relevance | path

Searched refs:cardSlider (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/resources/ntp4/
Dpage_list_view.js29 cardSlider: undefined, property in PageListView
172 this.cardSlider = new cr.ui.CardSlider(this.sliderFrame, this.pageList,
177 var cardSlider = this.cardSlider;
179 if (cardSlider.cardCount <= 1)
189 if (cardSlider.currentCardValue.handleMouseWheel(e)) {
195 this.cardSlider.initialize(
230 this.cardSlider.addCardAtIndex(page, refIndex);
232 this.cardSlider.appendCard(page);
329 var prevCurrentCard = this.cardSlider.currentCard;
335 this.cardSlider.currentCard = 0;
[all …]
Dpage_switcher.js41 var cardSlider = ntp.getCardSlider();
42 var index = cardSlider.currentCard + this.direction_;
43 var numCards = cardSlider.cardCount - 1;
Dnew_tab.js256 newTabView.cardSlider.currentCardValue.navigationDot.classList.add(
458 newTabView.cardSlider.frame.addEventListener(
471 newTabView.cardSlider.frame.removeEventListener(
481 if (newTabView.cardSlider.currentCardValue.notification)
494 var page = newTabView.cardSlider.currentCardValue;
496 if (page != newTabView.cardSlider.currentCardValue)
659 return newTabView.cardSlider;
/external/chromium/chrome/browser/resources/ntp4/
Dnew_tab.js20 var cardSlider;
123 cardSlider = new CardSlider(sliderFrame, pageList, [], 0,
125 cardSlider.initialize();
129 cardSlider.resize(sliderFrame.offsetWidth);
140 var newPageIndex = e.cardSlider.currentCard;
281 dots[cardSlider.currentCard].classList.add('selected');
327 var pageNo = cardSlider.currentCard;
333 cardSlider.setCards(pageArray, pageNo);
363 cardSlider.selectCard(dotCount, true);
496 var curPage = appsPages[cardSlider.currentCard];
[all …]
Dcard_slider.js351 event.cardSlider = this;
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dcard_slider.js354 e.cardSlider = this;
516 event.cardSlider = this;