[WRTjs] Refactor popup
[platform/framework/web/chromium-efl.git] / wrt / src / browser / wrt_notification_presenter.cc
1 // Copyright 2019 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "wrt/src/browser/wrt_notification_presenter.h"
6
7 #include "wrt/src/browser/wrt_notification.h"
8
9 namespace electron {
10
11 // static
12 NotificationPresenter* NotificationPresenter::Create() {
13   return new wrt::WRTNotificationPresenter;
14 }
15
16 }  //namespace electron
17
18 namespace wrt {
19
20 WRTNotificationPresenter::WRTNotificationPresenter() {}
21
22 WRTNotificationPresenter::~WRTNotificationPresenter() {}
23
24 electron::Notification* WRTNotificationPresenter::CreateNotificationObject(
25     electron::NotificationDelegate* delegate) {
26   return new WRTNotification(delegate, this);
27 }
28
29 }  // namespace wrt