mac: Implement app.setBadgeCount
This commit is contained in:
parent
36a0a491c9
commit
cb00d3cfb3
7 changed files with 37 additions and 60 deletions
|
@ -269,6 +269,10 @@ bool Browser::IsDefaultProtocolClient(const std::string& protocol) {
|
|||
}
|
||||
}
|
||||
|
||||
void Browser::SetBadgeCount(int count) {
|
||||
current_badge_count_ = count;
|
||||
}
|
||||
|
||||
PCWSTR Browser::GetAppUserModelID() {
|
||||
if (app_user_model_id_.empty()) {
|
||||
SetAppUserModelID(base::ReplaceStringPlaceholders(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue