Home | History | Annotate | Download | only in WebView

Lines Matching full:page

103 #import <WebCore/Page.h>
246 // This number determines how small we are willing to reduce the page content
247 // in order to accommodate the widest line. If the page would have to be
252 // This number determines how short the last printed page of a multi-page print session
259 // numbers of pages, logic to avoid breaking elements, and CSS-supplied hard page breaks.
899 // Calculate the vertical size of the view that fits on a single page
905 // Calculate the page height in points
1759 // AppKit's pagination code to use the correct height for the page content. Leaving printing
1998 Page* page = core([self _webView]);
1999 if (page)
2000 page->dragController()->setDraggingImageURL(KURL());
3072 Page* page = coreFrame->page();
3073 if (!page)
3078 page->contextMenuController()->clearContextMenu();
3086 // Re-get page, since it might have gone away during event handling.
3087 page = coreFrame->page();
3088 if (!page)
3091 ContextMenu* coreMenu = page->contextMenuController()->contextMenu();
3411 // If the web page handles the context menu event and menuForEvent: returns nil, we'll get control click events here.
3456 if (Page* page = frame->page())
3457 page->mainFrame()->eventHandler()->mouseDragged(event);
3468 Page* page = core([self _webView]);
3469 if (!page)
3472 return (NSDragOperation)page->dragController()->sourceDragOperation();
3482 if (Page* page = core([self _webView])) {
3483 DragController* dragController = page->dragController();
3531 Page* page = core([self _webView]);
3534 //us no ability to get to the original Page, so we cannot access any drag state
3536 if (!page)
3539 const KURL& imageURL = page->dragController()->draggingImageURL();
3580 if (Page* page = frame->page())
3581 page->mainFrame()->eventHandler()->mouseUp(event);
3632 Page* page = frame->page();
3633 if (!page)
3637 page->focusController()->setFocusedFrame(frame);
3639 page->focusController()->setFocused(true);
3646 page->focusController()->setInitialFocus(direction == NSSelectingNext ? FocusDirectionForward : FocusDirectionBackward,
3659 Page* page = coreFrame->page();
3660 if (!page)
3672 page->focusController()->setFocused(false);
3868 // Certain types of errors, including invalid page ranges, can cause beginDocument and
3889 // AppKit gets all messed up if you give it a zero-length page count (see 3576334), so if we
3891 // a blank page (with correct-looking header and footer if that option is on), which matches
3896 // If the last page is a short orphan, try adjusting the print height slightly to see if this will squeeze the
3897 // content onto one fewer page. If it does, use the adjusted scale. If not, use the original scale.
3902 // Use the adjusted rects only if the page count went down
3917 // Return the drawing rectangle for a particular page number
3918 - (NSRect)rectForPage:(NSInteger)page
3920 return [[_private->pageRects objectAtIndex:page - 1] rectValue];