parent
86d23cee40
commit
22d8f22cfb
100 changed files with 417 additions and 417 deletions
|
@ -19,26 +19,26 @@ class NotificationDelegate;
|
|||
class NotificationPresenter;
|
||||
|
||||
struct NotificationAction {
|
||||
base::string16 type;
|
||||
base::string16 text;
|
||||
std::u16string type;
|
||||
std::u16string text;
|
||||
};
|
||||
|
||||
struct NotificationOptions {
|
||||
base::string16 title;
|
||||
base::string16 subtitle;
|
||||
base::string16 msg;
|
||||
std::u16string title;
|
||||
std::u16string subtitle;
|
||||
std::u16string msg;
|
||||
std::string tag;
|
||||
bool silent;
|
||||
GURL icon_url;
|
||||
SkBitmap icon;
|
||||
bool has_reply;
|
||||
base::string16 timeout_type;
|
||||
base::string16 reply_placeholder;
|
||||
base::string16 sound;
|
||||
base::string16 urgency; // Linux
|
||||
std::u16string timeout_type;
|
||||
std::u16string reply_placeholder;
|
||||
std::u16string sound;
|
||||
std::u16string urgency; // Linux
|
||||
std::vector<NotificationAction> actions;
|
||||
base::string16 close_button_text;
|
||||
base::string16 toast_xml;
|
||||
std::u16string close_button_text;
|
||||
std::u16string toast_xml;
|
||||
|
||||
NotificationOptions();
|
||||
~NotificationOptions();
|
||||
|
|
|
@ -72,7 +72,7 @@ bool NotificationPresenterWin::Init() {
|
|||
return temp_dir_.CreateUniqueTempDir();
|
||||
}
|
||||
|
||||
base::string16 NotificationPresenterWin::SaveIconToFilesystem(
|
||||
std::u16string NotificationPresenterWin::SaveIconToFilesystem(
|
||||
const SkBitmap& icon,
|
||||
const GURL& origin) {
|
||||
std::string filename;
|
||||
|
|
|
@ -39,7 +39,7 @@ class NotificationPresenterWin : public NotificationPresenter {
|
|||
|
||||
bool Init();
|
||||
|
||||
base::string16 SaveIconToFilesystem(const SkBitmap& icon, const GURL& origin);
|
||||
std::u16string SaveIconToFilesystem(const SkBitmap& icon, const GURL& origin);
|
||||
|
||||
private:
|
||||
Notification* CreateNotificationObject(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue