Windows Toasts: Icons, Events, Cleanup, Documentation
- Enable documentations - Add a small usage example to the header - Final cleanups
This commit is contained in:
parent
498bff9e5a
commit
86ea0759d8
4 changed files with 107 additions and 304 deletions
|
@ -1,8 +1,19 @@
|
|||
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
// Copyright (c) 2013 Patrick Reynolds <piki@github.com>. All rights reserved.
|
||||
// Copyright (c) 2015 Felix Rieseberg <feriese@microsoft.com> and Jason Poon <jpoon@microsoft.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.
|
||||
|
||||
// Usage Example (JavaScript:
|
||||
// var windowsNotification = new Notification("Test Title", {
|
||||
// body: "Hi, I'm an example body. How are you?",
|
||||
// icon: "file:///C:/Path/To/Your/Image.png"
|
||||
// });
|
||||
|
||||
// windowsNotification.onshow = function () { console.log("Notification shown") };
|
||||
// windowsNotification.onclick = function () { console.log("Notification clicked") };
|
||||
// windowsNotification.onclose = function () { console.log("Notification dismissed") };
|
||||
|
||||
|
||||
#ifndef BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_WIN_H_
|
||||
#define BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_WIN_H_
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue