Find file History
Pull request Compare This branch is 1104 commits behind GoogleChrome:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
background.js
bottom-titlebar.png
button_close.png
button_close_hover.png
frameless_window.html
frameless_window.js
icon_128.png
left-titlebar.png
manifest.json
right-titlebar.png
style.css
titlebar.js
top-titlebar.png

README.md

Frameless window

A sample application to showcase how you can use frame:'none' windows to allow total customization of the window's real state. At beginning, the window is open with no titlebar. As long as 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 allows 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;

APIs