refactor: rename the atom namespace to electron

This commit is contained in:
Samuel Attard 2019-06-19 14:23:04 -07:00 committed by Samuel Attard
parent 8c4496a9c9
commit 34c4c8d508
531 changed files with 1456 additions and 1428 deletions

View file

@ -64,7 +64,7 @@
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
#endif
namespace atom {
namespace electron {
namespace {
@ -653,7 +653,7 @@ void NativeWindowViews::MoveTop() {
size.width(), size.height(),
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW);
#elif defined(USE_X11)
atom::MoveWindowToForeground(GetAcceleratedWidget());
electron::MoveWindowToForeground(GetAcceleratedWidget());
#endif
}
@ -1352,4 +1352,4 @@ NativeWindow* NativeWindow::Create(const mate::Dictionary& options,
return new NativeWindowViews(options, parent);
}
} // namespace atom
} // namespace electron