🔧 Enable mode indication for setProgressBar
This commit enables setting a mode for the setProgressBar method. Old behavior is kept intact, usage is entirely optional.
This commit is contained in:
parent
5eeadb0ad4
commit
73c91dae9e
11 changed files with 72 additions and 20 deletions
|
@ -973,7 +973,7 @@ gfx::AcceleratedWidget NativeWindowMac::GetAcceleratedWidget() {
|
|||
return inspectable_web_contents()->GetView()->GetNativeView();
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetProgressBar(double progress) {
|
||||
void NativeWindowMac::SetProgressBar(double progress, const std::string& mode) {
|
||||
NSDockTile* dock_tile = [NSApp dockTile];
|
||||
|
||||
// For the first time API invoked, we need to create a ContentView in DockTile.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue