Home
last modified time | relevance | path

Searched refs:borderSize (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/
DPopupContainer.cpp60 static const int borderSize = 1; variable
126 listBox->setMaxWidthAndLayout(std::max(widgetRectInScreen.width() - borderSize * 2, 0)); in layoutAndCalculateWidgetRectInternal()
129 listBox->setMaxWidthAndLayout(std::max(widgetRectInScreen.width() - borderSize * 2, 0)); in layoutAndCalculateWidgetRectInternal()
149 widgetRectInScreen.setHeight(listBox->popupContentHeight() + borderSize * 2); in layoutAndCalculateWidgetRectInternal()
177 … = m_controlPosition.p2().x() - m_controlPosition.p1().x() - (m_listBox->width() + borderSize * 2); in layoutAndCalculateWidgetRect()
186 IntSize targetSize(m_listBox->width() + borderSize * 2, m_listBox->height() + borderSize * 2); in layoutAndCalculateWidgetRect()
265 m_listBox->move(borderSize, borderSize); in fitToListBox()
268 resize(m_listBox->width() + borderSize * 2, m_listBox->height() + borderSize * 2); in fitToListBox()
376 gc->drawRect(IntRect(tx, ty, width(), borderSize)); in paintBorder()
377 gc->drawRect(IntRect(tx, ty, borderSize, height())); in paintBorder()
[all …]
DPopupContainerTest.cpp54 : width(widgetSize.width() - borderSize * 2) in MockPopupContent()
55 , height(widgetSize.height() - borderSize * 2) in MockPopupContent()
68 static const int borderSize = 1; // Should match to kBorderSize in PopupContainer.cpp. member in MockPopupContent
/external/chromium_org/ui/message_center/cocoa/
Dnotification_controller.mm716 NSSize borderSize =
718 [imageBox setContentViewMargins:borderSize];