Decouple notification code from content module
This commit is contained in:
parent
6f81d1e29f
commit
5b7c7be804
15 changed files with 316 additions and 139 deletions
20
brightray/browser/notification_delegate.h
Normal file
20
brightray/browser/notification_delegate.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Copyright (c) 2015 GitHub, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef BROWSER_NOTIFICATION_DELEGATE_H_
|
||||
#define BROWSER_NOTIFICATION_DELEGATE_H_
|
||||
|
||||
#include "content/public/browser/desktop_notification_delegate.h"
|
||||
|
||||
namespace brightray {
|
||||
|
||||
class NotificationDelegate : public content::DesktopNotificationDelegate {
|
||||
public:
|
||||
// The native Notification object is destroyed.
|
||||
virtual void NotificationDestroyed() {}
|
||||
};
|
||||
|
||||
} // namespace brightray
|
||||
|
||||
#endif // BROWSER_NOTIFICATION_DELEGATE_H_
|
Loading…
Add table
Add a link
Reference in a new issue