Merge pull request #4202 from evgenyzinoviev/shadow-pr
Added hasShadow option to BrowserWindow on OS X
This commit is contained in:
commit
31624995bc
9 changed files with 54 additions and 0 deletions
|
@ -563,6 +563,13 @@ void NativeWindow::OnCapturePageDone(const CapturePageCallback& callback,
|
|||
callback.Run(bitmap);
|
||||
}
|
||||
|
||||
void NativeWindow::SetHasShadow(bool has_shadow) {
|
||||
}
|
||||
|
||||
bool NativeWindow::HasShadow() {
|
||||
return true;
|
||||
}
|
||||
|
||||
SkColor NativeWindow::ParseHexColor(const std::string& name) {
|
||||
SkColor result = 0xFF000000;
|
||||
unsigned value = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue