win: Implement frameless window.

This commit is contained in:
Cheng Zhao 2014-07-16 15:33:40 +08:00
parent db6c37bfbc
commit 6de595f036
8 changed files with 192 additions and 80 deletions

View file

@ -91,8 +91,7 @@ LinuxFrameView::~LinuxFrameView() {
}
void LinuxFrameView::Init(NativeWindowViews* window, views::Widget* frame) {
window_ = window;
frame_ = frame;
FramelessView::Init(window, frame);
close_button_ = new views::ImageButton(this);
close_button_->SetAccessibleName(