HomeSort by relevance Sort by last modified time
    Searched refs:widgetRectInScreen (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/web/
PopupContainer.cpp 104 IntRect PopupContainer::layoutAndCalculateWidgetRectInternal(IntRect widgetRectInScreen, int targetControlHeight, const FloatRect& windowRect, const FloatRect& screen, bool isRTL, const int rtlOffset, const int verticalOffset, const IntSize& transformOffset, PopupContent* listBox, bool& needToResizeView)
107 if (windowRect.x() >= screen.x() && windowRect.maxX() <= screen.maxX() && (widgetRectInScreen.x() < screen.x() || widgetRectInScreen.maxX() > screen.maxX())) {
110 IntRect inverseWidgetRectInScreen = widgetRectInScreen;
114 unsigned originalCutoff = std::max(enclosingScreen.x() - widgetRectInScreen.x(), 0) + std::max(widgetRectInScreen.maxX() - enclosingScreen.maxX(), 0);
120 widgetRectInScreen = inverseWidgetRectInScreen;
122 if (widgetRectInScreen.x() < screen.x()) {
123 widgetRectInScreen.setWidth(widgetRectInScreen.maxX() - screen.x())
    [all...]
PopupContainer.h 115 static IntRect layoutAndCalculateWidgetRectInternal(IntRect widgetRectInScreen, int targetControlHeight, const FloatRect& windowRect, const FloatRect& screen, bool isRTL, const int rtlOffset, const int verticalOffset, const IntSize& transformOffset, PopupContent*, bool& needToResizeView);

Completed in 36 milliseconds