mac: Don't show title text in transparent window
This commit is contained in:
parent
45c41fe880
commit
8506725b54
1 changed files with 4 additions and 0 deletions
|
@ -545,6 +545,10 @@ gfx::Point NativeWindowMac::GetPosition() {
|
|||
}
|
||||
|
||||
void NativeWindowMac::SetTitle(const std::string& title) {
|
||||
// We don't want the title to show in transparent window.
|
||||
if (transparent_)
|
||||
return;
|
||||
|
||||
[window_ setTitle:base::SysUTF8ToNSString(title)];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue