Searched refs:selectionRect (Results 1 - 25 of 26) sorted by relevance

12

/external/webkit/Source/WebCore/editing/mac/
H A DSelectionControllerMac.mm67 IntRect selectionRect = absoluteCaretBounds();
70 selectionRect = frameView->contentsToScreen(selectionRect);
72 CGRect cgCaretRect = CGRectMake(selectionRect.x(), selectionRect.y(), selectionRect.width(), selectionRect.height());
/external/webkit/Source/WebKit/mac/WebView/
H A DWebDocumentPrivate.h53 - (NSRect)selectionRect;
60 // NOTE: This method is equivalent to selectionRect and shouldn't be used; use selectionRect instead.
H A DWebPDFView.mm846 - (NSRect)selectionRect
869 return [NSArray arrayWithObject:[NSValue valueWithRect:[self selectionRect]]];
894 NSImage* selectionImage = [[[NSImage alloc] initWithSize:[self selectionRect].size] autorelease];
908 return [self selectionRect];
1330 NSRect selectionRect = [PDFSubview convertRect:[[PDFSubview currentSelection] boundsForPage:page] fromPage:page];
1332 return NSPointInRect(point, selectionRect);
H A DWebHTMLView.mm1801 // FIXME: _selectionRect is deprecated in favor of selectionRect, which is in protocol WebDocumentSelection.
1805 return [self selectionRect];
1901 return [self selectionRect];
6194 - (NSRect)selectionRect
/external/webkit/Source/WebCore/rendering/
H A DEllipsisBox.h45 IntRect selectionRect(int tx, int ty);
H A DRenderText.cpp318 // function to take ints causes various internal mismatches. But selectionRect takes ints, and
319 // passing UINT_MAX to it causes trouble. Ideally we'd change selectionRect to take unsigneds, but
331 IntRect selectionRect = box->selectionRect(0, 0, start, end); local
332 r.setHeight(selectionRect.height());
333 r.setY(selectionRect.y());
341 IntRect r = box->selectionRect(0, 0, start, realEnd);
344 // change the height and y position because selectionRect uses selection-specific values
376 return ellipsis->selectionRect(0, 0);
408 // function to take ints causes various internal mismatches. But selectionRect take
421 IntRect selectionRect = box->selectionRect(0, 0, start, end); local
[all...]
H A DEllipsisBox.cpp73 IntRect EllipsisBox::selectionRect(int tx, int ty) function in class:WebCore::EllipsisBox
H A DInlineTextBox.h100 virtual IntRect selectionRect(int absx, int absy, int startPos, int endPos);
H A DRenderWidget.cpp326 // FIXME: selectionRect() is in absolute, not painting coordinates.
327 paintInfo.context->fillRect(selectionRect(), selectionBackgroundColor(), style()->colorSpace());
H A DRenderObject.h691 IntRect selectionRect(bool clipToVisibleContent = true) { return selectionRectForRepaint(0, clipToVisibleContent); } function in class:WebCore::RenderObject
H A DInlineTextBox.cpp174 IntRect InlineTextBox::selectionRect(int tx, int ty, int startPos, int endPos) function in class:WebCore::InlineTextBox
/external/webkit/Source/WebKit2/UIProcess/
H A DFindIndicator.h56 FindIndicator(const WebCore::FloatRect& selectionRect, const Vector<WebCore::FloatRect>& textRects, PassRefPtr<ShareableBitmap> contentImage);
/external/webkit/Source/WebKit2/WebProcess/WebPage/
H A DFindController.cpp166 IntRect selectionRect = enclosingIntRect(selectedFrame->selection()->bounds());
169 if (selectionRect.isEmpty())
173 IntRect selectionRectInWindowCoordinates = selectedFrame->view()->contentsToWindow(selectionRect);
179 RefPtr<ShareableBitmap> findIndicatorTextBackingStore = ShareableBitmap::createShareable(selectionRect.size(), ShareableBitmap::SupportsAlpha);
185 IntRect paintRect = selectionRect;
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGInlineTextBox.cpp107 FloatRect selectionRect = scaledFont.selectionRectForText(constructTextRun(style, fragment), textOrigin, fragment.height * scalingFactor, startPosition, endPosition); local
109 return selectionRect;
111 selectionRect.scale(1 / scalingFactor);
112 return selectionRect;
115 IntRect SVGInlineTextBox::selectionRect(int, int, int startPosition, int endPosition) function in class:WebCore::SVGInlineTextBox
130 FloatRect selectionRect; local
148 selectionRect.unite(fragmentRect);
151 return enclosingIntRect(selectionRect);
H A DSVGInlineTextBox.h50 virtual IntRect selectionRect(int absx, int absy, int startPosition, int endPosition);
H A DRenderSVGInlineText.cpp119 IntRect rect = textBox->selectionRect(0, 0, caretOffset, caretOffset + 1);
124 IntRect rect = textBox->selectionRect(0, 0, caretOffset - 1, caretOffset);
/external/webkit/Source/WebKit/chromium/src/
H A DWebFrameImpl.h182 bool wrapWithinFrame, WebRect* selectionRect);
294 const WebRect& selectionRect, int activeMatchOrdinal, int identifier);
H A DWebFrameImpl.cpp1469 WebRect* selectionRect)
1547 if (selectionRect) {
1548 *selectionRect = frameView()->contentsToWindow(currSelectionRect);
1549 reportFindInPageSelection(*selectionRect, m_activeMatchIndex + 1, identifier);
1772 void WebFrameImpl::reportFindInPageSelection(const WebRect& selectionRect, argument
1778 client()->reportFindInPageSelection(identifier, ordinalOfFirstMatchForFrame(this) + activeMatchOrdinal, selectionRect);
1465 find(int identifier, const WebString& searchText, const WebFindOptions& options, bool wrapWithinFrame, WebRect* selectionRect) argument
/external/webkit/Source/WebKit/chromium/public/
H A DWebFrame.h479 // make it visible if needed) and fill in selectionRect with the
490 WebRect* selectionRect) = 0;
/external/webkit/Source/WebKit/win/Interfaces/
H A DIWebViewPrivate.idl99 HRESULT selectionRect([in, out] RECT* rc);
/external/webkit/Tools/DumpRenderTree/mac/
H A DPixelDumpSupportMac.mm257 NSRect rect = [documentView convertRect:[(id <WebDocumentSelection>)documentView selectionRect] fromView:nil];
/external/webkit/Source/WebCore/editing/
H A DSelectionController.cpp1753 IntRect selectionRect = root->selectionBounds(clipToVisibleContent);
1754 return clipToVisibleContent ? intersection(selectionRect, view->visibleContentRect()) : selectionRect;
/external/webkit/Source/WebKit2/UIProcess/win/
H A DWebView.cpp1396 IntRect selectionRect; local
1423 selectionRect = IntRect(findIndicator->selectionRectInWindowCoordinates());
1427 (*m_findIndicatorCallback)(toAPI(this), hbmp, selectionRect, fadeOut, m_findIndicatorCallbackContext); local
/external/webkit/Source/WebKit/win/
H A DWebView.h654 virtual HRESULT STDMETHODCALLTYPE selectionRect(
H A DWebView.cpp3418 HRESULT STDMETHODCALLTYPE WebView::selectionRect(RECT* rc)

Completed in 2697 milliseconds

12