adds test, adds view to AtomNSWindow and minor fixes

This commit is contained in:
gellert 2016-11-10 20:36:21 +01:00 committed by Kevin Sawicki
parent 2cf30c0d63
commit 5e62d28e50
6 changed files with 30 additions and 25 deletions

View file

@ -201,13 +201,6 @@ void NativeWindow::InitFromOptions(const mate::Dictionary& options) {
options.Get(options::kShow, &show);
if (show)
Show();
#if defined(OS_MACOSX)
std::string type;
if (options.Get(options::kVibrancyType, &type)) {
SetVibrancy(type);
}
#endif
}
void NativeWindow::SetSize(const gfx::Size& size, bool animate) {