s/label/text
This commit is contained in:
parent
96f9dba595
commit
17e737eba2
4 changed files with 8 additions and 8 deletions
|
@ -57,7 +57,7 @@ void CocoaNotification::Show(const base::string16& title,
|
|||
|
||||
if (action.type == base::UTF8ToUTF16("button")) {
|
||||
[notification_ setHasActionButton:true];
|
||||
[notification_ setActionButtonTitle:base::SysUTF16ToNSString(action.label)];
|
||||
[notification_ setActionButtonTitle:base::SysUTF16ToNSString(action.text)];
|
||||
actionIndex_ = i;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ class NotificationPresenter;
|
|||
|
||||
struct NotificationAction {
|
||||
base::string16 type;
|
||||
base::string16 label;
|
||||
base::string16 text;
|
||||
};
|
||||
|
||||
class Notification {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue