"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "shell/browser/native_window_views.cc" between
electron-11.2.3.tar.gz and electron-11.3.0.tar.gz

About: Electron is a framework for creating native cross platform applications with web technologies like JavaScript, HTML, and CSS.

native_window_views.cc  (electron-11.2.3):native_window_views.cc  (electron-11.3.0)
skipping to change at line 1107 skipping to change at line 1107
if (!view) { if (!view) {
return; return;
} }
if (view->GetInspectableWebContentsView()) if (view->GetInspectableWebContentsView())
content_view()->RemoveChildView( content_view()->RemoveChildView(
view->GetInspectableWebContentsView()->GetView()); view->GetInspectableWebContentsView()->GetView());
remove_browser_view(view); remove_browser_view(view);
} }
void NativeWindowViews::SetTopBrowserView(NativeBrowserView* view) {
if (!content_view())
return;
if (!view) {
return;
}
remove_browser_view(view);
add_browser_view(view);
if (view->GetInspectableWebContentsView())
content_view()->ReorderChildView(
view->GetInspectableWebContentsView()->GetView(), -1);
}
void NativeWindowViews::SetParentWindow(NativeWindow* parent) { void NativeWindowViews::SetParentWindow(NativeWindow* parent) {
NativeWindow::SetParentWindow(parent); NativeWindow::SetParentWindow(parent);
#if defined(USE_X11) #if defined(USE_X11)
ui::SetProperty(static_cast<x11::Window>(GetAcceleratedWidget()), ui::SetProperty(static_cast<x11::Window>(GetAcceleratedWidget()),
x11::Atom::WM_TRANSIENT_FOR, x11::Atom::WINDOW, x11::Atom::WM_TRANSIENT_FOR, x11::Atom::WINDOW,
parent parent
? static_cast<x11::Window>(parent->GetAcceleratedWidget()) ? static_cast<x11::Window>(parent->GetAcceleratedWidget())
: ui::GetX11RootWindow()); : ui::GetX11RootWindow());
#elif defined(OS_WIN) #elif defined(OS_WIN)
 End of changes. 1 change blocks. 
0 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)