Home
last modified time | relevance | path

Searched refs:pageIndex (Results 1 – 25 of 25) sorted by relevance

/external/chromium/chrome/browser/resources/ntp4/
Dnew_tab.js261 var pageIndex = (app.page_index || 0);
262 while (pageIndex >= appsPages.length) {
270 appsPages[pageIndex].appendApp(app);
568 var pageIndex = cardSlider.currentCard;
569 assert(pageIndex >= 0 && pageIndex < appsPages.length,
571 if (appsPages[pageIndex] != draggingAppOriginalPage)
572 chrome.send('setPageIndex', [appId, pageIndex]);
/external/chromium/chrome/browser/resources/touch_ntp/
Dnewtab.js270 var pageIndex = (app.page_index || 0);
271 while (pageIndex >= appsPages.length) {
278 appendApp(appsPages[pageIndex], app);
678 var pageIndex = slider.currentCard;
679 assert(pageIndex >= 0 && pageIndex < appsPages.length,
681 if (appsPages[pageIndex] != draggingAppOriginalPage)
682 chrome.send('setPageIndex', [appId, pageIndex]);
/external/webkit/Source/WebCore/css/
DCSSStyleSelector.h107 PassRefPtr<RenderStyle> styleForPage(int pageIndex);
223 bool isLeftPage(int pageIndex) const;
224 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } in isRightPage() argument
225 bool isFirstPage(int pageIndex) const;
226 String pageName(int pageIndex) const;
DCSSStyleSelector.cpp1708 PassRefPtr<RenderStyle> CSSStyleSelector::styleForPage(int pageIndex) in styleForPage() argument
1715 const bool isLeft = isLeftPage(pageIndex); in styleForPage()
1716 const bool isFirst = isFirstPage(pageIndex); in styleForPage()
1717 const String page = pageName(pageIndex); in styleForPage()
3434 bool CSSStyleSelector::isLeftPage(int pageIndex) const in isLeftPage()
3440 return (pageIndex + (isFirstPageLeft ? 1 : 0)) % 2; in isLeftPage()
3443 bool CSSStyleSelector::isFirstPage(int pageIndex) const in isFirstPage()
3446 return (!pageIndex); in isFirstPage()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
DWKBundle.cpp166 …ndMarginsInPixels(WKBundleRef bundleRef, WKBundleFrameRef frameRef, int pageIndex, int width, int … in WKBundlePageSizeAndMarginsInPixels() argument
168 …return toCopiedAPI(toImpl(bundleRef)->pageSizeAndMarginsInPixels(toImpl(frameRef), pageIndex, widt… in WKBundlePageSizeAndMarginsInPixels()
171 …PORT bool WKBundleIsPageBoxVisible(WKBundleRef bundleRef, WKBundleFrameRef frameRef, int pageIndex) in WKBundleIsPageBoxVisible() argument
173 return toImpl(bundleRef)->isPageBoxVisible(toImpl(frameRef), pageIndex); in WKBundleIsPageBoxVisible()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundle.cpp179 String InjectedBundle::pageSizeAndMarginsInPixels(WebFrame* frame, int pageIndex, int width, int he… in pageSizeAndMarginsInPixels() argument
185 …return PrintContext::pageSizeAndMarginsInPixels(coreFrame, pageIndex, width, height, marginTop, ma… in pageSizeAndMarginsInPixels()
188 bool InjectedBundle::isPageBoxVisible(WebFrame* frame, int pageIndex) in isPageBoxVisible() argument
194 return PrintContext::isPageBoxVisible(coreFrame, pageIndex); in isPageBoxVisible()
/external/webkit/Source/WebCore/page/
DPrintContext.cpp354 for (size_t pageIndex = 0; pageIndex < pageRects.size(); pageIndex++) { in spoolAllPagesWithBoundaries() local
356 if (pageIndex > 0) { in spoolAllPagesWithBoundaries()
367 printContext.spoolPage(graphicsContext, pageIndex, pageWidth); in spoolAllPagesWithBoundaries()
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DLayoutTestController.h120 …JSRetainPtr<JSStringRef> pageSizeAndMarginsInPixels(int pageIndex, int width, int height, int marg…
121 bool isPageBoxVisible(int pageIndex);
DLayoutTestController.cpp341 JSRetainPtr<JSStringRef> LayoutTestController::pageSizeAndMarginsInPixels(int pageIndex, int width,… in pageSizeAndMarginsInPixels() argument
344 …ageSizeAndMarginsInPixels(InjectedBundle::shared().bundle(), mainFrame, pageIndex, width, height, … in pageSizeAndMarginsInPixels()
347 bool LayoutTestController::isPageBoxVisible(int pageIndex) in isPageBoxVisible() argument
350 return WKBundleIsPageBoxVisible(InjectedBundle::shared().bundle(), mainFrame, pageIndex); in isPageBoxVisible()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DDumpRenderTreeSupportQt.h184 static bool isPageBoxVisible(QWebFrame* frame, int pageIndex); in Q_DECLARE_METATYPE()
186 …static QString pageSizeAndMarginsInPixels(QWebFrame* frame, int pageIndex, int width, int height, … in Q_DECLARE_METATYPE()
DDumpRenderTreeSupportQt.cpp904 bool DumpRenderTreeSupportQt::isPageBoxVisible(QWebFrame* frame, int pageIndex) in isPageBoxVisible() argument
907 return coreFrame->document()->isPageBoxVisible(pageIndex); in isPageBoxVisible()
910 QString DumpRenderTreeSupportQt::pageSizeAndMarginsInPixels(QWebFrame* frame, int pageIndex, int wi… in pageSizeAndMarginsInPixels() argument
913 return PrintContext::pageSizeAndMarginsInPixels(coreFrame, pageIndex, width, height, in pageSizeAndMarginsInPixels()
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/
DLayoutTestController.idl71 …DOMString pageSizeAndMarginsInPixels(in int pageIndex, in int width, in int height, in int marginT…
72 boolean isPageBoxVisible(in int pageIndex);
/external/webkit/Tools/DumpRenderTree/qt/
DLayoutTestControllerQt.h255 bool isPageBoxVisible(int pageIndex);
256 …QString pageSizeAndMarginsInPixels(int pageIndex, int width, int height, int marginTop, int margin…
DLayoutTestControllerQt.cpp825 bool LayoutTestController::isPageBoxVisible(int pageIndex) in isPageBoxVisible() argument
827 return DumpRenderTreeSupportQt::isPageBoxVisible(m_drt->webPage()->mainFrame(), pageIndex); in isPageBoxVisible()
830 QString LayoutTestController::pageSizeAndMarginsInPixels(int pageIndex, int width, int height, int … in pageSizeAndMarginsInPixels() argument
832 …eturn DumpRenderTreeSupportQt::pageSizeAndMarginsInPixels(m_drt->webPage()->mainFrame(), pageIndex, in pageSizeAndMarginsInPixels()
/external/webkit/Source/WebKit/chromium/public/
DWebFrame.h461 virtual bool isPageBoxVisible(int pageIndex) = 0;
467 virtual void pageSizeAndMarginsInPixels(int pageIndex,
/external/webkit/Source/WebKit/chromium/src/
DWebFrameImpl.h173 virtual bool isPageBoxVisible(int pageIndex);
174 virtual void pageSizeAndMarginsInPixels(int pageIndex,
DWebFrameImpl.cpp1443 bool WebFrameImpl::isPageBoxVisible(int pageIndex) in isPageBoxVisible() argument
1445 return frame()->document()->isPageBoxVisible(pageIndex); in isPageBoxVisible()
1448 void WebFrameImpl::pageSizeAndMarginsInPixels(int pageIndex, in pageSizeAndMarginsInPixels() argument
1456 frame()->document()->pageSizeAndMarginsInPixels(pageIndex, in pageSizeAndMarginsInPixels()
/external/webkit/Tools/WinLauncher/
DPrintWebUIDelegate.cpp165 /* [in] */ UINT pageIndex, in drawFooterInRect() argument
/external/webkit/Source/WebKit/mac/WebView/
DWebPDFView.mm784 unsigned int pageIndex = [[PDFSubview document] indexForPage:[PDFSubview currentPage]];
785 [state addObject:[NSNumber numberWithUnsignedInt:pageIndex]];
803 unsigned int pageIndex = [[state objectAtIndex:i++] unsignedIntValue];
804 [PDFSubview goToPage:[[PDFSubview document] pageAtIndex:pageIndex]];
1480 NSUInteger pageIndex;
1481 for (pageIndex = firstVisiblePageIndex; pageIndex <= lastVisiblePageIndex; ++pageIndex)
1482 [result addObject:[pdfDocument pageAtIndex:pageIndex]];
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebInspectorDelegate.h271 /* [in] */ UINT pageIndex, in drawFooterInRect() argument
/external/webkit/Source/WebCore/dom/
DDocument.h528 PassRefPtr<RenderStyle> styleForPage(int pageIndex);
533 bool isPageBoxVisible(int pageIndex);
539 …void pageSizeAndMarginsInPixels(int pageIndex, IntSize& pageSize, int& marginTop, int& marginRight…
DDocument.cpp1628 PassRefPtr<RenderStyle> Document::styleForPage(int pageIndex) in styleForPage() argument
1630 RefPtr<RenderStyle> style = styleSelector()->styleForPage(pageIndex); in styleForPage()
1648 bool Document::isPageBoxVisible(int pageIndex) in isPageBoxVisible() argument
1650 RefPtr<RenderStyle> style = styleForPage(pageIndex); in isPageBoxVisible()
1654 void Document::pageSizeAndMarginsInPixels(int pageIndex, IntSize& pageSize, int& marginTop, int& ma… in pageSizeAndMarginsInPixels() argument
1656 RefPtr<RenderStyle> style = styleForPage(pageIndex); in pageSizeAndMarginsInPixels()
/external/webkit/Tools/DumpRenderTree/win/
DUIDelegate.h278 /* [in] */ UINT pageIndex,
DUIDelegate.cpp331 /* [in] */ UINT pageIndex, in drawFooterInRect() argument
/external/webkit/Source/WebKit/win/Interfaces/
DIWebUIDelegate.idl745 …ew* webView, [in] RECT* rect, [in] OLE_HANDLE drawingContext, [in] UINT pageIndex, [in] UINT pageC…