chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649)
This commit is contained in:
parent
fb8b1fd1c9
commit
b6246dcf12
154 changed files with 1490 additions and 1197 deletions
23
shell/browser/linux/unity_service.h
Normal file
23
shell/browser/linux/unity_service.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
// Copyright 2013 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_LINUX_UNITY_SERVICE_H_
|
||||
#define SHELL_BROWSER_LINUX_UNITY_SERVICE_H_
|
||||
|
||||
namespace unity {
|
||||
|
||||
// Returns whether unity is currently running.
|
||||
bool IsRunning();
|
||||
|
||||
// If unity is running, sets the download counter in the dock icon. Any value
|
||||
// other than 0 displays the badge.
|
||||
void SetDownloadCount(int count);
|
||||
|
||||
// If unity is running, sets the download progress bar in the dock icon. Any
|
||||
// value between 0.0 and 1.0 (exclusive) shows the progress bar.
|
||||
void SetProgressFraction(float percentage);
|
||||
|
||||
} // namespace unity
|
||||
|
||||
#endif // SHELL_BROWSER_LINUX_UNITY_SERVICE_H_
|
Loading…
Add table
Add a link
Reference in a new issue