Home
last modified time | relevance | path

Searched refs:screenRect (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/frame/
DScreen.cpp55 return lroundf(screenRect(m_frame->view()).height() * page->deviceScaleFactor()); in height()
56 return static_cast<unsigned>(screenRect(m_frame->view()).height()); in height()
65 return lroundf(screenRect(m_frame->view()).width() * page->deviceScaleFactor()); in width()
66 return static_cast<unsigned>(screenRect(m_frame->view()).width()); in width()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DPopupContainerTest.cpp79 const FloatRect screenRect(0, 0, screenMaxX, screenMaxY); in calculatePositionWithTransformAndRTL() local
83 …culateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !isRTL, rtlOffs… in calculatePositionWithTransformAndRTL()
89 const FloatRect screenRect(0, 0, screenMaxX, screenMaxY); in calculatePosition() local
92 …culateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !isRTL, rtlOffs… in calculatePosition()
DWebViewTest.cpp920 WebCore::IntPoint center = element->screenRect().center(); in tapElementById()
/external/chromium_org/chrome/browser/resources/inspect/
Dinspect.js430 var screenRect = document.createElement('div');
431 screenRect.className = 'screen-rect';
432 screenRect.style.left = screenRectWidth + 'px';
433 screenRect.style.top = (thumbnailHeight - screenRectHeight) / 2 + 'px';
434 screenRect.style.width = screenRectWidth + 'px';
435 screenRect.style.height = screenRectHeight + 'px';
436 thumbnail.appendChild(screenRect);
450 screenRect.appendChild(viewRect);
/external/chromium_org/third_party/WebKit/Source/platform/
DPlatformScreen.h46 PLATFORM_EXPORT FloatRect screenRect(Widget*);
DPlatformScreen.cpp75 FloatRect screenRect(Widget* widget) in screenRect() function
/external/chromium/chrome/browser/ui/cocoa/
Dstatus_bubble_mac.mm661 NSRect screenRect;
663 screenRect = [delegate_ statusBubbleBaseFrame];
664 screenRect.origin = [parent_ convertBaseToScreen:screenRect.origin];
666 screenRect = [parent_ frame];
673 size.width = screenRect.size.width;
675 size.width = kWindowWidthPercent * screenRect.size.width;
678 screenRect.size = size;
679 return screenRect;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.cpp229 SkRect screenRect; in drawResampledBitmap() local
230 context->getTotalMatrix().mapRect(&screenRect, destRect); in drawResampledBitmap()
231 float realScaleX = screenRect.width() / srcRect.width(); in drawResampledBitmap()
232 float realScaleY = screenRect.height() / srcRect.height(); in drawResampledBitmap()
/external/chromium_org/third_party/WebKit/Source/web/
DChromeClientImpl.cpp534 IntRect screenRect(rect); in rootViewToScreen() local
538 screenRect.move(windowRect.x, windowRect.y); in rootViewToScreen()
541 return screenRect; in rootViewToScreen()
691 IntRect screenRect = bounds; in popupOpened() local
692 screenRect.setLocation(view->screenToContents(bounds.location())); in popupOpened()
693 if (!visibleRect.contains(screenRect)) { in popupOpened()
/external/chromium_org/chrome/browser/ui/cocoa/
Dstatus_bubble_mac.mm704 NSRect screenRect;
706 screenRect = [delegate_ statusBubbleBaseFrame];
707 screenRect.origin = [parent_ convertBaseToScreen:screenRect.origin];
709 screenRect = [parent_ frame];
716 size.width = screenRect.size.width;
718 size.width = kWindowWidthPercent * screenRect.size.width;
721 screenRect.size = size;
722 return screenRect;
Dfullscreen_mode_controller.mm130 NSRect screenRect = [[[controller_ window] screen] frame];
131 if (mousePoint.y >= NSMaxY(screenRect) - kTrackingAreaMaxYEpsilon)
/external/chromium_org/third_party/WebKit/public/web/
DWebDevToolsAgentClient.h98 const WebRect& screenRect, const WebRect& viewRect, in enableDeviceEmulation() argument
/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryEvaluator.cpp261 FloatRect sg = screenRect(frame->view()); in deviceAspectRatioMediaFeatureEval()
366 int height = static_cast<int>(screenRect(frame->view()).height()); in deviceHeightMediaFeatureEval()
382 int width = static_cast<int>(screenRect(frame->view()).width()); in deviceWidthMediaFeatureEval()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
Dimage_view.js692 ImageView.prototype.createZoomEffect = function(screenRect) { argument
694 this.viewport_.screenToDeviceRect(screenRect),
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElement.h196 IntRect screenRect() const;
DElement.cpp861 IntRect Element::screenRect() const in screenRect() function in WebCore::Element