Home
last modified time | relevance | path

Searched refs:window_frame (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/ui/message_center/cocoa/
Dtray_controller_unittest.mm49 NSRect window_frame = [[controller_ window] frame];
50 EXPECT_EQ(right_point.x, NSMinX(window_frame));
55 window_frame = [[controller_ window] frame];
56 EXPECT_EQ(left_point.x - NSWidth(window_frame), NSMinX(window_frame));
/external/chromium_org/chrome/browser/ui/cocoa/
Dstatus_bubble_mac.mm311 NSRect window_frame, const gfx::Point& mouse_pos) {
325 // The window_frame position is in global (screen) coordinates.
326 window_frame.origin = [parent_ convertBaseToScreen:base_rect.origin];
329 gfx::Point relative_pos(mouse_pos.x() - NSMaxX(window_frame),
330 mouse_pos.y() - NSMaxY(window_frame));
352 NSMinY([screen visibleFrame]) > NSMinY(window_frame) - offset) {
364 if (offset >= NSHeight(window_frame)) {
365 offset = NSHeight(window_frame);
376 window_frame.origin.y -= offset;
381 window_frame.origin.x += NSWidth(base_rect) - NSWidth(window_frame);
[all …]
Dstatus_bubble_mac.h124 void SetFrameAvoidingMouse(NSRect window_frame, const gfx::Point& mouse_pos);
139 unsigned long OSDependentCornerFlags(NSRect window_frame);
Dstatus_bubble_mac_unittest.mm164 NSRect window_frame = [test_window() frame];
165 int x = relative_x + window_frame.origin.x;
166 int y = relative_y + window_frame.origin.y;
592 NSRect window_frame = [window frame];
593 window_frame.size.width = 600.0;
594 [window setFrame:window_frame display:YES];
622 window_frame = [window frame];
623 window_frame.size.width = 300.0;
624 [window setFrame:window_frame display:YES];
Dbrowser_window_controller_browsertest.mm52 NSValue* window_frame =
54 [[[window stub] andReturnValue:window_frame] frame];
/external/chromium_org/chrome/browser/ui/window_sizer/
Dwindow_sizer_mac.mm27 NSRect window_frame = [window frame];
31 std::min(NSMinX(window_frame) + kWindowTilePixels,
33 std::max(NSMaxY(window_frame) - kWindowTilePixels,
/external/chromium_org/content/plugin/
Dwebplugin_delegate_stub.h95 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame,
97 void OnWindowFrameChanged(const gfx::Rect& window_frame,
Dwebplugin_delegate_stub.cc369 void WebPluginDelegateStub::OnContainerShown(gfx::Rect window_frame, in OnContainerShown() argument
373 delegate_->WindowFrameChanged(window_frame, view_frame); in OnContainerShown()
379 void WebPluginDelegateStub::OnWindowFrameChanged(const gfx::Rect& window_frame, in OnWindowFrameChanged() argument
382 delegate_->WindowFrameChanged(window_frame, view_frame); in OnWindowFrameChanged()
Dplugin_interpose_util_mac.mm117 NSRect window_frame = [self frame];
119 if (NSIntersectsRect(window_frame, [screen frame]))
/external/chromium_org/remoting/webapp/
DBUILD.gn31 "html/window_frame.html",
114 "window_frame.js",
/external/chromium_org/remoting/
Dremoting_webapp_files.gypi96 'webapp/window_frame.js',
272 'webapp/window_frame.css',
313 'webapp/html/window_frame.html',
Dremoting.gyp185 'webapp/window_frame.js',
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_animation.mm85 NSRect window_frame = [window frame];
87 return NSMakePoint(NSMinX(window_frame),
88 NSHeight(screen_frame) - NSMaxY(window_frame));
/external/chromium_org/content/renderer/npapi/
Dwebplugin_delegate_proxy.cc846 gfx::Rect window_frame = render_view_->rootWindowRect(); in SetContainerVisibility() local
849 msg = new PluginMsg_ContainerShown(instance_id_, window_frame, view_frame, in SetContainerVisibility()
860 void WebPluginDelegateProxy::WindowFrameChanged(gfx::Rect window_frame, in WindowFrameChanged() argument
863 window_frame, in WindowFrameChanged()
Dwebplugin_delegate_proxy.h99 virtual void WindowFrameChanged(gfx::Rect window_frame, gfx::Rect view_frame);
/external/chromium_org/chrome/browser/ui/cocoa/panels/
Dpanel_cocoa_unittest.mm257 NSRect window_frame = [[native_window->controller_ window] frame];
258 EXPECT_EQ(NSWidth(window_frame), bounds.width());
259 EXPECT_EQ(NSHeight(window_frame), bounds.height());
/external/chromium_org/ui/events/cocoa/
Devents_mac_unittest.mm52 NSRect window_frame = [test_window() frame];
54 NSHeight([test_window() contentRectForFrameRect:window_frame]);
/external/chromium_org/remoting/resources/
DBUILD.gn109 "../webapp/window_frame.js",
/external/chromium_org/content/child/npapi/
Dwebplugin_delegate_impl.h177 void WindowFrameChanged(const gfx::Rect& window_frame,
Dwebplugin_delegate_impl_mac.mm612 void WebPluginDelegateImpl::WindowFrameChanged(const gfx::Rect& window_frame,
614 instance()->set_window_frame(window_frame);
/external/chromium_org/content/renderer/
Drender_view_impl.h741 void OnWindowFrameChanged(const gfx::Rect& window_frame,
Drender_view_impl.cc3417 void RenderViewImpl::OnWindowFrameChanged(const gfx::Rect& window_frame, in OnWindowFrameChanged() argument
3424 (*plugin_it)->WindowFrameChanged(window_frame, view_frame); in OnWindowFrameChanged()