Do not use icon url when showing notification
This commit is contained in:
parent
53e8c8841b
commit
513b6ae0d6
4 changed files with 54 additions and 11 deletions
|
@ -42,7 +42,7 @@ class WindowsToastNotification {
|
|||
|
||||
void ShowNotification(const std::wstring& title,
|
||||
const std::wstring& msg,
|
||||
std::string icon_path);
|
||||
const std::wstring& icon_path);
|
||||
void DismissNotification();
|
||||
|
||||
base::WeakPtr<WindowsToastNotification> GetWeakPtr() {
|
||||
|
@ -59,7 +59,7 @@ class WindowsToastNotification {
|
|||
bool GetToastXml(ABI::Windows::UI::Notifications::IToastNotificationManagerStatics* toastManager,
|
||||
const std::wstring& title,
|
||||
const std::wstring& msg,
|
||||
std::string icon_path,
|
||||
const std::wstring& icon_path,
|
||||
ABI::Windows::Data::Xml::Dom::IXmlDocument** toastXml);
|
||||
bool SetXmlText(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||
const std::wstring& text);
|
||||
|
@ -67,7 +67,7 @@ class WindowsToastNotification {
|
|||
const std::wstring& title,
|
||||
const std::wstring& body);
|
||||
bool SetXmlImage(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||
std::string icon_path);
|
||||
const std::wstring& icon_path);
|
||||
bool GetTextNodeList(ScopedHString* tag,
|
||||
ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||
ABI::Windows::Data::Xml::Dom::IXmlNodeList** nodeList,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue