mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix linter errors
This commit is contained in:
@@ -149,14 +149,14 @@ class Browser : public WindowListObserver {
|
||||
// one from app's name.
|
||||
// The returned string managed by Browser, and should not be modified.
|
||||
PCWSTR GetAppUserModelID();
|
||||
#endif // defined(OS_WIN)
|
||||
#endif // defined(OS_WIN)
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
// Set/Get unity dock's badge counter.
|
||||
bool UnityLauncherAvailable();
|
||||
void UnityLauncherSetBadgeCount(int count);
|
||||
int UnityLauncherGetBadgeCount();
|
||||
#endif // defined(OS_LINUX)
|
||||
#endif // defined(OS_LINUX)
|
||||
|
||||
// Tell the application to open a file.
|
||||
bool OpenFile(const std::string& file_path);
|
||||
|
||||
@@ -49,7 +49,7 @@ if (process.platform === 'linux' && bindings.unityLauncherAvailable()) {
|
||||
app.unityLauncher = {
|
||||
setBadgeCount: bindings.unityLauncherSetBadgeCount,
|
||||
getBadgeCount: bindings.unityLauncherGetBadgeCount
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
app.allowNTLMCredentialsForAllDomains = function (allow) {
|
||||
|
||||
Reference in New Issue
Block a user