Searched refs:popupWidth (Results 1 - 5 of 5) sorted by relevance

/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
H A DWebPopupMenuWin.cpp55 int popupWidth = 0; local
69 popupWidth = std::max<float>(popupWidth, ceilf(itemFont.width(TextRun(text.characters(), text.length()))));
72 // FIXME: popupWidth should probably take into account monitor constraints as is done with WebPopupMenuProxyWin::calculatePositionAndSize.
74 popupWidth += max(0, data.m_clientPaddingRight - data.m_clientInsetRight) + max(0, data.m_clientPaddingLeft - data.m_clientInsetLeft);
75 popupWidth += 2 * popupWindowBorderWidth;
76 data.m_popupWidth = popupWidth;
79 int backingStoreWidth = max(pageCoordinates.width() - m_popupClient->clientInsetLeft() - m_popupClient->clientInsetRight(), popupWidth);
/external/webkit/Source/WebCore/platform/win/
H A DPopupMenuWin.cpp315 int popupWidth = 0; local
329 popupWidth = max(popupWidth, static_cast<int>(ceilf(itemFont.width(TextRun(text.characters(), text.length())))));
334 popupWidth += ScrollbarTheme::nativeTheme()->scrollbarThickness(SmallScrollbar);
337 popupWidth += max(0, client()->clientPaddingRight() - client()->clientInsetRight()) + max(0, client()->clientPaddingLeft() - client()->clientInsetLeft());
340 popupWidth += 2 * popupWindowBorderWidth;
344 popupWidth = max(rScreenCoords.width() - client()->clientInsetLeft() - client()->clientInsetRight(), popupWidth);
349 IntRect popupRect(popupX, rScreenCoords.maxY(), popupWidth, popupHeight);
/external/webkit/Source/WebKit2/UIProcess/win/
H A DWebPopupMenuProxyWin.cpp381 int popupWidth = m_data.m_popupWidth; local
385 popupWidth += ScrollbarTheme::nativeTheme()->scrollbarThickness(SmallScrollbar);
391 popupWidth = max(rectInScreenCoords.width() - m_data.m_clientInsetLeft - m_data.m_clientInsetRight, popupWidth);
396 IntRect popupRect(popupX, rectInScreenCoords.maxY(), popupWidth, popupHeight);
/external/webkit/Source/WebCore/inspector/front-end/
H A DSourceFrame.js834 const popupWidth = 300;
836 this._popup.show(element, popupWidth, popupHeight);
/external/webkit/Source/WebCore/platform/chromium/
H A DPopupMenuChromium.cpp439 // popupWidth is the width of <select> element. Record it before resize frame.
440 int popupWidth = frameRect().width(); local
453 rightOffset = popupWidth - listBoxWidth;

Completed in 292 milliseconds