Closed GoogleCodeExporter closed 9 years ago
CEF's CefPopupFeatures structure is an accurate reflection of the WebKit
WindowFeatures structure. See the WindowFeatures constructor in
src/third_party/WebKit/Source/WebCore/page/WindowFeatures.cpp for a description
of the parsing rules.
Original comment by magreenb...@gmail.com
on 8 Mar 2011 at 5:12
Looking at WindowFeatures.cpp, putting "menubar=yes" or "menubar=1" should
result in the menuBarVisible member being set to true. Similarly, "toolbar"
maps to the toolBarVisible member, "location" to locationBarVisible, "status"
to statusBarVisible, "fullscreen" to fullscreen and "scrollbars" to
scrollbarsVisible.
However, this is not happening.
If, as you say, the CEf structure accurately reflects the WbKit one, this would
seem to be a bug in WebKit.
Original comment by powerbf...@gmail.com
on 9 Mar 2011 at 7:08
[deleted comment]
Using this string:
toolbar=yes, location=1, status=yes, menubar=0, scrollbars=yes, resizable=0,
width=400, height=400
I see this CefPopupFeatures structure:
- (*(_cef_popup_features_t*)(&popupFeatures))
x 0 int
xSet false bool
y 0 int
ySet false bool
width 400 int
widthSet true bool
height 400 int
heightSet true bool
menuBarVisible false bool
statusBarVisible true bool
toolBarVisible true bool
locationBarVisible true bool
scrollbarsVisible true bool
resizable true bool
fullscreen false bool
dialog false bool
Which is exactly what I expect. All values are represented correctly except for
"resizable", which will always be true based on the comments in WindowFeatures.
This is at CEF revision 202.
Original comment by magreenb...@gmail.com
on 9 Mar 2011 at 2:43
Re-tested with CEF revision 212.
All flags now working, except:
- resizable, which is always true (as per comment in WindowFeatures)
- dialog, which is always false (and doesn't appear to be standard)
Original comment by powerbf...@gmail.com
on 28 Mar 2011 at 7:23
Original issue reported on code.google.com by
powerbf...@gmail.com
on 2 Mar 2011 at 7:21Attachments: