mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-13 02:23:56 +01:00
c83b3cda24
This is intended for usage with frameless windows that show the standard window buttons, where resizing the title bar height changes the button offset. Returning a different value from CefWindowDelegate::GetTitlebarHeight and forcing a resize of the NSWindow's theme frame (see ViewsWindow::NudgeWindow) will update the title bar height. To test: 1. Run `cefclient --use-views --hide-frame --show-window-buttons --url=http://tests/window` 2. Enter a new value for title bar height and click the "Set Titlebar Height" button |
||
---|---|---|
.. | ||
cefclient | ||
cefsimple | ||
ceftests | ||
gtest | ||
shared |