I am trying to build a chrome application that has a similar widget like the new google hangout on desktops. I have done some reading on frameless borders and downloaded some chrome app samples but none really give a function that allows you to tweak the shape of the frame.
I would really appreciate a solution. Java makes this possible this by allowing you to create a Graphics2D and setting the window frame of the JFrame to that shape. looks something like this.
/*
* Creates new form Widget
*/
public Widget() {
//initComponents();
super("Widget");
initComponents();
setLayout(new GridBagLayout());
addComponentListener(new ComponentAdapter() {
@Override
public void componentResized(ComponentEvent e) {
Ellipse2D frame = new Ellipse2D.Double(0, 0, getWidth(), getWidth());
setShape(frame);
}
});
}
I am hoping to get this similar feature in chrome apps.