"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "shell/browser/native_window_views.cc" between
electron-11.4.1.tar.gz and electron-11.4.2.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.4.1):native_window_views.cc  (electron-11.4.2)
skipping to change at line 426 skipping to change at line 426
static_cast<NativeWindowViews*>(parent())->DecrementChildModals(); static_cast<NativeWindowViews*>(parent())->DecrementChildModals();
widget()->Hide(); widget()->Hide();
NotifyWindowHide(); NotifyWindowHide();
#if defined(USE_X11) #if defined(USE_X11)
if (global_menu_bar_) if (global_menu_bar_)
global_menu_bar_->OnWindowUnmapped(); global_menu_bar_->OnWindowUnmapped();
#endif #endif
#if defined(OS_WIN)
// When the window is removed from the taskbar via win.hide(),
// the thumbnail buttons need to be set up again.
// Ensure that when the window is hidden,
// the taskbar host is notified that it should re-add them.
} }
bool NativeWindowViews::IsVisible() { bool NativeWindowViews::IsVisible() {
return widget()->IsVisible(); return widget()->IsVisible();
} }
bool NativeWindowViews::IsEnabled() { bool NativeWindowViews::IsEnabled() {
#if defined(OS_WIN) #if defined(OS_WIN)
return ::IsWindowEnabled(GetAcceleratedWidget()); return ::IsWindowEnabled(GetAcceleratedWidget());
#elif defined(USE_X11) #elif defined(USE_X11)
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

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