Sanitized notification delegate implementation
I made `brightray::NotificationDelegate` back into just an interface and extracted the implementation used by `PlatformNotificationService`, so that the main process notification implementation can inherit only the interface.
This commit is contained in:
parent
8750fde6d3
commit
f3c32647af
5 changed files with 56 additions and 70 deletions
|
@ -51,8 +51,7 @@ namespace api {
|
|||
|
||||
Notification::Notification(v8::Isolate* isolate,
|
||||
v8::Local<v8::Object> wrapper,
|
||||
mate::Arguments* args)
|
||||
: NotificationDelegate(std::string()) { // FIXME(alexeykuzmin)
|
||||
mate::Arguments* args) {
|
||||
InitWith(isolate, wrapper);
|
||||
|
||||
presenter_ = brightray::BrowserClient::Get()->GetNotificationPresenter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue