gtk: Add BrowserWindow.setSkipTaskbar API.
This commit is contained in:
parent
a8cb839734
commit
70d3365414
12 changed files with 29 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue