Home
last modified time | relevance | path

Searched refs:clientRect (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/
DDrawsGradient.cpp95 RECT clientRect; in paint() local
96 if (!::GetClientRect(window(), &clientRect)) in paint()
101 { clientRect.left, clientRect.top, 0, 0xff00, 0, 0 }, in paint()
103 { clientRect.right, clientRect.top, 0, 0, 0xff00, 0 }, in paint()
105 { clientRect.left, clientRect.bottom, 0xff00, 0xff00, 0, 0 }, in paint()
107 { clientRect.right, clientRect.bottom, 0xff00, 0, 0, 0 }, in paint()
DNPNInvalidateRectInvalidatesWindow.cpp149 RECT clientRect; in testInvalidateRect() local
150 if (!::GetClientRect(window(), &clientRect)) { in testInvalidateRect()
155 if (::IsRectEmpty(&clientRect)) { in testInvalidateRect()
168 rectToInvalidate.left = (clientRect.right - clientRect.left) / 2; in testInvalidateRect()
169 rectToInvalidate.top = (clientRect.bottom - clientRect.top) / 2; in testInvalidateRect()
170 rectToInvalidate.right = clientRect.right; in testInvalidateRect()
171 rectToInvalidate.bottom = clientRect.bottom; in testInvalidateRect()
/external/webkit/Source/WebCore/platform/graphics/ca/win/
DCACFLayerTreeHost.cpp243 RECT clientRect; in getDirtyRects() local
244 if (!GetClientRect(window, &clientRect)) in getDirtyRects()
252 outRects.append(winRectToCGRect(dirtyRect, clientRect)); in getDirtyRects()
266 outRects[i] = winRectToCGRect(*rect, clientRect); in getDirtyRects()
324 RECT clientRect; in bounds() local
325 GetClientRect(m_window, &clientRect); in bounds()
327 return winRectToCGRect(clientRect); in bounds()
/external/webkit/Source/WebCore/platform/win/
DPopupMenuWin.cpp131 if (clientRect().isEmpty()) in show()
406 return clientRect().height() / m_itemHeight; in visibleItems()
490 IntRect damageRect(clientRect()); in invalidateItem()
500 IntRect PopupMenuWin::clientRect() const in clientRect() function in WebCore::PopupMenuWin
502 IntRect clientRect = m_windowRect; in clientRect() local
503 clientRect.inflate(-popupWindowBorderWidth); in clientRect()
504 clientRect.setLocation(IntPoint(0, 0)); in clientRect()
505 return clientRect; in clientRect()
575 keepBitmap = bitmap.bmWidth == clientRect().width() in paint()
576 && bitmap.bmHeight == clientRect().height(); in paint()
[all …]
DPopupMenuWin.h64 IntRect clientRect() const;
/external/webkit/Source/WebKit2/UIProcess/win/
DWebPopupMenuProxyWin.cpp199 if (clientRect().isEmpty()) in showPopupMenu()
433 IntRect WebPopupMenuProxyWin::clientRect() const in clientRect() function in WebKit::WebPopupMenuProxyWin
435 IntRect clientRect = m_windowRect; in clientRect() local
436 clientRect.inflate(-popupWindowBorderWidth); in clientRect()
437 clientRect.setLocation(IntPoint(0, 0)); in clientRect()
438 return clientRect; in clientRect()
446 IntRect damageRect(clientRect()); in invalidateItem()
493 IntRect listRect = clientRect(); in scrollTo()
766 paint(clientRect(), hdc); in onPrintClient()
820 … keepBitmap = bitmap.bmWidth == clientRect().width() && bitmap.bmHeight == clientRect().height(); in paint()
[all …]
DWebPopupMenuProxyWin.h94 WebCore::IntRect clientRect() const;
DWebView.cpp950 RECT clientRect; in viewSize() local
951 GetClientRect(m_window, &clientRect); in viewSize()
953 return IntRect(clientRect).size(); in viewSize()
/external/webkit/Tools/WebKitAPITest/
DHostWindow.h40 RECT clientRect() const;
DHostWindow.cpp51 RECT HostWindow::clientRect() const in clientRect() function in WebKitAPITest::HostWindow
/external/chromium/chrome/browser/resources/options/
Doptions_page.js581 var clientRect = e.getBoundingClientRect();
582 return x >= clientRect.left && x <= clientRect.right &&
583 y >= clientRect.top && y <= clientRect.bottom;
/external/webkit/Tools/DumpRenderTree/chromium/
DWebViewHost.cpp654 WebRect clientRect(0, 0, widgetSize.width, widgetSize.height); in scheduleComposite() local
655 didInvalidateRect(clientRect); in scheduleComposite()
1489 WebRect clientRect(0, 0, widgetSize.width, widgetSize.height); in paintInvalidatedRegion() local
1498 int left = max(m_paintRect.x, clientRect.x); in paintInvalidatedRegion()
1499 int top = max(m_paintRect.y, clientRect.y); in paintInvalidatedRegion()
1500 int right = min(m_paintRect.x + m_paintRect.width, clientRect.x + clientRect.width); in paintInvalidatedRegion()
1501 int bottom = min(m_paintRect.y + m_paintRect.height, clientRect.y + clientRect.height); in paintInvalidatedRegion()
/external/webkit/Tools/WinLauncher/
DWinLauncher.cpp205 RECT clientRect; in _tWinMain() local
206 GetClientRect(hMainWnd, &clientRect); in _tWinMain()
207 hr = gWebView->initWithFrame(clientRect, 0, 0); in _tWinMain()
/external/webkit/Tools/DumpRenderTree/win/
DDumpRenderTree.cpp1215 RECT clientRect; in createWebViewAndOffscreenWindow() local
1216 clientRect.bottom = clientRect.left = clientRect.top = clientRect.right = 0; in createWebViewAndOffscreenWindow()
1218 bool failed = FAILED(webView->initWithFrame(clientRect, 0, groupName)); in createWebViewAndOffscreenWindow()
/external/webkit/Tools/WebKitAPITest/tests/
DWebViewDestruction.cpp60 TEST_ASSERT(SUCCEEDED(webView->initWithFrame(window.clientRect(), 0, 0))); in createAndInitializeWebView()
/external/webkit/Source/WebKit/win/
DWebView.cpp970 RECT clientRect; in updateBackingStore() local
971 ::GetClientRect(m_viewWindow, &clientRect); in updateBackingStore()
972 paintRects.append(clientRect); in updateBackingStore()
6174 RECT clientRect; in invalidateBackingStore() local
6175 if (!GetClientRect(m_viewWindow, &clientRect)) in invalidateBackingStore()
6180 rectToInvalidate = clientRect; in invalidateBackingStore()
6181 else if (!IntersectRect(&rectToInvalidate, &clientRect, rect)) in invalidateBackingStore()
6277 RECT clientRect; in setAcceleratedCompositing() local
6278 ::GetClientRect(m_viewWindow, &clientRect); in setAcceleratedCompositing()
6279 m_backingLayer->setSize(IntRect(clientRect).size()); in setAcceleratedCompositing()
/external/webkit/Source/WebCore/rendering/
DRenderBlock.cpp1408 IntRect clientRect(clientBoxRect()); in computeOverflow() local
1411 …rectToApply = IntRect(clientRect.x(), clientRect.y(), 1, max(0, oldClientAfterEdge - clientRect.y(… in computeOverflow()
1413 …rectToApply = IntRect(clientRect.x(), clientRect.y(), max(0, oldClientAfterEdge - clientRect.x()),… in computeOverflow()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0688617 (WebCore::PopupMenuWin::clientRect):
89146 (WebCore::PopupMenu::clientRect):
89747 (WebCore::PopupMenuWin::clientRect):
89962 (WebCore::PopupMenu::clientRect):
90234 (WebCore::PopupMenuWin::clientRect):
DChangeLog-2007-10-146597 (WebCore::PopupMenu::show): Check that the clientRect is empty instead of checking
29964 (WebCore::PopupMenu::clientRect): New method to calculate an IntRect
/external/webkit/Tools/
DChangeLog-2010-05-2420337 (WebKitAPITest::HostWindow::clientRect): Return our window's client