gtk: Add BrowserWindow.setSkipTaskbar API.

This commit is contained in:
Cheng Zhao 2014-06-16 10:29:51 +08:00
parent a8cb839734
commit 70d3365414
12 changed files with 29 additions and 0 deletions

View file

@ -176,6 +176,10 @@ void NativeWindow::InitFromOptions(base::DictionaryValue* options) {
if (options->GetBoolean(switches::kFullscreen, &fullscreen) && fullscreen) {
SetFullscreen(true);
}
bool skip;
if (options->GetBoolean(switches::kSkipTaskbar, &skip) && skip) {
SetSkipTaskbar(skip);
}
bool kiosk;
if (options->GetBoolean(switches::kKiosk, &kiosk) && kiosk) {
SetKiosk(kiosk);