Searched refs:windowRect (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/web/resources/
H A DpickerCommon.js112 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
[all...]
H A DsuggestionPicker.js162 var windowRect = adjustWindowRect(desiredWindowWidth, desiredWindowHeight, desiredWindowWidth, 0);
163 this._containerElement.style.height = (windowRect.height - ListBorder) + "px";
164 setWindowRect(windowRect);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DCreateWindow.cpp96 FloatRect windowRect = host->chrome().windowRect(); local
100 windowRect.setX(features.x);
102 windowRect.setY(features.y);
104 windowRect.setWidth(features.width + (windowRect.width() - viewportSize.width()));
106 windowRect.setHeight(features.height + (windowRect.height() - viewportSize.height()));
109 FloatRect newWindowRect = LocalDOMWindow::adjustWindowRect(frame, windowRect);
H A DChrome.h76 FloatRect windowRect() const;
H A DChrome.cpp97 FloatRect Chrome::windowRect() const function in class:blink::Chrome
99 return m_client->windowRect();
H A DChromeClient.h80 virtual FloatRect windowRect() = 0;
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/mac/
H A DAPPRTCAppDelegate.m51 NSRect windowRect = NSMakeRect(NSMidX(visibleRect),
56 _window = [[NSWindow alloc] initWithContentRect:windowRect
/external/skia/src/utils/win/
H A DSkWGL_win.cpp149 RECT windowRect; local
150 windowRect.left = 0;
151 windowRect.right = 8;
152 windowRect.top = 0;
153 windowRect.bottom = 8;
176 AdjustWindowRectEx(&windowRect, style, false, exStyle);
182 windowRect.right-windowRect.left,
183 windowRect.bottom-windowRect
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DWidget.cpp67 IntRect Widget::convertFromContainingWindow(const IntRect& windowRect) const
70 IntRect parentRect = parentWidget->convertFromContainingWindow(windowRect);
73 return windowRect;
/external/chromium_org/third_party/skia/src/utils/win/
H A DSkWGL_win.cpp173 RECT windowRect; local
174 windowRect.left = 0;
175 windowRect.right = 8;
176 windowRect.top = 0;
177 windowRect.bottom = 8;
200 AdjustWindowRectEx(&windowRect, style, false, exStyle);
206 windowRect.right-windowRect.left,
207 windowRect.bottom-windowRect
[all...]
/external/chromium_org/third_party/angle/src/libEGL/
H A DSurface.cpp104 RECT windowRect; local
105 if (!GetClientRect(getWindowHandle(), &windowRect))
113 width = windowRect.right - windowRect.left;
114 height = windowRect.bottom - windowRect.top;
/external/chromium_org/third_party/WebKit/Source/web/
H A DPopupContainerTest.cpp80 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);
H A DWebPagePopupImpl.cpp78 virtual FloatRect windowRect() OVERRIDE
437 WebRect windowRect = m_webView->client()->rootWindowRect(); local
438 return WebPoint(m_windowRectInScreen.x - windowRect.x, m_windowRectInScreen.y - windowRect.y);
H A DChromeClientImpl.cpp165 FloatRect ChromeClientImpl::windowRect() function in class:blink::ChromeClientImpl
185 return windowRect();
507 WebRect windowRect = m_webView->client()->windowRect(); local
508 screenRect.move(windowRect.x, windowRect.y);
H A DPopupContainer.cpp105 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) argument
108 if (windowRect.x() >= screen.x() && windowRect.maxX() <= screen.maxX() && (widgetRectInScreen.x() < screen.x() || widgetRectInScreen.maxX() > screen.maxX())) {
202 FloatRect windowRect = chromeClient().windowRect(); local
205 widgetRectInScreen = layoutAndCalculateWidgetRectInternal(widgetRectInScreen, targetControlHeight, windowRect, screen, isRTL, rtlOffset, verticalOffset, transformOffset, m_listBox.get(), needToResizeView);
H A DPopupContainer.h121 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);
H A DWebPluginContainerImpl.cpp128 IntRect windowRect = view->contentsToWindow(damageRect); local
129 m_webPlugin->paint(canvas, windowRect);
400 IntRect windowRect, clipRect;
402 calculateGeometry(frameRect(), windowRect, clipRect, cutOutRects); local
404 m_webPlugin->updateGeometry(windowRect, clipRect, cutOutRects, isVisible());
931 IntRect& windowRect,
935 windowRect = toScrollView(parent())->contentsToWindow(frameRect);
939 clipRect.move(-windowRect.x(), -windowRect.y());
930 calculateGeometry(const IntRect& frameRect, IntRect& windowRect, IntRect& clipRect, Vector<IntRect>& cutOutRects) argument
H A DChromeClientImpl.h77 virtual FloatRect windowRect() OVERRIDE;
H A DWebPluginContainerImpl.h193 IntRect& windowRect,
/external/chromium_org/third_party/WebKit/public/web/
H A DWebWidgetClient.h123 virtual WebRect windowRect() { return WebRect(); } function in class:blink::WebWidgetClient
/external/chromium_org/third_party/angle/util/win32/
H A DWin32Window.cpp509 RECT windowRect; local
510 if (!GetWindowRect(mParentWindow, &windowRect))
521 LONG diffX = (windowRect.right - windowRect.left) - clientRect.right;
522 LONG diffY = (windowRect.bottom - windowRect.top) - clientRect.bottom;
523 if (!MoveWindow(mParentWindow, windowRect.left, windowRect.top, width + diffX, height + diffY, FALSE))
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DLocalDOMWindow.cpp279 FloatRect window = host->chrome().windowRect();
1080 return lroundf(host->chrome().windowRect().height() * host->deviceScaleFactor());
1081 return static_cast<int>(host->chrome().windowRect().height());
1094 return lroundf(host->chrome().windowRect().width() * host->deviceScaleFactor());
1095 return static_cast<int>(host->chrome().windowRect().width());
1144 return lroundf(host->chrome().windowRect().x() * host->deviceScaleFactor());
1145 return static_cast<int>(host->chrome().windowRect().x());
1158 return lroundf(host->chrome().windowRect().y() * host->deviceScaleFactor());
1159 return static_cast<int>(host->chrome().windowRect().y());
1407 FloatRect windowRect
[all...]
/external/chromium_org/ui/gl/
H A Dgl_surface_egl.cc296 RECT windowRect; local
297 if (GetClientRect(window_, &windowRect))
298 size_ = gfx::Rect(windowRect).size();
/external/chromium_org/content/renderer/
H A Drender_widget.h159 virtual blink::WebRect windowRect();
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DEmptyClients.h76 virtual FloatRect windowRect() OVERRIDE { return FloatRect(); }

Completed in 3083 milliseconds

12