refactor: rename the atom directory to shell
This commit is contained in:
parent
4575a4aae3
commit
d7f07e8a80
631 changed files with 0 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
// Copyright (c) 2013 Patrick Reynolds <piki@github.com>. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#include "atom/browser/notifications/linux/notification_presenter_linux.h"
|
||||
|
||||
#include "atom/browser/notifications/linux/libnotify_notification.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
// static
|
||||
NotificationPresenter* NotificationPresenter::Create() {
|
||||
if (!LibnotifyNotification::Initialize())
|
||||
return nullptr;
|
||||
return new NotificationPresenterLinux;
|
||||
}
|
||||
|
||||
NotificationPresenterLinux::NotificationPresenterLinux() {}
|
||||
|
||||
NotificationPresenterLinux::~NotificationPresenterLinux() {}
|
||||
|
||||
Notification* NotificationPresenterLinux::CreateNotificationObject(
|
||||
NotificationDelegate* delegate) {
|
||||
return new LibnotifyNotification(delegate, this);
|
||||
}
|
||||
|
||||
} // namespace atom
|
Loading…
Add table
Add a link
Reference in a new issue