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

@ -19,7 +19,7 @@
#include "shell/common/platform_util.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace atom {
namespace electron {
namespace {
@ -173,4 +173,4 @@ void LibnotifyNotification::OnNotificationView(NotifyNotification* notification,
NotificationClicked();
}
} // namespace atom
} // namespace electron

View file

@ -12,7 +12,7 @@
#include "shell/browser/notifications/notification.h"
#include "ui/base/glib/glib_signal.h"
namespace atom {
namespace electron {
class LibnotifyNotification : public Notification {
public:
@ -42,6 +42,6 @@ class LibnotifyNotification : public Notification {
DISALLOW_COPY_AND_ASSIGN(LibnotifyNotification);
};
} // namespace atom
} // namespace electron
#endif // SHELL_BROWSER_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_

View file

@ -7,7 +7,7 @@
#include "shell/browser/notifications/linux/libnotify_notification.h"
namespace atom {
namespace electron {
// static
NotificationPresenter* NotificationPresenter::Create() {
@ -25,4 +25,4 @@ Notification* NotificationPresenterLinux::CreateNotificationObject(
return new LibnotifyNotification(delegate, this);
}
} // namespace atom
} // namespace electron

View file

@ -8,7 +8,7 @@
#include "shell/browser/notifications/notification_presenter.h"
namespace atom {
namespace electron {
class NotificationPresenterLinux : public NotificationPresenter {
public:
@ -22,6 +22,6 @@ class NotificationPresenterLinux : public NotificationPresenter {
DISALLOW_COPY_AND_ASSIGN(NotificationPresenterLinux);
};
} // namespace atom
} // namespace electron
#endif // SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_