/external/chromium_org/third_party/WebKit/Source/web/resources/ |
D | 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) { argument 133 if (windowRect.height > availableSpaceBelow && availableSpaceBelow < availableSpaceAbove) { 134 windowRect.height = Math.min(windowRect.height, availableSpaceAbove); 135 windowRect.height = Math.max(windowRect.height, minHeight); 136 windowRect.y = anchorRect.y - windowRect.height; [all …]
|
D | 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/WebKit/Source/core/page/ |
D | CreateWindow.cpp | 96 FloatRect windowRect = host->chrome().windowRect(); in createWindow() local 100 windowRect.setX(features.x); in createWindow() 102 windowRect.setY(features.y); in createWindow() 104 windowRect.setWidth(features.width + (windowRect.width() - viewportSize.width())); in createWindow() 106 windowRect.setHeight(features.height + (windowRect.height() - viewportSize.height())); in createWindow() 109 FloatRect newWindowRect = LocalDOMWindow::adjustWindowRect(frame, windowRect); in createWindow()
|
D | Chrome.cpp | 97 FloatRect Chrome::windowRect() const in windowRect() function in blink::Chrome 99 return m_client->windowRect(); in windowRect()
|
D | Chrome.h | 76 FloatRect windowRect() const;
|
D | ChromeClient.h | 80 virtual FloatRect windowRect() = 0;
|
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 149 RECT windowRect; in create_dummy_window() local 150 windowRect.left = 0; in create_dummy_window() 151 windowRect.right = 8; in create_dummy_window() 152 windowRect.top = 0; in create_dummy_window() 153 windowRect.bottom = 8; in create_dummy_window() 176 AdjustWindowRectEx(&windowRect, style, false, exStyle); in create_dummy_window() 182 windowRect.right-windowRect.left, in create_dummy_window() 183 windowRect.bottom-windowRect.top, in create_dummy_window()
|
/external/chromium_org/third_party/skia/src/utils/win/ |
D | SkWGL_win.cpp | 173 RECT windowRect; in create_dummy_window() local 174 windowRect.left = 0; in create_dummy_window() 175 windowRect.right = 8; in create_dummy_window() 176 windowRect.top = 0; in create_dummy_window() 177 windowRect.bottom = 8; in create_dummy_window() 200 AdjustWindowRectEx(&windowRect, style, false, exStyle); in create_dummy_window() 206 windowRect.right-windowRect.left, in create_dummy_window() 207 windowRect.bottom-windowRect.top, in create_dummy_window()
|
/external/chromium_org/third_party/angle/src/libEGL/ |
D | Surface.cpp | 104 RECT windowRect; in resetSwapChain() local 105 if (!GetClientRect(getWindowHandle(), &windowRect)) in resetSwapChain() 113 width = windowRect.right - windowRect.left; in resetSwapChain() 114 height = windowRect.bottom - windowRect.top; in resetSwapChain()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | PopupContainerTest.cpp | 80 const FloatRect windowRect(0, 0, 512, 512); in calculatePositionWithTransformAndRTL() local 83 …layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !is… in calculatePositionWithTransformAndRTL() 86 …ePosition(const IntRect& initialRect, PopupContent* content, FloatRect windowRect = FloatRect(0, 0… in calculatePosition() argument 92 …layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !is… in calculatePosition()
|
D | WebPluginContainerImpl.cpp | 128 IntRect windowRect = view->contentsToWindow(damageRect); in paint() local 129 m_webPlugin->paint(canvas, windowRect); in paint() 400 IntRect windowRect, clipRect; in reportGeometry() local 402 calculateGeometry(frameRect(), windowRect, clipRect, cutOutRects); in reportGeometry() 404 m_webPlugin->updateGeometry(windowRect, clipRect, cutOutRects, isVisible()); in reportGeometry() 931 IntRect& windowRect, in calculateGeometry() argument 935 windowRect = toScrollView(parent())->contentsToWindow(frameRect); in calculateGeometry() 939 clipRect.move(-windowRect.x(), -windowRect.y()); in calculateGeometry()
|
D | PopupContainer.cpp | 105 …(IntRect widgetRectInScreen, int targetControlHeight, const FloatRect& windowRect, const FloatRect… in layoutAndCalculateWidgetRectInternal() argument 108 …if (windowRect.x() >= screen.x() && windowRect.maxX() <= screen.maxX() && (widgetRectInScreen.x() … in layoutAndCalculateWidgetRectInternal() 202 FloatRect windowRect = chromeClient().windowRect(); in layoutAndCalculateWidgetRect() local 205 …ndCalculateWidgetRectInternal(widgetRectInScreen, targetControlHeight, windowRect, screen, isRTL, … in layoutAndCalculateWidgetRect()
|
D | WebPagePopupImpl.cpp | 78 virtual FloatRect windowRect() OVERRIDE in windowRect() function in blink::PagePopupChromeClient 437 WebRect windowRect = m_webView->client()->rootWindowRect(); in positionRelativeToOwner() local 438 return WebPoint(m_windowRectInScreen.x - windowRect.x, m_windowRectInScreen.y - windowRect.y); in positionRelativeToOwner()
|
D | ChromeClientImpl.cpp | 165 FloatRect ChromeClientImpl::windowRect() in windowRect() function in blink::ChromeClientImpl 185 return windowRect(); in pageRect() 507 WebRect windowRect = m_webView->client()->windowRect(); in rootViewToScreen() local 508 screenRect.move(windowRect.x, windowRect.y); in rootViewToScreen()
|
D | PopupContainer.h | 121 …(IntRect widgetRectInScreen, int targetControlHeight, const FloatRect& windowRect, const FloatRect…
|
/external/chromium_org/third_party/angle/util/win32/ |
D | Win32Window.cpp | 509 RECT windowRect; in resize() local 510 if (!GetWindowRect(mParentWindow, &windowRect)) in resize() 521 LONG diffX = (windowRect.right - windowRect.left) - clientRect.right; in resize() 522 LONG diffY = (windowRect.bottom - windowRect.top) - clientRect.bottom; in resize() 523 …if (!MoveWindow(mParentWindow, windowRect.left, windowRect.top, width + diffX, height + diffY, FAL… in resize()
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | Widget.cpp | 67 IntRect Widget::convertFromContainingWindow(const IntRect& windowRect) const in convertFromContainingWindow() 70 IntRect parentRect = parentWidget->convertFromContainingWindow(windowRect); in convertFromContainingWindow() 73 return windowRect; in convertFromContainingWindow()
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | LocalDOMWindow.cpp | 279 FloatRect window = host->chrome().windowRect(); in adjustWindowRect() 1080 return lroundf(host->chrome().windowRect().height() * host->deviceScaleFactor()); in outerHeight() 1081 return static_cast<int>(host->chrome().windowRect().height()); in outerHeight() 1094 return lroundf(host->chrome().windowRect().width() * host->deviceScaleFactor()); in outerWidth() 1095 return static_cast<int>(host->chrome().windowRect().width()); in outerWidth() 1144 return lroundf(host->chrome().windowRect().x() * host->deviceScaleFactor()); in screenX() 1145 return static_cast<int>(host->chrome().windowRect().x()); in screenX() 1158 return lroundf(host->chrome().windowRect().y() * host->deviceScaleFactor()); in screenY() 1159 return static_cast<int>(host->chrome().windowRect().y()); in screenY() 1407 FloatRect windowRect = host->chrome().windowRect(); in moveBy() local [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | framed_browser_window.mm | 327 NSRect windowRect = [view convertRect:[self frame] fromView:nil]; 328 windowRect.origin = NSZeroPoint; 330 NSRect paintRect = windowRect; 340 [[NSBezierPath bezierPathWithRoundedRect:windowRect 349 bounds:windowRect 365 windowRect = [view convertRect:[self frame] fromView:nil]; 366 windowRect.origin = NSZeroPoint; 367 windowRect.origin.y -= 0.5 * lineWidth; 368 windowRect.origin.x -= 0.5 * lineWidth; 369 windowRect.size.width += lineWidth; [all …]
|
D | validation_message_bubble_cocoa.mm | 147 NSRect windowRect = [view convertRect:cocoaRect toView:nil]; 148 NSPoint point = NSMakePoint(NSMidX(windowRect), NSMinY(windowRect));
|
D | screen_capture_notification_ui_cocoa.mm | 101 NSRect windowRect = 106 [window setFrame:windowRect display:YES];
|
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/mac/ |
D | APPRTCAppDelegate.m | 51 NSRect windowRect = NSMakeRect(NSMidX(visibleRect), 56 _window = [[NSWindow alloc] initWithContentRect:windowRect
|
/external/chromium_org/ui/gl/ |
D | gl_surface_egl.cc | 296 RECT windowRect; in NativeViewGLSurfaceEGL() local 297 if (GetClientRect(window_, &windowRect)) in NativeViewGLSurfaceEGL() 298 size_ = gfx::Rect(windowRect).size(); in NativeViewGLSurfaceEGL()
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebWidgetClient.h | 123 virtual WebRect windowRect() { return WebRect(); } in windowRect() function
|
/external/chromium_org/remoting/host/ |
D | disconnect_window_mac.mm | 160 NSRect windowRect = [[self window] frame]; 161 CGFloat x = (NSWidth(desktopRect) - NSWidth(windowRect)) / 2;
|