fix styling and add spec
This commit is contained in:
parent
2abc69780e
commit
bf491de9fe
3 changed files with 8 additions and 3 deletions
|
@ -1083,10 +1083,10 @@ void BrowserWindow::ToggleTabBar() {
|
|||
}
|
||||
|
||||
void BrowserWindow::AddTabbedWindow(NativeWindow* window,
|
||||
mate::Arguments* args) {
|
||||
mate::Arguments* args) {
|
||||
const bool windowAdded = window_->AddTabbedWindow(window);
|
||||
if (!windowAdded)
|
||||
args->ThrowError("AddTabbedWindow cannot be called by a window on itself");
|
||||
args->ThrowError("AddTabbedWindow cannot be called by a window on itself.");
|
||||
}
|
||||
|
||||
void BrowserWindow::SetVibrancy(mate::Arguments* args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue