Home
last modified time | relevance | path

Searched refs:window_rect (Results 1 – 25 of 66) sorted by relevance

123

/external/chromium_org/content/plugin/
Dwebplugin_proxy.cc420 const gfx::Rect& window_rect, in UpdateGeometry() argument
435 window_rect); in UpdateGeometry()
446 window_rect, clip_rect, windowless_context()); in UpdateGeometry()
448 delegate_->UpdateGeometry(window_rect, clip_rect); in UpdateGeometry()
463 const gfx::Rect& window_rect, in CreateCanvasFromHandle() argument
466 skia::CreatePlatformCanvas(window_rect.width(), in CreateCanvasFromHandle()
467 window_rect.height(), in CreateCanvasFromHandle()
478 const gfx::Rect& window_rect) { in SetWindowlessBuffers() argument
480 window_rect, in SetWindowlessBuffers()
487 window_rect, in SetWindowlessBuffers()
[all …]
Dwebplugin_proxy.h81 void UpdateGeometry(const gfx::Rect& window_rect,
165 const gfx::Rect& window_rect,
170 const gfx::Rect& window_rect,
176 const gfx::Rect& window_rect,
182 const gfx::Rect& window_rect,
189 const gfx::Rect& window_rect);
/external/chromium_org/ui/views/win/
Dfullscreen_handler.cc42 return gfx::Rect(saved_window_info_.window_rect); in GetRestoreBounds()
61 GetWindowRect(hwnd_, &saved_window_info_.window_rect); in SetFullscreenImpl()
81 gfx::Rect window_rect(monitor_info.rcMonitor); in SetFullscreenImpl() local
82 SetWindowPos(hwnd_, NULL, window_rect.x(), window_rect.y(), in SetFullscreenImpl()
83 window_rect.width(), window_rect.height(), in SetFullscreenImpl()
95 gfx::Rect new_rect(saved_window_info_.window_rect); in SetFullscreenImpl()
Dhwnd_message_handler.cc1156 CRect window_rect; in ResetWindowRegion() local
1157 GetWindowRect(hwnd(), &window_rect); in ResetWindowRegion()
1168 work_rect.OffsetRect(-window_rect.left, -window_rect.top); in ResetWindowRegion()
1173 gfx::Size(window_rect.Width(), window_rect.Height()), &window_mask); in ResetWindowRegion()
1463 CRect client_rect, window_rect; in OnGetMinMaxInfo() local
1465 GetWindowRect(hwnd(), &window_rect); in OnGetMinMaxInfo()
1466 window_rect -= client_rect; in OnGetMinMaxInfo()
1467 min_window_size.Enlarge(window_rect.Width(), window_rect.Height()); in OnGetMinMaxInfo()
1469 max_window_size.Enlarge(window_rect.Width(), window_rect.Height()); in OnGetMinMaxInfo()
1912 RECT window_rect; in OnNCHitTest() local
[all …]
/external/chromium_org/chrome/browser/ui/views/panels/
Dpanel_view_browsertest.cc52 RECT window_rect; in IN_PROC_BROWSER_TEST_F() local
53 EXPECT_TRUE(::GetWindowRect(native_window, &window_rect)); in IN_PROC_BROWSER_TEST_F()
54 EXPECT_EQ(200, window_rect.right - window_rect.left); in IN_PROC_BROWSER_TEST_F()
55 EXPECT_EQ(150, window_rect.bottom - window_rect.top); in IN_PROC_BROWSER_TEST_F()
80 RECT window_rect; in IN_PROC_BROWSER_TEST_F() local
81 EXPECT_TRUE(::GetWindowRect(native_window, &window_rect)); in IN_PROC_BROWSER_TEST_F()
82 EXPECT_EQ(200, window_rect.right - window_rect.left); in IN_PROC_BROWSER_TEST_F()
83 EXPECT_EQ(150, window_rect.bottom - window_rect.top); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/test/plugin/
Dplugin_window_size_test.cc25 RECT window_rect = {0}; in SetWindow() local
26 window_rect.left = pNPWindow->x; in SetWindow()
27 window_rect.top = pNPWindow->y; in SetWindow()
28 window_rect.right = pNPWindow->width; in SetWindow()
29 window_rect.bottom = pNPWindow->height; in SetWindow()
31 if (!::IsRectEmpty(&window_rect)) { in SetWindow()
/external/chromium_org/ui/aura/
Droot_window_host_win.cc117 RECT window_rect; in SetBounds() local
118 window_rect.left = bounds.x(); in SetBounds()
119 window_rect.top = bounds.y(); in SetBounds()
120 window_rect.right = bounds.right() ; in SetBounds()
121 window_rect.bottom = bounds.bottom(); in SetBounds()
122 AdjustWindowRectEx(&window_rect, in SetBounds()
129 window_rect.left, in SetBounds()
130 window_rect.top, in SetBounds()
131 window_rect.right - window_rect.left, in SetBounds()
132 window_rect.bottom - window_rect.top, in SetBounds()
[all …]
/external/chromium_org/remoting/host/
Ddesktop_shape_tracker_win.cc104 RECT window_rect; in EnumWindowsCallback() local
105 if (!GetWindowRect(window, &window_rect)) in EnumWindowsCallback()
112 OffsetRgn(window_region, window_rect.left, window_rect.top); in EnumWindowsCallback()
115 SetRectRgn(window_region, window_rect.left, window_rect.top, in EnumWindowsCallback()
116 window_rect.right, window_rect.bottom); in EnumWindowsCallback()
Ddisconnect_window_win.cc289 RECT window_rect; in SetDialogPosition() local
291 GetWindowRect(hwnd_, &window_rect)) { in SetDialogPosition()
292 int window_width = window_rect.right - window_rect.left; in SetDialogPosition()
293 int window_height = window_rect.bottom - window_rect.top; in SetDialogPosition()
371 RECT window_rect; in SetStrings() local
372 if (!GetWindowRect(hwnd_, &window_rect)) in SetStrings()
375 int height = window_rect.bottom - window_rect.top; in SetStrings()
/external/chromium_org/content/browser/
Dplugin_process_host_mac.cc23 gfx::Rect window_rect, in OnPluginSelectWindow() argument
31 gfx::Rect window_rect, in OnPluginShowWindow() argument
37 { window_rect.x(), window_rect.y() }, in OnPluginShowWindow()
38 { window_rect.width(), window_rect.height() } in OnPluginShowWindow()
69 gfx::Rect window_rect) { in OnPluginHideWindow() argument
Dplugin_process_host.h141 void OnPluginSelectWindow(uint32 window_id, gfx::Rect window_rect,
143 void OnPluginShowWindow(uint32 window_id, gfx::Rect window_rect,
145 void OnPluginHideWindow(uint32 window_id, gfx::Rect window_rect);
/external/chromium_org/content/browser/renderer_host/
Dgtk_plugin_container_manager.cc110 if (move.window_rect.x() != current_x || in MovePluginContainer()
111 move.window_rect.y() != current_y) { in MovePluginContainer()
116 move.window_rect.x(), in MovePluginContainer()
117 move.window_rect.y()); in MovePluginContainer()
121 move.window_rect.width(), in MovePluginContainer()
122 move.window_rect.height()); in MovePluginContainer()
/external/chromium_org/cc/output/
Ddirect_renderer.cc105 gfx::Rect window_rect = viewport_rect; in InitializeViewport() local
107 window_rect.set_y(surface_size.height() - viewport_rect.bottom()); in InitializeViewport()
108 frame->window_matrix = window_matrix(window_rect.x(), in InitializeViewport()
109 window_rect.y(), in InitializeViewport()
110 window_rect.width(), in InitializeViewport()
111 window_rect.height()); in InitializeViewport()
112 SetDrawViewport(window_rect); in InitializeViewport()
121 gfx::Rect window_rect = gfx::ToEnclosingRect(draw_rect); in MoveFromDrawToWindowSpace() local
122 window_rect -= current_draw_rect_.OffsetFromOrigin(); in MoveFromDrawToWindowSpace()
123 window_rect += current_viewport_rect_.OffsetFromOrigin(); in MoveFromDrawToWindowSpace()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_alert_unittest.mm69 NSRect window_rect = [[alert window] frame];
70 EXPECT_GT(NSWidth(window_rect), NSWidth(view_rect));
71 EXPECT_GT(NSHeight(window_rect), NSHeight(view_rect));
94 NSRect window_rect = [[alert window] frame];
96 EXPECT_GT(NSHeight(window_rect), NSHeight(initial_window_rect));
/external/chromium_org/chrome/browser/ui/views/frame/
Dminimize_button_metrics_win.cc36 RECT window_rect = {0}; in GetMinimizeButtonOffsetForWindow() local
37 GetWindowRect(hwnd, &window_rect); in GetMinimizeButtonOffsetForWindow()
39 if (minimize_button_corner.x > window_rect.right) { in GetMinimizeButtonOffsetForWindow()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_framebuffer.c119 RECT window_rect; in stw_framebuffer_get_size() local
163 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size()
164 fb->client_rect.left = client_pos.x - window_rect.left; in stw_framebuffer_get_size()
165 fb->client_rect.top = client_pos.y - window_rect.top; in stw_framebuffer_get_size()
178 window_rect.left, window_rect.top, in stw_framebuffer_get_size()
179 window_rect.right, window_rect.bottom); in stw_framebuffer_get_size()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
Dstw_framebuffer.c119 RECT window_rect; in stw_framebuffer_get_size() local
163 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size()
164 fb->client_rect.left = client_pos.x - window_rect.left; in stw_framebuffer_get_size()
165 fb->client_rect.top = client_pos.y - window_rect.top; in stw_framebuffer_get_size()
178 window_rect.left, window_rect.top, in stw_framebuffer_get_size()
179 window_rect.right, window_rect.bottom); in stw_framebuffer_get_size()
/external/chromium_org/content/common/
Dwebplugin_geometry.cc20 window_rect == rhs.window_rect && in Equals()
/external/chromium_org/content/child/npapi/
Dwebplugin_delegate_impl.cc128 const gfx::Rect& window_rect, in UpdateGeometry() argument
142 WindowlessUpdateGeometry(window_rect, clip_rect); in UpdateGeometry()
144 WindowedUpdateGeometry(window_rect, clip_rect); in UpdateGeometry()
251 const gfx::Rect& window_rect, in WindowedUpdateGeometry() argument
253 if (WindowedReposition(window_rect, clip_rect) || in WindowedUpdateGeometry()
Dwebplugin_delegate_impl_aura.cc40 const gfx::Rect& window_rect, in WindowedReposition() argument
49 const gfx::Rect& window_rect, in WindowlessUpdateGeometry() argument
Dwebplugin_delegate_impl_android.cc53 const gfx::Rect& window_rect, in WindowedReposition() argument
62 const gfx::Rect& window_rect, in WindowlessUpdateGeometry() argument
Dwebplugin_delegate_impl.h92 virtual void UpdateGeometry(const gfx::Rect& window_rect,
168 void UpdateGeometryAndContext(const gfx::Rect& window_rect,
222 void WindowedUpdateGeometry(const gfx::Rect& window_rect,
234 bool WindowedReposition(const gfx::Rect& window_rect,
264 void WindowlessUpdateGeometry(const gfx::Rect& window_rect,
/external/chromium_org/ash/magnifier/
Dmagnification_controller.cc299 const gfx::Rect window_rect = gfx::ToEnclosingRect(GetWindowRectDIP(scale)); in EnsureRectIsVisibleDIP() local
300 if (scale == scale_ && window_rect.Contains(target_rect)) in EnsureRectIsVisibleDIP()
306 gfx::Rect rect = window_rect; in EnsureRectIsVisibleDIP()
314 if (rect.height() > window_rect.height()) in EnsureRectIsVisibleDIP()
342 const gfx::Rect window_rect = gfx::ToEnclosingRect(GetWindowRectDIP(scale_)); in OnMouseMove() local
343 const int left = window_rect.x(); in OnMouseMove()
344 const int right = window_rect.right(); in OnMouseMove()
360 const int top = window_rect.y(); in OnMouseMove()
361 const int bottom = window_rect.bottom(); in OnMouseMove()
/external/chromium/chrome/browser/ui/views/
Ddropdown_bar_host_win.cc37 gfx::Rect window_rect = host_->GetWindowScreenBounds(); in SetWidgetPositionNative() local
39 if (!window_rect.IsEmpty()) in SetWidgetPositionNative()
/external/chromium_org/content/renderer/npapi/
Dwebplugin_delegate_proxy.cc535 param.window_rect = plugin_rect_; in SendUpdateGeometry()
573 void WebPluginDelegateProxy::UpdateGeometry(const gfx::Rect& window_rect, in UpdateGeometry() argument
578 if (window_rect.width() < 0 || window_rect.width() > kMaxPluginSideLength || in UpdateGeometry()
579 window_rect.height() < 0 || window_rect.height() > kMaxPluginSideLength || in UpdateGeometry()
581 static_cast<uint32>(window_rect.width()) * in UpdateGeometry()
582 static_cast<uint32>(window_rect.height()) > kMaxPluginSize) { in UpdateGeometry()
586 plugin_rect_ = window_rect; in UpdateGeometry()
593 (window_rect.width() != front_buffer_canvas()->getDevice()->width() || in UpdateGeometry()
594 window_rect.height() != front_buffer_canvas()->getDevice()->height())) in UpdateGeometry()
601 if (!window_rect.IsEmpty()) { in UpdateGeometry()

123