mac: Implement app.setBadgeCount
This commit is contained in:
parent
36a0a491c9
commit
cb00d3cfb3
7 changed files with 37 additions and 60 deletions
|
@ -118,6 +118,10 @@ void Browser::SetName(const std::string& name) {
|
|||
name_override_ = name;
|
||||
}
|
||||
|
||||
int Browser::GetBadgeCount() {
|
||||
return current_badge_count_;
|
||||
}
|
||||
|
||||
bool Browser::OpenFile(const std::string& file_path) {
|
||||
bool prevent_default = false;
|
||||
FOR_EACH_OBSERVER(BrowserObserver,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue