/external/chromium_org/third_party/WebKit/Source/core/Resources/pagepopups/ |
pickerCommon.js | 112 var windowRect = new Rectangle(0, 0, width, height); 115 return windowRect; 120 _adjustWindowRectVertically(windowRect, availRect, anchorRect, minHeight); 121 _adjustWindowRectHorizontally(windowRect, availRect, anchorRect, minWidth); 123 return windowRect; 126 function _adjustWindowRectVertically(windowRect, availRect, anchorRect, minHeight) { 133 if (windowRect.height > availableSpaceBelow && availableSpaceBelow < availableSpaceAbove) { 134 windowRect.height = Math.min(windowRect.height, availableSpaceAbove); 135 windowRect.height = Math.max(windowRect.height, minHeight) [all...] |
suggestionPicker.js | 162 var windowRect = adjustWindowRect(desiredWindowWidth, desiredWindowHeight, desiredWindowWidth, 0); 163 this._containerElement.style.height = (windowRect.height - ListBorder) + "px"; 164 setWindowRect(windowRect);
|
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/Win32/ |
esUtil_win32.c | 105 RECT windowRect; 121 windowRect.left = 0; 122 windowRect.top = 0; 123 windowRect.right = esContext->width; 124 windowRect.bottom = esContext->height; 126 AdjustWindowRect ( &windowRect, wStyle, FALSE ); 134 windowRect.right - windowRect.left, 135 windowRect.bottom - windowRect.top [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
CreateWindow.cpp | 102 FloatRect windowRect = page->chrome().windowRect(); 106 windowRect.setX(features.x); 108 windowRect.setY(features.y); 110 windowRect.setWidth(features.width + (windowRect.width() - viewportSize.width())); 112 windowRect.setHeight(features.height + (windowRect.height() - viewportSize.height())); 115 FloatRect newWindowRect = DOMWindow::adjustWindowRect(page, windowRect);
|
Chrome.h | 78 FloatRect windowRect() const;
|
DOMWindow.cpp | 245 FloatRect window = page->chrome().windowRect(); 967 return lroundf(page->chrome().windowRect().height() * page->deviceScaleFactor()); 968 return static_cast<int>(page->chrome().windowRect().height()); 981 return lroundf(page->chrome().windowRect().width() * page->deviceScaleFactor()); 982 return static_cast<int>(page->chrome().windowRect().width()); 1031 return lroundf(page->chrome().windowRect().x() * page->deviceScaleFactor()); 1032 return static_cast<int>(page->chrome().windowRect().x()); 1045 return lroundf(page->chrome().windowRect().y() * page->deviceScaleFactor()); 1046 return static_cast<int>(page->chrome().windowRect().y()); [all...] |
ChromeClient.h | 90 virtual FloatRect windowRect() = 0;
|
Chrome.cpp | 114 FloatRect Chrome::windowRect() const 116 return m_client->windowRect();
|
/external/chromium_org/third_party/skia/src/utils/win/ |
SkWGL_win.cpp | 165 RECT windowRect; 166 windowRect.left = 0; 167 windowRect.right = 8; 168 windowRect.top = 0; 169 windowRect.bottom = 8; 192 AdjustWindowRectEx(&windowRect, style, false, exStyle); 198 windowRect.right-windowRect.left, 199 windowRect.bottom-windowRect.top [all...] |
/external/skia/src/utils/win/ |
SkWGL_win.cpp | 165 RECT windowRect; 166 windowRect.left = 0; 167 windowRect.right = 8; 168 windowRect.top = 0; 169 windowRect.bottom = 8; 192 AdjustWindowRectEx(&windowRect, style, false, exStyle); 198 windowRect.right-windowRect.left, 199 windowRect.bottom-windowRect.top [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
WebWidgetClient.h | 130 virtual WebRect windowRect() { return WebRect(); }
|
/external/chromium_org/third_party/angle_dx11/src/libEGL/ |
Surface.cpp | 99 RECT windowRect; 100 if (!GetClientRect(getWindowHandle(), &windowRect)) 108 width = windowRect.right - windowRect.left; 109 height = windowRect.bottom - windowRect.top;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
Widget.cpp | 118 IntRect Widget::convertFromContainingWindow(const IntRect& windowRect) const 121 IntRect parentRect = parentScrollView->convertFromContainingWindow(windowRect); 124 return windowRect;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
PopupContainerTest.cpp | 80 const FloatRect windowRect(0, 0, 512, 512); 83 return PopupContainer::layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !isRTL, rtlOffset, verticalOffset, transformOffset, content, needToResizeView); 86 static IntRect calculatePosition(const IntRect& initialRect, PopupContent* content, FloatRect windowRect = FloatRect(0, 0, 512, 512), bool isRTL = true) 92 return PopupContainer::layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !isRTL, rtlOffset, 0, IntSize(), content, needToResizeView);
|
/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())) { 199 FloatRect windowRect = client->windowRect(); 202 widgetRectInScreen = layoutAndCalculateWidgetRectInternal(widgetRectInScreen, targetControlHeight, windowRect, screen, isRTL, rtlOffset, verticalOffset, transformOffset, m_listBox.get(), needToResizeView);
|
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);
|
ChromeClientImpl.cpp | 163 FloatRect ChromeClientImpl::windowRect() 183 return windowRect(); 518 WebRect windowRect = m_webView->client()->windowRect(); 519 windowPoint.move(-windowRect.x, -windowRect.y); 530 WebRect windowRect = m_webView->client()->windowRect(); 531 screenRect.move(windowRect.x, windowRect.y) [all...] |
WebPluginContainerImpl.cpp | 135 IntRect windowRect = view->contentsToWindow(damageRect); 136 m_webPlugin->paint(canvas, windowRect); 395 IntRect windowRect, clipRect; 397 calculateGeometry(frameRect(), windowRect, clipRect, cutOutRects); 399 m_webPlugin->updateGeometry(windowRect, clipRect, cutOutRects, isVisible()); 856 IntRect& windowRect, 860 windowRect = parent()->contentsToWindow(frameRect); 864 clipRect.move(-windowRect.x(), -windowRect.y());
|
WebPluginContainerImpl.h | 178 WebCore::IntRect& windowRect,
|
ChromeClientImpl.h | 76 virtual WebCore::FloatRect windowRect();
|
WebPagePopupImpl.cpp | 76 virtual FloatRect windowRect() OVERRIDE
|
/external/chromium_org/content/renderer/pepper/ |
renderer_ppapi_host_impl.cc | 200 WebKit::WebRect window_rect = render_view->windowRect();
|
/external/chromium_org/content/renderer/ |
render_widget.h | 143 virtual WebKit::WebRect windowRect(); 472 // size. If JS code sets the WindowRect, and then immediately calls
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
EmptyClients.h | 76 virtual FloatRect windowRect() OVERRIDE { return FloatRect(); }
|
/external/chromium_org/content/renderer/gpu/ |
gpu_benchmarking_extension.cc | 418 WebKit::WebRect rect = render_view_impl->windowRect();
|