Searched defs:window_rect (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium_org/content/common/
H A Dwebplugin_geometry.h36 gfx::Rect window_rect; member in struct:content::WebPluginGeometry
38 // window_rect origin.
/external/chromium_org/content/test/plugin/
H A Dplugin_window_size_test.cc25 RECT window_rect = {0}; local
26 window_rect.left = pNPWindow->x;
27 window_rect.top = pNPWindow->y;
28 window_rect.right = pNPWindow->width;
29 window_rect.bottom = pNPWindow->height;
31 if (!::IsRectEmpty(&window_rect)) {
/external/chromium_org/chrome/browser/ui/views/panels/
H A Dpanel_view_browsertest.cc52 RECT window_rect; local
53 EXPECT_TRUE(::GetWindowRect(native_window, &window_rect));
54 EXPECT_EQ(200, window_rect.right - window_rect.left);
55 EXPECT_EQ(150, window_rect.bottom - window_rect.top);
80 RECT window_rect; local
81 EXPECT_TRUE(::GetWindowRect(native_window, &window_rect));
82 EXPECT_EQ(200, window_rect.right - window_rect
[all...]
/external/chromium_org/content/browser/
H A Dplugin_process_host_mac.cc23 gfx::Rect window_rect,
29 { window_rect.x(), window_rect.y() },
30 { window_rect.width(), window_rect.height() }
61 gfx::Rect window_rect) {
22 OnPluginShowWindow(uint32 window_id, gfx::Rect window_rect, bool modal) argument
60 OnPluginHideWindow(uint32 window_id, gfx::Rect window_rect) argument
/external/chromium_org/ui/views/win/
H A Dfullscreen_handler.h42 RECT window_rect; member in struct:views::FullscreenHandler::SavedWindowInfo
/external/chromium_org/content/child/npapi/
H A Dwebplugin_delegate_impl_android.cc53 const gfx::Rect& window_rect,
62 const gfx::Rect& window_rect,
52 WindowedReposition( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
61 WindowlessUpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
H A Dwebplugin_delegate_impl_aura.cc40 const gfx::Rect& window_rect,
49 const gfx::Rect& window_rect,
39 WindowedReposition( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
48 WindowlessUpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
H A Dwebplugin_delegate_impl.cc128 const gfx::Rect& window_rect,
142 WindowlessUpdateGeometry(window_rect, clip_rect);
144 WindowedUpdateGeometry(window_rect, clip_rect);
251 const gfx::Rect& window_rect,
253 if (WindowedReposition(window_rect, clip_rect) ||
127 UpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
250 WindowedUpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
H A Dwebplugin_delegate_impl_win.cc765 gfx::Rect window_rect = gfx::win::DIPToScreenRect(window_rect_in_dip); local
767 if (window_rect_ == window_rect && clip_rect_ == clip_rect)
776 if (window_rect.size() != window_rect_.size()) {
784 window_rect.width(),
785 window_rect.height(),
789 window_rect_ = window_rect;
944 RECT window_rect; local
945 GetWindowRect(hwnd, &window_rect);
946 invalid_rect.Offset(-window_rect.left, -window_rect
1009 WindowlessUpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
[all...]
/external/chromium_org/remoting/host/
H A Dsingle_window_input_injector_mac.cc71 CGRect window_rect = FindCGRectOfWindow(); local
72 if (CGRectIsNull(window_rect)) {
83 webrtc::DesktopVector window_pos(window_rect.origin.x,
84 window_rect.origin.y);
H A Ddisconnect_window_win.cc289 RECT window_rect; local
291 GetWindowRect(hwnd_, &window_rect)) {
292 int window_width = window_rect.right - window_rect.left;
293 int window_height = window_rect.bottom - window_rect.top;
372 RECT window_rect; local
373 if (!GetWindowRect(hwnd_, &window_rect))
376 int height = window_rect.bottom - window_rect
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
H A Dstw_framebuffer.c119 RECT window_rect; local
163 GetWindowRect(fb->hWnd, &window_rect)) {
164 fb->client_rect.left = client_pos.x - window_rect.left;
165 fb->client_rect.top = client_pos.y - window_rect.top;
176 debug_printf("%s: window_rect = (%li, %li) - (%li, %li)\n",
178 window_rect.left, window_rect.top,
179 window_rect.right, window_rect.bottom);
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_framebuffer.c119 RECT window_rect; local
163 GetWindowRect(fb->hWnd, &window_rect)) {
164 fb->client_rect.left = client_pos.x - window_rect.left;
165 fb->client_rect.top = client_pos.y - window_rect.top;
176 debug_printf("%s: window_rect = (%li, %li) - (%li, %li)\n",
178 window_rect.left, window_rect.top,
179 window_rect.right, window_rect.bottom);
/external/chromium_org/cc/output/
H A Ddirect_renderer.cc103 gfx::Rect window_rect = viewport_rect; local
105 window_rect.set_y(surface_size.height() - viewport_rect.bottom());
106 frame->window_matrix = window_matrix(window_rect.x(),
107 window_rect.y(),
108 window_rect.width(),
109 window_rect.height());
110 SetDrawViewport(window_rect);
119 gfx::Rect window_rect = draw_rect; local
120 window_rect -= current_draw_rect_.OffsetFromOrigin();
121 window_rect
[all...]
H A Dgl_renderer.cc882 gfx::Rect window_rect = gfx::ToEnclosingRect(MathUtil::MapClippedRect( local
887 window_rect.Inset(-left, -top, -right, -bottom);
889 window_rect.Intersect(
896 window_rect.size(), ResourceProvider::TextureHintDefault, RGBA_8888);
901 lock.texture_id(), device_background_texture->format(), window_rect);
963 window_rect,
2397 gfx::Rect window_rect = MoveFromDrawToWindowSpace(rect);
2398 DCHECK_GE(window_rect.x(), 0);
2399 DCHECK_GE(window_rect.y(), 0);
2400 DCHECK_LE(window_rect
2615 GetFramebufferTexture(unsigned texture_id, ResourceFormat texture_format, const gfx::Rect& window_rect) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Dfind_bar_host.cc239 gfx::Rect window_rect = host()->GetWindowBoundsInScreen(); local
241 *position = window_rect.origin();
/external/chromium_org/content/renderer/pepper/
H A Dpepper_webplugin_impl.cc162 const WebRect& window_rect,
166 plugin_rect_ = window_rect;
161 updateGeometry( const WebRect& window_rect, const WebRect& clip_rect, const WebVector<WebRect>& cut_outs_rects, bool is_visible) argument
/external/chromium_org/ash/magnifier/
H A Dmagnification_controller.cc325 const gfx::Rect window_rect = gfx::ToEnclosingRect(GetWindowRectDIP(scale_)); local
326 const int left = window_rect.x();
327 const int right = window_rect.right();
343 const int top = window_rect.y();
344 const int bottom = window_rect.bottom();
/external/chromium_org/content/browser/media/capture/
H A Ddesktop_capture_device_aura.cc281 gfx::Rect window_rect = gfx::Rect(desktop_window_->bounds().width(), local
283 request->set_area(window_rect);
/external/chromium_org/content/plugin/
H A Dwebplugin_proxy.cc382 const gfx::Rect& window_rect,
397 window_rect);
405 window_rect, clip_rect, windowless_context());
407 delegate_->UpdateGeometry(window_rect, clip_rect);
422 const gfx::Rect& window_rect,
425 skia::CreatePlatformCanvas(window_rect.width(),
426 window_rect.height(),
437 const gfx::Rect& window_rect) {
439 window_rect,
446 window_rect,
381 UpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect, const TransportDIB::Handle& windowless_buffer0, const TransportDIB::Handle& windowless_buffer1, int windowless_buffer_index) argument
420 CreateCanvasFromHandle( const TransportDIB::Handle& dib_handle, const gfx::Rect& window_rect, skia::RefPtr<skia::PlatformCanvas>* canvas) argument
434 SetWindowlessBuffers( const TransportDIB::Handle& windowless_buffer0, const TransportDIB::Handle& windowless_buffer1, const gfx::Rect& window_rect) argument
456 CreateDIBAndCGContextFromHandle( const TransportDIB::Handle& dib_handle, const gfx::Rect& window_rect, scoped_ptr<TransportDIB>* dib_out, base::ScopedCFTypeRef<CGContextRef>* cg_context_out) argument
481 SetWindowlessBuffers( const TransportDIB::Handle& windowless_buffer0, const TransportDIB::Handle& windowless_buffer1, const gfx::Rect& window_rect) argument
497 SetWindowlessBuffers( const TransportDIB::Handle& windowless_buffer0, const TransportDIB::Handle& windowless_buffer1, const gfx::Rect& window_rect) argument
[all...]
/external/chromium_org/content/renderer/browser_plugin/
H A Dbrowser_plugin.cc436 const WebRect& window_rect,
442 plugin_rect_ = window_rect;
446 if (old_width == window_rect.width && old_height == window_rect.height) {
435 updateGeometry( const WebRect& window_rect, const WebRect& clip_rect, const WebVector<WebRect>& cut_outs_rects, bool is_visible) argument
/external/chromium_org/content/renderer/npapi/
H A Dwebplugin_delegate_proxy.cc532 param.window_rect = plugin_rect_;
570 void WebPluginDelegateProxy::UpdateGeometry(const gfx::Rect& window_rect, argument
572 // window_rect becomes either a window in native windowing system
575 if (window_rect.width() < 0 || window_rect.width() > kMaxPluginSideLength ||
576 window_rect.height() < 0 || window_rect.height() > kMaxPluginSideLength ||
578 static_cast<uint32>(window_rect.width()) *
579 static_cast<uint32>(window_rect.height()) > kMaxPluginSize) {
583 plugin_rect_ = window_rect;
[all...]
H A Dwebplugin_impl.cc316 const WebRect& window_rect, const WebRect& clip_rect,
320 new_geometry.window_rect = window_rect;
335 InvalidateRect(window_rect);
341 new_geometry.window_rect != geometry_.window_rect ||
344 delegate_->UpdateGeometry(new_geometry.window_rect, new_geometry.clip_rect);
393 move.window_rect = gfx::Rect();
315 updateGeometry( const WebRect& window_rect, const WebRect& clip_rect, const WebVector<WebRect>& cutout_rects, bool is_visible) argument
/external/chromium_org/ui/base/x/
H A Dx11_util.cc658 gfx::Rect window_rect; local
659 if (!GetWindowRect(window, &window_rect))
662 if (!window_rect.Contains(screen_loc))
700 // have to translate by the window_rect's offset to map to screen space.
702 gfx::Rect(shape_rects[i].x + window_rect.x(),
703 shape_rects[i].y + window_rect.y(),
1296 gfx::Rect window_rect; local
1297 if (!ui::GetWindowRect(window, &window_rect))
1309 return window_rect.size() == gfx::Size(width, height);
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_view.cc1644 gfx::Rect window_rect = frame_->non_client_view()-> local
1646 window_rect.set_origin(bounds->origin());
1650 if (window_rect.x() == 0 && window_rect.y() == 0) {
1651 gfx::Size size = window_rect.size();
1652 window_rect.set_origin(
1657 *bounds = window_rect;

Completed in 1303 milliseconds

12