Chrome platform app.
A sample application to showcase how you can use frame:'none' windows to allow total customization of the window's real estate. Initially, the window is open with no titlebar. When you check one of the titlebars, it is added to the appropriate position. Notice that the added titlebars are the only parts of the window that allow dragging. This is achieved through a special CSS property applied to what is draggable or non-draggable (by default, the whole window is not draggable): -webkit-app-region: drag|no-drag;
Caveat: -webkit-app-region: drag; will disable some customizations such as custom mouse pointers.
See the source code at https://github.com/GoogleChrome/chrome-app-samples/tree/master/frameless-window
This version was built from git commit d0e4bdf https://github.com/GoogleChrome/chrome-app-samples/tree/d0e4bdf/frameless-window