Home
last modified time | relevance | path

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

/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebview.cpp260 GtkRequisition menuSize; in PopupMenuPositionFunc() local
263 gtk_widget_size_request(GTK_WIDGET(menu), &menuSize); in PopupMenuPositionFunc()
265 gtk_widget_get_preferred_size(GTK_WIDGET(menu), &menuSize, NULL); in PopupMenuPositionFunc()
269 if ((*x + menuSize.width) >= gdk_screen_get_width(screen)) in PopupMenuPositionFunc()
270 *x -= menuSize.width; in PopupMenuPositionFunc()
273 if ((*y + menuSize.height) >= gdk_screen_get_height(screen)) in PopupMenuPositionFunc()
274 *y -= menuSize.height; in PopupMenuPositionFunc()