views: Implement CanMinimize, fixes #918
This commit is contained in:
parent
c9a5c6515c
commit
23951e6ef3
2 changed files with 5 additions and 0 deletions
|
@ -672,6 +672,10 @@ bool NativeWindowViews::CanMaximize() const {
|
|||
return resizable_;
|
||||
}
|
||||
|
||||
bool NativeWindowViews::CanMinimize() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
base::string16 NativeWindowViews::GetWindowTitle() const {
|
||||
return base::UTF8ToUTF16(title_);
|
||||
}
|
||||
|
|
|
@ -98,6 +98,7 @@ class NativeWindowViews : public NativeWindow,
|
|||
views::View* GetInitiallyFocusedView() override;
|
||||
bool CanResize() const override;
|
||||
bool CanMaximize() const override;
|
||||
bool CanMinimize() const override;
|
||||
base::string16 GetWindowTitle() const override;
|
||||
bool ShouldHandleSystemCommands() const override;
|
||||
gfx::ImageSkia GetWindowAppIcon() override;
|
||||
|
|
Loading…
Reference in a new issue