Use bundle's name as application name when we have one.

This commit is contained in:
Cheng Zhao 2013-12-05 10:42:04 +08:00
parent a614134144
commit fc4ed9be12
4 changed files with 29 additions and 2 deletions

View file

@ -80,6 +80,9 @@ class Browser : public WindowListObserver {
// Returns the version of application bundle or executable file.
std::string GetExecutableFileVersion() const;
// Returns the name of application bundle or executable file.
std::string GetExecutableFileProductName() const;
// Send the will-quit message and then terminate the application.
void NotifyAndTerminate();